Code Monkey home page Code Monkey logo

Comments (6)

wolph avatar wolph commented on August 25, 2024

Can you give the current develop branch a try? It should work even when the speedups module cannot be build correctly.

from numpy-stl.

DietBru avatar DietBru commented on August 25, 2024

That did the trick (Interestingly, I did not see any warning while installing).

from numpy-stl.

wolph avatar wolph commented on August 25, 2024

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.

from numpy-stl.

gigaj0ule avatar gigaj0ule commented on August 25, 2024

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:

_speedups.c
stl/_speedups.c(449): fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory
error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\BIN\\x86_amd64\\cl.exe' failed with exit status 2

from numpy-stl.

David-Herman avatar David-Herman commented on August 25, 2024

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.

from numpy-stl.

wolph avatar wolph commented on August 25, 2024

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 UNAME_SYSNAME constant isn't defined on windows it seems.

from numpy-stl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.