[英]How to get RDKit working with ipython3?
I'm trying to get the module imolecule working with ipython3 (which I've already installed). 我正在尝试使模块iolecule与ipython3(我已经安装)一起使用。 imolecule is included as a part of RDKit (which apparently works with python 3) so the first step is to install RDKit.
imolecule是RDKit的一部分(显然与python 3兼容),因此第一步是安装RDKit。 I used the command:
我使用了命令:
sudo apt-get install python-rdkit librdkit1 rdkit-data
found here in section 2.2 of the RDKit documentation. 可以在 RDKit文档的2.2节中找到。 When I did 'import rdkit' in python 2 it worked but it didn't in python 3 or ipython3, and when I removed the original RDKit installation and tried to redo it with 'python3-rdkit' that didn't work.
当我在python 2中执行'import rdkit'时,它可以工作,但在python 3或ipython3中却不起作用,当我删除原始的RDKit安装并尝试使用不起作用的'python3-rdkit'重做时。 How can I solve this problem?
我怎么解决这个问题?
I think that installs an old version of RDKit (the repos is not updated, follow the installation instructions here http://www.blopig.com/blog/2013/02/how-to-install-rdkit-on-ubuntu-12-04/ 我认为安装的是RDKit的旧版本(存储库未更新,请按照此处的安装说明http://www.blopig.com/blog/2013/02/how-to-install-rdkit-on-ubuntu-12 -04 /
Also, RDKit supports python 3 since over a year now... http://rdkit.blogspot.com.mt/2014/11/switching-to-python-3.html 另外,RDKit自一年多以来就支持python 3 ... http://rdkit.blogspot.com.mt/2014/11/switching-to-python-3.html
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.