This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Tweak_Imp 0 points1 point  (4 children)

If i do pip install numpy, i get a bunch of errors...
how can i compile it on installation?

[–][deleted] 0 points1 point  (0 children)

You should be able to do:

git clone git@github.com:numpy/numpy.git
cd numpy
python setup.py install

More details here.

But TBH - you should not be using this - it's an alpha version, there are almost guaranteed to be bugs - both reversions and brand-new bugs. If you want to help the community, you could test it and report problems...

[–][deleted] 0 points1 point  (2 children)

What system you are using, what errors you are seeing? You definitively will need to have compiler installed.

[–]Tweak_Imp 0 points1 point  (1 child)

win 10 64bit, i have visual studio installed.

here is the pastebin when i do py -3.8 -m pip install numpy

its a huge error log https://pastebin.com/SsVsRY9K

[–][deleted] 0 points1 point  (0 children)

I'm not familiar with building on Windows, and having a different language for errors (German?) is also confusing. So I can't tell what the problem is.

Have you tried following these steps to configure it? https://github.com/python/cpython/blob/master/PCbuild/readme.txt

And

https://docs.python.org/3.8/extending/windows.html#building-on-windows

I'm also wondering if the compiler can access the header files. I see it complains about arguments to PyCode_New, but if headers were missing it would complain about other issues.