Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install: python setup.py develop did not run successfully. #1

Open
ricmua opened this issue Feb 27, 2023 · 0 comments
Open

Install: python setup.py develop did not run successfully. #1

ricmua opened this issue Feb 27, 2023 · 0 comments

Comments

@ricmua
Copy link
Owner

ricmua commented Feb 27, 2023

Failed to install using pip.

Command: pip3 install --user --editable .

  Installing build dependencies ... done
  Checking if build backend supports build_editable ... done
  Getting requirements to build wheel ... done
  Installing backend dependencies ... done
  Preparing metadata (pyproject.toml) ... done
Requirement already satisfied: requests in /usr/lib/python3/dist-packages (from nml-bag==1.0.0) (2.25.1)
Installing collected packages: nml-bag
  Running setup.py develop for nml-bag
    error: subprocess-exited-with-error
    
    × python setup.py develop did not run successfully.
    │ exit code: 1
    ╰─> [32 lines of output]
        ...
        EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools.
        ...
        error: can't create or remove files in install directory
        ...
        The installation directory you specified (via --install-dir, --prefix, or
        the distutils default setting) was:
        
            /usr/local/lib/python3.10/dist-packages/
        
        Perhaps your account does not have write access to this directory?  If the
        installation directory is a system-owned directory, you may need to sign in
        as the administrator or "root" account.  If you do not have administrative
        access to this machine, you may wish to choose a different installation
        directory, preferably one that is listed in your PYTHONPATH environment
        variable.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant