rdkit / conda-rdkit

Conda build recipe for the rdkit
51 stars 30 forks source link

Import error in jupyter and pycharm (Windows10) #60

Closed tatabox2000 closed 6 years ago

tatabox2000 commented 6 years ago

Dear representative,

I installed according to the procedure. It works normally on the command line. However, importing RDkit with jupyter or pycharm will cause DLL import error. Changing the environment variable or working space does not change this error.

c:\programdata\anaconda3\envs\my-rdkit-env\lib\site-packages\rdkit__init.py in () 1 try: ----> 2 from .rdBase import rdkitVersion as version 3 except ImportError: 4 version__ = 'Unknown' 5 raise ImportError: DLL load failed:

Sincerely,**

tatabox2000 commented 6 years ago

The command to create the virtual environment below is prone to import errors outside the command line. $ conda create -c <channel-url> -n my-rdkit-env rdkit I think that this method is preferable. This method does not cause errors until now. $ conda install -c rdkit rdkit I want to close this issue