question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

numpy 1.11.0 cannot be installed with pip-accel

See original GitHub issue
[python] 2016-05-13 20:46:42 ef3f46b87f25 pip_accel[119] INFO Installing numpy (1.11.0) binary distribution using pip-accel ..
[python] 2016-05-13 20:46:42 ef3f46b87f25 pip_accel.bdist[119] INFO Building numpy (1.11.0) binary distribution ..
[python] 2016-05-13 20:46:43 ef3f46b87f25 pip_accel.bdist[119] WARNING Build of numpy (1.11.0) failed, falling back to alternative method ..
[python] 2016-05-13 20:46:43 ef3f46b87f25 pip_accel.bdist[119] INFO Building numpy (1.11.0) binary distribution ..
[python] 2016-05-13 20:46:43 ef3f46b87f25 pip_accel.bdist[119] WARNING Build of numpy (1.11.0) failed, checking for missing dependencies ..
[python] 2016-05-13 20:46:43 ef3f46b87f25 pip_accel.deps[119] INFO Checking for known dependencies of numpy ..
[python] 2016-05-13 20:46:43 ef3f46b87f25 pip_accel.deps[119] INFO No known dependencies... Maybe you have a suggestion?
[python] 2016-05-13 20:46:43 ef3f46b87f25 pip_accel.cli[119] ERROR Caught unhandled exception!
[python] Traceback (most recent call last):
[python]   File "/build/venv/lib/python2.7/site-packages/pip_accel/cli.py", line 57, in main
[python]     accelerator.install_from_arguments(arguments)
[python]   File "/build/venv/lib/python2.7/site-packages/pip_accel/__init__.py", line 246, in install_from_arguments
[python]     return self.install_requirements(requirements, **kw)
[python]   File "/build/venv/lib/python2.7/site-packages/pip_accel/__init__.py", line 584, in install_requirements
[python]     self.bdists.install_binary_dist(binary_distribution, **kw)
[python]   File "/build/venv/lib/python2.7/site-packages/pip_accel/bdist.py", line 437, in install_binary_dist
[python]     for member, from_handle in members:
[python]   File "/build/venv/lib/python2.7/site-packages/pip_accel/bdist.py", line 87, in get_binary_dist
[python]     raw_file = self.build_binary_dist(requirement)
[python]   File "/build/venv/lib/python2.7/site-packages/pip_accel/bdist.py", line 217, in build_binary_dist
[python]     return self.build_binary_dist_helper(requirement, ['bdist', '--formats=gztar'])
[python]   File "/build/venv/lib/python2.7/site-packages/pip_accel/bdist.py", line 282, in build_binary_dist_helper
[python]     name=requirement.name, version=requirement.version)
[python] BuildFailed: Failed to build numpy (1.11.0) binary distribution!
[python] 
[python] Please check the build output because it will probably provide a hint about what went wrong.
[python] 
[python] Build output:
[python] 
[python] Running from numpy source directory.
[python] `setup.py bdist` is not supported
[python] Add `--force` to your command to use it anyway if you must (unsupported).

Is there a suggested way around this, or is it an oversight/bug?

Edit: 1.10.4 still builds fine.

Issue Analytics

  • State:open
  • Created 7 years ago
  • Comments:11 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
vidstigecommented, Jun 25, 2018

What’s the latest development on this? It would be fantastic to be able to use py2deb to package create fresh versions of numpy instead of running on superold versions.

0reactions
mahmuuudcommented, Dec 12, 2021

Hello @njsmith Is there any update on this? I am facing a production issue with it, do you have any suggestions on how to unblock and use Numpy with py2deb?

I tried adding bdist to the whitelist of commands and using my own version of Numpy but it still fails due to the same error, don’t know if I am missing something here, Your help would be appreciated.

Read more comments on GitHub >

github_iconTop Results From Across the Web

numpy 1.11.0 - PyPI
NumPy is a general-purpose array-processing package designed to efficiently manipulate large multi-dimensional arrays of arbitrary records without ...
Read more >
Cant install Numpy+MKL - python - Stack Overflow
I downloaded numpy-1.11.0+mkl-cp35-cp35m-win_amd64.whl from the http://www.lfd.uci.edu/~gohlke/pythonlibs/ · I have python 3.5 installed from the ...
Read more >
Installation — pulse2percept 0.9.0.dev0 documentation
stable : Our stable release can be installed with: pip install pulse2percept. It may not have all the latest features, but the ones...
Read more >
Install TensorFlow with pip
For the CPU-only build use the pip package named tensorflow-cpu . Here are the quick versions of the install commands. Scroll down for...
Read more >
Can't install libraries on Python via Pycharm/VSCode
So it isn't much of a surprise that both are failing. Importantly, Matplotlib on PyPI (where pip draws packages from) doesn't have any...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found