[英]ImportError: No module named deepmolecule.rdkit_utils
When I tried to python running, I got the error that ImportError: No module named deepmolecule.rdkit_utils 当我尝试运行python时,出现错误ImportError:没有名为deepmolecule.rdkit_utils的模块
so I search about "deepmolecule.rdkit_utils" at google, but there are no exist about that module information. 因此,我在Google上搜索了“ deepmolecule.rdkit_utils”,但该模块信息不存在。
How can I solve this problem? 我怎么解决这个问题?
This is importing modules in the python script file. 这是在python脚本文件中导入模块。
import csv
import subprocess
import numpy as np
import numpy.random as npr
import matplotlib.pyplot as plt
import copy
from deepmolecule.rdkit_utils import smile_to_fp
from rdkit.Chem import Descriptors
from rdkit import Chem
from rdkit.Chem import rdMolDescriptors
Apparently, the module got renamed to neuralfingerprint
and is called nfp
at pypi . 显然,该模块已重命名为
neuralfingerprint
,在pypi上称为nfp
。 Hence, you can install the module by running pip install nfp
in your shell. 因此,您可以通过在外壳中运行
pip install nfp
来安装模块。 Note that you might need to change the name of the module in your script. 请注意,您可能需要在脚本中更改模块的名称。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.