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
DLL load failed when Python interpreter is not started from the command line #1276
Comments
That error is almost certainly due to PATH not being set properly in the second case. |
Yes, that was it. I am now appending the missing PATH entries before import (and it works) os.environ["PATH"] += r";C:\Users\me\Miniconda3\envs\venv35"
os.environ["PATH"] += r";C:\Users\me\Miniconda3\envs\venv35\Library\mingw-w64\bin"
os.environ["PATH"] += r";C:\Users\me\Miniconda3\envs\venv35\Library\usr\bin"
os.environ["PATH"] += r";C:\Users\me\Miniconda3\envs\venv35\Library\bin"
os.environ["PATH"] += r";C:\Users\me\Miniconda3\envs\venv35\Scripts" 🎉 |
glad that worked. |
I'm experiencing a very similar problem I have installed conda on windows 10. Then I installed rdkit and create an environment Now when I active the environment (
I have tried solution proposed here by adding the paths without success.
I do not know if I'm missing a path entry. Is that mean that I have to add all the paths again to use Rdkit? It would really nice if someone can help me out. |
@diallobakary4 Which python version are you using and which version of conda? |
I'm using conda 4.4.10 and pyhon 3.5. |
Hi,
I have a half-working installation. To be more precise:
import rdkit
fails with anImportError
if I do it from either the interactive window or a debugging session (Visual Studio 2017 RC)On the windows command line, in the activated
venv35
environment:The same environment in the VS interactive window:
My hypothesis is that activating the environment from the command line sets environment variables that are not set otherwise. (PYTHONPATH, RDBASE ???)
I tried to track them down, but failed.
I would like to fix this so I can debug my application.
Maybe the appropiate variables can be set just prior to ´import rdkit`?
The text was updated successfully, but these errors were encountered: