-
Notifications
You must be signed in to change notification settings - Fork 74
Installing development branch on Windows #151
-
Hello, after our last discussion @MuellerSeb I am trying to install the development branch of GSTools to test directional varigoram modeling. Using the suggested workflow
does not work for me though. I am working in a virtual conda environment. Removing the standard GSTools installation beforehand or using the "ERROR: Failed building wheel for gstools" This might very well be an error on my side and my environments, but maybe you have an idea for a solution. Otherwise I can probably clone the repo. Thanks in advance for any help! Looking forward to test the new functionalities. |
Beta Was this translation helpful? Give feedback.
All reactions
Replies: 2 comments · 6 replies
-
You need to install the setup requirements: setuptools>=41.0.1
setuptools_scm>=3.5.0
cython>=0.28.3
numpy>=1.14.5 To get more information from the pip installation, you can set a higher verbosity level by adding Hope that helps! |
Beta Was this translation helpful? Give feedback.
All reactions
-
Thanks for taking a look @MuellerSeb , I do have all the requirements installed: Requirement already satisfied: setuptools>=41.0.1 in ...\envs\gempy_gstools_dev\lib\site-packages (from -r requirements.txt (line 1)) (50.3.1.post20201107) I still get the same issue. Do you have any other ideas? |
Beta Was this translation helpful? Give feedback.
All reactions
-
pip install -vvv git+git://github.com/GeoStat-Framework/GSTools.git@develop What does this give? |
Beta Was this translation helpful? Give feedback.
All reactions
-
The ouput is more green and less red doing this :) but still throws the "ERROR: Failed building wheel for gstools" at some point and does not install the package. EDIT: I also tried to install from a cloned local repo and ran in to the same problem. Looking at the output a little closer, right before throwing the Error I get: That probably means that something with my gcc is wrong? Little weird because it works fine in other environments/with other pacakges. But I am definitely not proficient enough in this to evaluate... |
Beta Was this translation helpful? Give feedback.
All reactions
-
I tried the following with conda: conda create -p test_Gs
conda activate test_Gs/
conda install pip setuptools setuptools_scm cython numpy
pip install -vvv git+git://github.com/GeoStat-Framework/GSTools.git@develop And GSTools was correctly installed. Could you try again? Also I got a lot of output from the pip command. Could you post it in case it still doesn't work? |
Beta Was this translation helpful? Give feedback.
All reactions
-
The same problem persists following exactly your steps. The full output (had to sip some parts):
|
Beta Was this translation helpful? Give feedback.
All reactions
-
Now I got it. And there is also the answer in your log:
Meaning you've been right from the beginning, that there is a problem with the c compiler: there is none in your case. and try again. ;-) |
Beta Was this translation helpful? Give feedback.
All reactions
-
Perfect thanks alot! This works somehow. I am still a little confused - I thought I was using MinGW and that it worked fine with other installations - but there was probably some interaction I didn't get. Creating a completely fresh environment now after installing visual studio works. Havent tried a complete environment with gempy (that uses theano and I remember some compiler problems) but at least for now I can test some new developments. Thanks a lot for taking the time to look into this! |
Beta Was this translation helpful? Give feedback.
Now I got it. And there is also the answer in your log:
Meaning you've been right from the beginning, that there is a problem with the c compiler: there is none in your case.
So you should be fine with installing it from here:
https://visualstudio.microsoft.com/visual-cpp-build-tools/
and try again. ;-)