Opened 4 years ago
Last modified 4 years ago
#61359 assigned defect
py37-pip @20.2.4: AttributeError: _ep_map
Reported by: | andrewfree | Owned by: | michaelld (Michael Dickens) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.6.3 |
Keywords: | Cc: | ||
Port: | py-pip |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
When trying to install py37-pip it fails to build. I have attempted to run port/clean and uninstall old version but still having issues. I included the build log below
It seems to come down to this.
:info:build PermissionError: [Errno 13] Permission denied: '/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/x509-0.1-py3.7.egg/EGG-INFO/entry_points.txt' :info:build Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-pip/py37-pip/work/pip-20.2.4" && /opt/local/Library/Frameworks/Python.framework/Versions/3.7/bin/python3.7 setup.py --no-user-cfg build -j12
Attachments (1)
Change History (3)
Changed 4 years ago by andrewfree
comment:1 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)
Description: | modified (diff) |
---|---|
Keywords: | py37 pip removed |
Owner: | set to michaelld |
Port: | py-pip added; py37-pip removed |
Status: | new → assigned |
Summary: | py37-pip fails to build → py37-pip @20.2.4: AttributeError: _ep_map |
Replying to andrewfree:
:info:build PermissionError: [Errno 13] Permission denied: '/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/x509-0.1-py3.7.egg/EGG-INFO/entry_points.txt'
Does the file /opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/x509-0.1-py3.7.egg/EGG-INFO/entry_points.txt exist?
If so, what are its permissions?
ls -l /opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/x509-0.1-py3.7.egg/EGG-INFO/entry_points.txt
and what port installed it?
port provides /opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/x509-0.1-py3.7.egg/EGG-INFO/entry_points.txt
comment:2 Changed 4 years ago by jmroot (Joshua Root)
This is an old setuptools problem where it can't handle module files without read permissions and also doesn't ensure read permissions are added when installing. You have to fix the permissions if they're not right in the source tarball.
Note: See
TracTickets for help on using
tickets.
build log