![]() ![]() I tried using CC=clang python setup.py pip install pyraf ![]() profile, you could instead use sudo port select python python27. I have to admit though that I do have other installations of Python 2.7 on my laptop, which perhaps came in bundled with other packages I installed earlier, but I do not know how to get rid of them to clean up the system. profile file usingĪlias python='/opt/local/bin/python2.7'. I am sure I am using the Macports python, because I have explicitly set the path to it in the. You should find that if you run gcc -version, it informs you that it is not in fact gcc but actually clang. You could update to as new a version as 6.2 if you wanted to. Ok, good, that's a supported version for OS X 10.9. Replying to have Xcode version 5.1.1 installed. Not sure how to use setup.py to install Pyraf or for that matter other modules. Now I do have gcc installed, so I tried looking for setup.py and I think the one installed with Macports version of Python on my laptop is in /opt/local/var/macports/sources//release/tarballs/ports/python/py-entrypoints/files/īut when I try running python /opt/local/var/macports/sources//release/tarballs/ports/python/py-entrypoints/files/setup.py installĮrror: could not create 'build': Permission denied Or if you are using MacOS X, you can try:Ĭommand "python setup.py egg_info" failed with error code 1 in /private/var/folders/zt/rfcx53ks5b7_1_773_2jwpp80000gn/T/pip-build-ImCNyh/astropy Use by setting the CC environment variable, for example: You can explicitly specify which compiler to Which is normally used to compile C extensions, is notĪvailable. The C compiler used to compile Python gcc-4.2, and Warning: manifest_maker: standard file '-c' not found Amongst others the last bit of the installation code read: ![]() I have installed python 2.7 using macports and it seemed to work fine untill I had to install Pyraf. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |