-
Notifications
You must be signed in to change notification settings - Fork 414
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
conda skeleton pypi numpy does not work #76
Comments
Fixed that problem. The real issue is this $conda skeleton pypi numpy
More than one source version is available for numpy:
0: https://pypi.python.org/packages/source/n/numpy/numpy-1.8.0.tar.gz (3.6 MB)
1: https://pypi.python.org/packages/source/n/numpy/numpy-1.8.0.zip (4.1 MB)
Which version should I use? 0
Using url https://pypi.python.org/packages/source/n/numpy/numpy-1.8.0.tar.gz (3779617) for numpy.
This is the license for numpy
BSD
What license string should I use? BSD
Downloading numpy (use --no-download to skip this step)
Using cached download
Unpacking numpy...
done
working in /var/folders/yc/8wpl9rlx47qgzxqpcf003k280000gn/T/tmp30makxconda_skeleton
Running from numpy source directory.
Traceback (most recent call last):
File "setup.py", line 217, in <module>
setup_package()
File "setup.py", line 210, in setup_package
configuration=configuration )
File "/private/var/folders/yc/8wpl9rlx47qgzxqpcf003k280000gn/T/tmp30makxconda_skeleton/numpy-1.8.0/numpy/distutils/core.py", line 130, in setup
if dist.help or not _command_line_ok():
AttributeError: 'NoneType' object has no attribute 'help'
$PYTHONPATH = /var/folders/yc/8wpl9rlx47qgzxqpcf003k280000gn/T/tmp30makxconda_skeleton/numpy-1.8.0
Error: command failed: /Users/aaronmeurer/anaconda/bin/python setup.py install |
Update; My problem was user error. I'm keeping the comment so I can navigate between my hints :). 2014-05-04Sun.19:51:06 Is this the same as my error , I couldn't the numpy version to change? http://stackoverflow.com/questions/23458593/conda-example-does-not-work-it-shows-newer-not-older-numpy This was part of my long saga of trials, see #100 Cannot access specific Binstar version. |
The issue is that we patch distutils, but numpy has its own distutils, which expects the real distutils to work. |
Got bitten by this today, trying to build a package which uses numpy.distutils. Any possible workaround? |
Packages that use numpy.distutils generally work. Which package were you trying to build? |
This one specifically (v0.2.0): http://github.com/Pybonacci/poliastro In the end it was a minor problem, I just wrote the meta.yaml by hand.
|
I see. We may have to patch numpy.distutils as well. Or maybe there is a simpler workaround. |
I intended to create a NumPy package compiled against OpenBLAS and ran this command which failed the same way. This is a Miniconda3 installation. The strange thing is that this exception, once encountered, breaks my IPython:
Any clues? |
Hmm removing |
Pff, actually it was caused because I was in |
Same problems as Juanlu001 when using numpy.distutils. Specific conda command: conda skeleton pypi anuga Package http://github.com/stoiver/anuga_core My setup.py is quite similar to the one used by Juanlu001 in the package http://github.com/Pybonacci/poliastro Here is the error
|
Any work-around or fix? Have the same problem with
|
I am not able to run
either. This issue was reported in May 2014. I haven't been able to find a work-around after doing numerous searches. Is there indeed a work-around or fix? I am using Anaconda 3 version 2.2.0 with scikit-learn 0.16.1. I did a fresh installation of Anaconda and followed the recipe in http://conda.pydata.org/docs/build_tutorials/pkgs.html to build pyinstrument. Building pandas with
worked just fine. It's scikit-learn that has a problem. I am running Windows 7 x64. I finally got a working version on my non-networked box by using
on my networked box and then copying the Lib\site-package\sklearn + egg file over to the other box. |
I just got the same issue as @dtsmith2001 with In OSX:
In Linux:
|
Hi there, thank you for your contribution to This issue has been automatically marked as stale because it has not had recent activity. It will be closed automatically if no further activity occurs. If you would like this issue to remain open please:
NOTE: If this issue was closed prematurely, please leave a comment and we will gladly reopen the issue. In case this issue was originally about a project that is covered by the Anaconda issue tracker (e.g. Anaconda, Miniconda, packages built by Anaconda, Inc. like Anaconda Navigator etc), please reopen the issue there again. Thanks! |
Hi again! This issue has been closed since it has not had recent activity. Thank you for your contribution. |
The text was updated successfully, but these errors were encountered: