Skip to content

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

Description

@utkarsh8028

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]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions