Skip to content
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

Installation on Windows 10 with Anaconda3 (64 bits) #113

Open
rodvallejo opened this issue Jan 30, 2020 · 6 comments
Open

Installation on Windows 10 with Anaconda3 (64 bits) #113

rodvallejo opened this issue Jan 30, 2020 · 6 comments

Comments

@rodvallejo
Copy link

Dear fellows,

I have tried to install scikits.odes on a Windows 10 OS with Anaconda 3, but I had some issues.

Packages Installed successfully:
SUNDIALS (conda install -c conda-forge sundials)
c-complier (conda install -c conda-forge c-compiler)
fortran-compiles (conda install -c conda-forge fortran-compiler)
lapack (conda install -c conda-forge lapack)
blas (conda install -c conda-forge blas)

However, I had the following problems in order to install scikits.odes (pip install scikits.odes)
error_scikits_odes.txt

Even with pip install -v scikits.odes i had problems

ERROR: Failed building wheel for scikits.odes
ERROR: Could not build wheels for scikits.odes which use PEP 517 and cannot be installed directly

Could you help me ?

Thanks in advance.

@ingegno-student
Copy link

The error seems to be with not finding sundials:

Searching for SUNDIALS path...
pkgconfig module not found, using preset paths
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
error: Microsoft Visual C++ 14.0 is required. Get it with "Build Tools for Visual Studio": 
https://visualstudio.microsoft.com/downloads/

odes does not need Microsoft Visual C++ 14.0 , so unclear to me why this would be searched. We do compile small test codes so as to test with what parameters sundials is installed.
Can you execute one of the tests of sundials so as to see if correctly installed ?

Note also that pip installs latest version, not sure if conda already has sundials 5.1.0

@rodvallejo
Copy link
Author

I am a newbie using python and conda ! How can I test sundials ?

@bmcage
Copy link
Owner

bmcage commented Feb 12, 2020

@rodvallejo the simplest way to use odes is on a linux box and following the installation part of the manual. In Windows you will need to have some experience on setting up build environment and determining if dependencies are correctly working.

@rodvallejo
Copy link
Author

Tks @bmcage ! In my company all the computers are based on windows OS and we can't install linux. I have tried to build a virtual linux environment on a cloud server in order to install odes.

@aravindh95babu
Copy link

numpy/numpy#12016 (comment)

This solution worked for me when I had the same issue. Although it wasn't apparent to me why Visual C++ was needed.

@moorepants
Copy link

If you are installing the dependencies via conda-forge, you can also do this conda install scikits.odes to have a working installation on windows.

I am also now seeing build errors connected to recent versions of pip/setuptools on windows. See here: conda-forge/scikits.odes-feedstock#8 I haven't quite been able to figure it out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants