[MacPorts] #61359: py37-pip @20.2.4: AttributeError: _ep_map (was: py37-pip fails to build)

MacPorts noreply at macports.org
Wed Oct 21 05:32:18 UTC 2020


#61359: py37-pip @20.2.4: AttributeError: _ep_map
-------------------------+-----------------------
  Reporter:  andrewfree  |      Owner:  michaelld
      Type:  defect      |     Status:  assigned
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.6.3
Resolution:              |   Keywords:
      Port:  py-pip      |
-------------------------+-----------------------
Changes (by ryandesign):

 * status:  new => assigned
 * owner:  (none) => michaelld
 * keywords:  py37,pip =>
 * port:  py37-pip => py-pip


Old description:

> 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

New description:

 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
 }}}

--

Comment:

 Replying to [ticket:61359 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
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/61359#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list