Opened 10 years ago
Closed 7 years ago
#44928 closed defect (invalid)
py27-healpy build failure
Reported by: | rhiannon.lynne@… | Owned by: | lpsinger (Leo Singer) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.3.1 |
Keywords: | Cc: | ||
Port: | py-healpy |
Description
port install py27-healpy fails. The build log has a message about an appropriate version of setuptools not existing, but this is because the build seems to be trying to use the incorrect version of python (using the built-in /Library/Python/2.7/site-packages/setuptools-2.1-py2.7.egg version) instead of the macports python (macports python is the default python and has a more recent version of setuptools - /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/setuptools-5.7-py2.7.egg-info).
Attachments (1)
Change History (8)
Changed 10 years ago by rhiannon.lynne@…
comment:1 follow-up: 3 Changed 10 years ago by rhiannon.lynne@…
Was able to work around by doing 'easyinstall -U setuptools' as message in build log suggested (but I still don't understand why the setup tools in the macports python wasn't used).
comment:2 Changed 10 years ago by mf2k (Frank Schima)
Owner: | changed from macports-tickets@… to aronnax@… |
---|---|
Port: | py-healpy added; py27-healpy removed |
In the future, please Cc the port maintainers (port info --maintainers py27-healpy
).
comment:3 Changed 10 years ago by lpsinger (Leo Singer)
Replying to rhiannon.lynne@…:
Was able to work around by doing 'easyinstall -U setuptools' as message in build log suggested (but I still don't understand why the setup tools in the macports python wasn't used).
What version of setuptools is installed on your system? What does the following command print?
port installed py27-setuptools
comment:4 Changed 10 years ago by rhiannon.lynne@…
Looks like I have a few versions.
[d-173-250-190-165:~/workshop] lynnej% port installed py27-setuptools The following ports are currently installed:
py27-setuptools @1.1.7_0 py27-setuptools @1.4_0 py27-setuptools @2.1_0 py27-setuptools @2.1.2_0 py27-setuptools @3.3_0 py27-setuptools @3.6_0 py27-setuptools @5.4.2_0 py27-setuptools @5.7_0 (active)
comment:5 Changed 10 years ago by lpsinger (Leo Singer)
It is very odd that it picked up setuptools from /Library
. I can see from the build log that it ran setup.py
with the correct Python interpreter, /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7
. Could you try a clean build?
$ sudo port clean py27-healpy $ sudo port install py27-healpy
comment:6 Changed 10 years ago by rhiannon.lynne@…
I updated the setup tools in the /Library version of python, so I don't get a build log hanging around when I do that now (i.e. the build now works). However, I did do a port clean before trying to (re)install it after it failed the first time, and got the same error.
comment:7 Changed 7 years ago by lpsinger (Leo Singer)
Resolution: | → invalid |
---|---|
Status: | new → closed |
Please reopen if this is still an issue.
build log file.