-
-
Notifications
You must be signed in to change notification settings - Fork 16
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
ImportError: DLL load failed while importing _env (Windows) #213
Comments
…ndows) fixes: #3 reported: conda-forge/fiona-feedstock#213 Remove pinning of fiona 1.8.22 when upstream resolved
@Sieboldianus , sorry that you didn't get a response to this. Fixing windows build troubles is always painful to will the spare energy to look into :/ Are you still reproducing this? I tried just now and failed to.
|
Hi @akrherz , thank you, and I completely understand (re: Windows). I tried your exact steps, except that I used
|
I have been facing a similar issue over the past month. My solution was to use That said, I am still having the issue with Similar issue within the terminal. I don't have much experience with these things, but happy to help troubleshoot if it is useful. |
Thanks, can we ensure that we have:
|
Ok, so first:
This is my conda info:
My channel priority is set to flexible:
I also reproduced this issue on two different computers. |
On a reproducer, what does |
|
Erm, you need to be using |
Ok, understood - I tested, and this time, it works:
conda list
In my original (initial) post, this did not work. It seems solved know! Apologies for any confusion and many thanks for your help, @akrherz ! |
This seems solved. Please reopen if that is not the case. |
B/c similar problems can have different causes, please open a new issue instead and paste the debugging information. We should lock this one to avoid red herrings debugging. |
Ok, since the original reporter gave his thumbs up on the closing, I'll lock it. |
Solution to issue cannot be found in the documentation.
Issue
I have a package with fiona that (still) needs to be installed in Windows.
The error appears to be related to gdal and the conda installaton of fiona. I could reproduce it both with the anaconda distribution and conda-forge channel. The error is raised by fiona, so I came here to report it.
When gdal and fiona are installed in versions larger than fiona 1.8.22, the following occurs:
I tried with different combinations, channels and versions.
First, adding:
does not solve the error.
Further:
works in all combinations, except when gdal 3.4.1 is installed, then this happens:
Click
I think this is not related and can be ignored.
Installed packages
Minimal steps to preproduce:
conda create -n fiona_test gdal fiona --yes conda activate fiona_test python -c "import fiona;print(fiona.__version__);"
-> gdal 3.6.2
-> fiona 1.9.1
-> works
-> gdal 3.0.2
-> fiona 1.8.22
Conda-forge:
-> does not work
-> gdal-3.6.4
-> fiona-1.9.3
-> works
-> gdal-3.6.1
-> fiona-1.8.22
Environment info
I have Miniconda installed with Chocolatey. The tests above have been run in plain Windows CMD.
The text was updated successfully, but these errors were encountered: