Giter Club home page Giter Club logo

Comments (3)

MMindem avatar MMindem commented on June 9, 2024

I tried to install it it on windows using pip install, but compiling the c++ files fail due to the next error:
pysurvival/cpp_extensions/non_parametric.cpp(349): error C2065: 'M_PI': undeclared identifier pysurvival/cpp_extensions/non_parametric.cpp(364): error C2065: 'M_PI': undeclared identifier pysurvival/cpp_extensions/non_parametric.cpp(364): error C2065: 'M_PI': undeclared identifier error: command 'XX\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.21.27702\\bin\\HostX86\\x64\\cl.exe' failed with exit status 2

Seems that M_PI is not defined as discussed in this and this topic on stackoverflow.

Here I am using visual studio, but got the same error when compiling with MinGW. Furthermore I am using the latest anaconda distribution with python 3.7.

Not sure whether this is only a bug or that the package will not work at all on windows.

from pysurvival.

steph-likes-git avatar steph-likes-git commented on June 9, 2024

Hi @MotoRZR and @MMindem,

Thanks so much for your interest in pysurvival.
pysurvival isn't currently available on Windows, but I'm actively working on this. I will publish an update once it's ready.

Thanks for your interest in the project!

from pysurvival.

ploner avatar ploner commented on June 9, 2024

Hi @steph-likes-git,
is the package now available for Windows 10? I got a similar issue today w Py 3.8.9 as well as 3.9.10.
Any idea how to fix it?

from pysurvival.

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.