-
Notifications
You must be signed in to change notification settings - Fork 6
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
pip install fails on clean virtualenv - h5py related? #1
Comments
I discovered the problem was that I needed to install Cython as well (h5py doesn't have it as a dependency). These steps will install it fully:
Success! |
Thanks for the heads up @tseemann! It always surprises me how difficult it is to really fix Python packaging. Adding Cython as a dependency for kPAL explicitely won't fix this (reliably), since there's no way of specifying an order for dependencies. I'll give it some more thought and will add a note to the documentation. |
Actually, Cython is listed as a dependency in h5py's I opened bug h5py/h5py#535 |
Thanks for looking into it. I'm not sure I'll ever fully understand Python packaging either! |
Command /bio/sw/kPAL/bin/python -c "import setuptools;file='/bio/sw/kPAL/build/h5py/setup.py';exec(compile(open(file).read().replace('\r\n', '\n'), file, 'exec'))" install --single-version-externally-managed --record /tmp/pip-53rtkL-record/install-record.txt --install-headers /bio/sw/kPAL/include/site/python2.7 failed with error code 1 in /bio/sw/kPAL/build/h5py
Exception information:
Traceback (most recent call last):
File "/bio/sw/kPAL/local/lib/python2.7/site-packages/pip-1.1-py2.7.egg/pip/basecommand.py", line 104, in main
status = self.run(options, args)
File "/bio/sw/kPAL/local/lib/python2.7/site-packages/pip-1.1-py2.7.egg/pip/commands/install.py", line 250, in run
requirement_set.install(install_options, global_options)
File "/bio/sw/kPAL/local/lib/python2.7/site-packages/pip-1.1-py2.7.egg/pip/req.py", line 1133, in install
requirement.install(install_options, global_options)
File "/bio/sw/kPAL/local/lib/python2.7/site-packages/pip-1.1-py2.7.egg/pip/req.py", line 577, in install
cwd=self.source_dir, filter_stdout=self._filter_install, show_stdout=False)
File "/bio/sw/kPAL/local/lib/python2.7/site-packages/pip-1.1-py2.7.egg/pip/init.py", line 256, in call_subprocess
% (command_desc, proc.returncode, cwd))
InstallationError: Command /bio/sw/kPAL/bin/python -c "import setuptools;file='/bio/sw/kPAL/build/h5py/setup.py';exec(compile(open(file).read().replace('\r\n', '\n'), file, 'exec'))" install --single-version-externally-managed --record /tmp/pip-53rtkL-record/install-record.txt --install-headers /bio/sw/kPAL/include/site/python2.7 failed with error code 1 in /bio/sw/kPAL/build/h5py
The text was updated successfully, but these errors were encountered: