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

Unable to do pip install -e . for installing joey in ubuntu #6

Open
utkarsh8028 opened this issue Jul 15, 2022 · 0 comments
Open

Unable to do pip install -e . for installing joey in ubuntu #6

utkarsh8028 opened this issue Jul 15, 2022 · 0 comments

Comments

@utkarsh8028
Copy link
Member

Installing collected packages: joey
Attempting uninstall: joey
Found existing installation: joey pre1
Uninstalling joey-pre1:
Successfully uninstalled joey-pre1
Running setup.py develop for joey
error: subprocess-exited-with-error

× python setup.py develop did not run successfully.
│ exit code: 1
╰─> [22 lines of output]
    running develop
    /usr/local/lib/python3.8/dist-packages/setuptools/command/easy_install.py:160: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools.
      warnings.warn(
    WARNING: The user site-packages directory is disabled.
    /usr/local/lib/python3.8/dist-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
      warnings.warn(
    error: can't create or remove files in install directory
    
    The following error occurred while trying to add or remove files in the
    installation directory:
    
        [Errno 13] Permission denied: '/usr/lib/python3.8/site-packages'
    
    The installation directory you specified (via --install-dir, --prefix, or
    the distutils default setting) was:
    
        /usr/lib/python3.8/site-packages/
    
    This directory does not currently exist.  Please create it and try again, or
    choose a different installation directory (using the -d or --install-dir
    option).
    
    [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.

WARNING: No metadata found in /home/utkarsh/.local/lib/python3.8/site-packages
Rolling back uninstall of joey
Moving to /home/utkarsh/.local/lib/python3.8/site-packages/joey-pre1-py3.8.egg-info
from /home/utkarsh/.local/lib/python3.8/site-packages/~oey-pre1-py3.8.egg-info
Moving to /home/utkarsh/.local/lib/python3.8/site-packages/joey/
from /home/utkarsh/.local/lib/python3.8/site-packages/~oey
error: subprocess-exited-with-error

× python setup.py develop did not run successfully.
│ exit code: 1
╰─> [22 lines of output]
running develop
/usr/local/lib/python3.8/dist-packages/setuptools/command/easy_install.py:160: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools.
warnings.warn(
WARNING: The user site-packages directory is disabled.
/usr/local/lib/python3.8/dist-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
warnings.warn(
error: can't create or remove files in install directory

The following error occurred while trying to add or remove files in the
installation directory:

    [Errno 13] Permission denied: '/usr/lib/python3.8/site-packages'

The installation directory you specified (via --install-dir, --prefix, or
the distutils default setting) was:

    /usr/lib/python3.8/site-packages/

This directory does not currently exist.  Please create it and try again, or
choose a different installation directory (using the -d or --install-dir
option).

[end of output]
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