Closed
Description
Don't know if this is related to my earlier issue (#3408), but here I am installing with PYTHONPATH not explicity defined, and .pydistutils.cfg
removed. It seemed like the install was going OK, then
copying astropy/wcs/tests/extension/wcsapi_test.c -> build/lib.macosx-10.5-x86_64-2.7/astropy/wcs/tests/extension
running build_ext
running pre_hook from astropy._erfa.setup_package for build_ext command
WARNING: The autogenerated wrappers in astropy._erfa seem to be older than the source templates used to create them. Because this is a release version we will use them anyway, but this might be a sign of some sort of version mismatch or other tampering. Or it might just mean you moved some files around or otherwise accidentally changed timestamps.
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/private/var/folders/+t/+th0HF8gGJevLBRMku2Vy++++TI/-Tmp-/pip_build_pauline/astropy/setup.py", line 122, in <module>
**package_info
File "/Users/pauline/progs/anaconda/envs/astropy_rc/lib/python2.7/distutils/core.py", line 151, in setup
dist.run_commands()
File "/Users/pauline/progs/anaconda/envs/astropy_rc/lib/python2.7/distutils/dist.py", line 953, in run_commands
self.run_command(cmd)
File "/Users/pauline/progs/anaconda/envs/astropy_rc/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/Users/pauline/progs/anaconda/envs/astropy_rc/lib/python2.7/site-packages/setuptools-5.8-py2.7.egg/setuptools/command/install.py", line 61, in run
File "/Users/pauline/progs/anaconda/envs/astropy_rc/lib/python2.7/distutils/command/install.py", line 563, in run
self.run_command('build')
File "/Users/pauline/progs/anaconda/envs/astropy_rc/lib/python2.7/distutils/cmd.py", line 326, in run_command
self.distribution.run_command(command)
File "/Users/pauline/progs/anaconda/envs/astropy_rc/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/Users/pauline/progs/anaconda/envs/astropy_rc/lib/python2.7/distutils/command/build.py", line 127, in run
self.run_command(cmd_name)
File "/Users/pauline/progs/anaconda/envs/astropy_rc/lib/python2.7/distutils/cmd.py", line 326, in run_command
self.distribution.run_command(command)
File "/Users/pauline/progs/anaconda/envs/astropy_rc/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/private/var/folders/+t/+th0HF8gGJevLBRMku2Vy++++TI/-Tmp-/pip_build_pauline/astropy/astropy_helpers/astropy_helpers/setup_helpers.py", line 360, in run
orig_run(self)
File "/private/var/folders/+t/+th0HF8gGJevLBRMku2Vy++++TI/-Tmp-/pip_build_pauline/astropy/astropy_helpers/astropy_helpers/commands/build_ext.py", line 147, in run
orig_run(self)
File "/Users/pauline/progs/anaconda/envs/astropy_rc/lib/python2.7/site-packages/setuptools-5.8-py2.7.egg/setuptools/command/build_ext.py", line 54, in run
File "/Users/pauline/progs/anaconda/envs/astropy_rc/lib/python2.7/distutils/command/build_ext.py", line 306, in run
force=self.force)
File "/Users/pauline/progs/anaconda/envs/astropy_rc/lib/python2.7/site-packages/numpy/distutils/ccompiler.py", line 557, in new_compiler
module = sys.modules[module_name]
AttributeError: 'NoneType' object has no attribute 'modules'
----------------------------------------
Cleaning up...
Command /Users/pauline/progs/anaconda/envs/astropy_rc/bin/python -c "import setuptools, tokenize;__file__='/private/var/folders/+t/+th0HF8gGJevLBRMku2Vy++++TI/-Tmp-/pip_build_pauline/astropy/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /var/folders/+t/+th0HF8gGJevLBRMku2Vy++++TI/-Tmp-/pip-x_Sbge-record/install-record.txt --single-version-externally-managed --compile failed with error code 1 in /private/var/folders/+t/+th0HF8gGJevLBRMku2Vy++++TI/-Tmp-/pip_build_pauline/astropy
Traceback (most recent call last):
File "/Users/pauline/progs/anaconda/envs/astropy_rc/bin/pip", line 6, in <module>
sys.exit(main())
File "/Users/pauline/progs/anaconda/envs/astropy_rc/lib/python2.7/site-packages/pip/__init__.py", line 198, in main
return command.main(cmd_args)
File "/Users/pauline/progs/anaconda/envs/astropy_rc/lib/python2.7/site-packages/pip/basecommand.py", line 161, in main
text = '\n'.join(complete_log)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 70: ordinal not in range(128)