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
Conda install on Windows: cannot import OpenTURNS #2360
Comments
Note that this user was in the end able to install and import OpenTURNS, but had to use pip. |
Update: the same issue has been reported by @antonio-canavate on our forum and the conda-forge bug tracker. |
yep, this is due to a conflict with numpy (and scipy) mingw runtime a workaround is to use numpy binary from pip: |
Are you saying that it is a conflict between Spyder and NumPy? If you are talking about a direct conflict, then it does not make sense to me because I didn't have any errors when I imported when using VS Code (see screen capture). The environment is exactly the same as the one where I had an import error above. |
no between openturns and numpy, the latter being pulled by spyder |
That seems to be a strange behaviour by Spyder. Why would it pull in a different version of NumPy than the one provided in the Environment? |
Hi @jschueller, I have just tried and it works perfectly. Thanks a lot Best Toni |
Hi! A Windows user sent me the following error:
This user did a fresh install of Miniforge3 for Windows: https://github.com/conda-forge/miniforge/releases/download/23.1.0-3/Miniforge3-23.1.0-3-Windows-x86_64.exe
On this fresh install, he ran the command to install openturns and pandas:
After the install (which reported no error), Pandas could be imported, but OpenTURNS could not (see error message above).
The text was updated successfully, but these errors were encountered: