-
Notifications
You must be signed in to change notification settings - Fork 40
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
tox-conda interacts badly with numpy on Windows, Python 3.7/3.8 #37
Comments
It seems the issue may be that |
I believe we are also seeing this issue, however we are seeing it in a tox environment that has I also believe this is due to |
I think I might be seeing this as well (though for me it fails on 3.6 as well). Same setup as @goerz mentioned, numpy gets installed via |
I have managed to find a work around for this. By setting |
A detail about @Choc13 's DLL env variable fix. I've noticed this only works with numpy from the default channel from anaconda.com. It does not however, seem to work if you install numpy from conda-forge. |
@rwhitt2049, I can indeed confirm that if does not work with NumPy installed from
I still see this issue for NumPy v1.20.1. Did you manage to find a workaround? |
I managed to work around it by commenting out the
section and having Unfortunately, this led to some other issues, like this. In the end I had to install both I am looking forward to a better (more stable) solution! |
@basnijholt, I got around it by setting my conda channels as follows:
... and then adding an env variable as per Choc13's comment above:
I have dependencies on conda-forge as well, which is why it's still in my conda_channels list. So functionally this will pull dependencies from defaults first, and then check conda-forge if it can't find the package there. Setting the env variable took care of my dll issues. |
|
No update from author: closing. |
Having
numpy
inconda_deps
on Windows with Python 3.7 or Python 3.8 causes a crash when any command inside the environment tries to importnumpy
. Python 3.6 works.See cross-reference numpy/numpy#15537
The text was updated successfully, but these errors were encountered: