-
-
Notifications
You must be signed in to change notification settings - Fork 107
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
Numpy-stl not installable under Windows 7 and Python 3 #54
Comments
Can you give the current develop branch a try? It should work even when the speedups module cannot be build correctly. |
That did the trick (Interestingly, I did not see any warning while installing). |
Glad it worked. The pure python version is more than fast enough in most cases and if you need more speed than I would recommend the binary stl files anyhow. |
I found personally that creating a one line file: #include <io.h> Named unistd.h in ./stl/ solved the install issue for me. Error I was experiencing was something along the lines of:
|
I also wanted to report that I had a similar error under windows and Python 2.7.10 and the solution from @adammunich worked from me. Thanks. The numpy-stl package was v2.2.3 as well. |
I finally had access to a windows machine with visual studio to test for myself and it seems that cython doesn't support python 3 on windows yet, or at least... not fully. The |
The numpy-stl package cannot be installed with Python 3 under Windows, since Cython does not
fully support Python 3. (At least v2.2.3 has this problem.) In the
"stl/_speedups.pyx" file the statement in line 4
IF UNAME_SYSNAME == u"Windows":
is not evaluated correctly.
Cheers, dietrich
PS: Tested on Window7, Python 3.6, Cython 0.25.2 (Anaconda 4.3)
The text was updated successfully, but these errors were encountered: