C files not recognized #264
-
pip installing cosmpy throws errors that .h files cant be found. Using windows 10/ python 3.9.8. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Error Log: |
Beta Was this translation helpful? Give feedback.
-
I was able to reproduce this error on Windows. There seems to be a missing install step related to a C compiler. We'll need some further testing on Windows to fix this for future versions. In the meantime, I managed to get around it by installing Visual Studio Build Tools (https://visualstudio.microsoft.com/downloads/?q=build+tools#build-tools-for-visual-studio-2022 - "Desktop development with C++"). This is quite a bulky install though, so maybe worth uninstalling after installing CosmPy. |
Beta Was this translation helpful? Give feedback.
I was able to reproduce this error on Windows. There seems to be a missing install step related to a C compiler. We'll need some further testing on Windows to fix this for future versions.
In the meantime, I managed to get around it by installing Visual Studio Build Tools (https://visualstudio.microsoft.com/downloads/?q=build+tools#build-tools-for-visual-studio-2022 - "Desktop development with C++"). This is quite a bulky install though, so maybe worth uninstalling after installing CosmPy.