-
-
Notifications
You must be signed in to change notification settings - Fork 421
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't install TARDIS with pip
#1211
Comments
Reproduced this while installing on Moria! |
Bug introduced in 3297d26 |
Hi, I recently encountered this issue with pyne when attempting to use TARDIS on a remote server where use of conda was prohibited. I was actually able to solve it, but the method was fairly convoluted... posting it here anyways for others who have this problem. I had to download the package
Which produced a wheel file
I then had to manually copy over the contents of the directory Note that I contacted the pyne devs about upgrading the version of pyne available on PyPI from 0.1.0 to 0.5.11, as I believe this would solve this issue. I spoke to them in early June and they were optimistic about being able to do this at some point. |
I too encountered this error, but for me it's Full error log: ERROR: Command errored out with exit status 1:
command: /home/jals/miniconda3/envs/tardis/bin/python3.7 /home/jals/miniconda3/envs/tardis/lib/python3.7/site-packages/pip/_vendor/pep517/_in_process.py get_requires_for_build_wheel /tmp/tmp8mtnu1lx
cwd: /tmp/pip-req-build-x8iys0no
Complete output (40 lines):
warning: no previously-included files found matching '*.pyc'
warning: no previously-included files found matching '*.o'
no previously-included directories found matching 'build'
no previously-included directories found matching 'astropy_helpers/tests'
Traceback (most recent call last):
File "/home/jals/miniconda3/envs/tardis/lib/python3.7/site-packages/pip/_vendor/pep517/_in_process.py", line 280, in <module>
main()
File "/home/jals/miniconda3/envs/tardis/lib/python3.7/site-packages/pip/_vendor/pep517/_in_process.py", line 263, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
File "/home/jals/miniconda3/envs/tardis/lib/python3.7/site-packages/pip/_vendor/pep517/_in_process.py", line 114, in get_requires_for_build_wheel
return hook(config_settings)
File "/tmp/pip-build-env-nhgnsjga/overlay/lib/python3.7/site-packages/setuptools/build_meta.py", line 150, in get_requires_for_build_wheel
config_settings, requirements=['wheel'])
File "/tmp/pip-build-env-nhgnsjga/overlay/lib/python3.7/site-packages/setuptools/build_meta.py", line 130, in _get_build_requires
self.run_setup()
File "/tmp/pip-build-env-nhgnsjga/overlay/lib/python3.7/site-packages/setuptools/build_meta.py", line 254, in run_setup
self).run_setup(setup_script=setup_script)
File "/tmp/pip-build-env-nhgnsjga/overlay/lib/python3.7/site-packages/setuptools/build_meta.py", line 145, in run_setup
exec(compile(code, __file__, 'exec'), locals())
File "setup.py", line 83, in <module>
cmdclassd = register_commands(PACKAGENAME, VERSION, RELEASE)
File "/tmp/pip-req-build-x8iys0no/astropy_helpers/astropy_helpers/setup_helpers.py", line 181, in register_commands
add_command_hooks(registered_commands, srcdir=srcdir)
File "/tmp/pip-req-build-x8iys0no/astropy_helpers/astropy_helpers/setup_helpers.py", line 214, in add_command_hooks
for setuppkg in iter_setup_packages(srcdir, packages):
File "/tmp/pip-req-build-x8iys0no/astropy_helpers/astropy_helpers/setup_helpers.py", line 439, in iter_setup_packages
name=packagename + '.setup_package')
File "/tmp/pip-req-build-x8iys0no/astropy_helpers/astropy_helpers/utils.py", line 225, in import_file
mod = loader.load_module()
File "<frozen importlib._bootstrap_external>", line 407, in _check_name_wrapper
File "<frozen importlib._bootstrap_external>", line 907, in load_module
File "<frozen importlib._bootstrap_external>", line 732, in load_module
File "<frozen importlib._bootstrap>", line 265, in _load_module_shim
File "<frozen importlib._bootstrap>", line 696, in _load
File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 728, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "tardis/montecarlo/setup_package.py", line 5, in <module>
from Cython.Build import cythonize
ModuleNotFoundError: No module named 'Cython' This is strange though, because in a python kernel with tardis environment, I can easily |
Closed by #1686 |
Description
... does not work anymore!.
Please, try to reproduce this bug in a fresh environment with latest TARDIS release and fix.
The text was updated successfully, but these errors were encountered: