rpy2 import is not working

后端 未结 8 1174
逝去的感伤
逝去的感伤 2021-02-14 16:16

I get an error when I try to import rpy2. Here is the code and error.

>>> import pandas.rpy.common
Traceback (most recent call last):  

File \"C:\\PF\         


        
8条回答
  •  春和景丽
    2021-02-14 16:32

    I installed using, conda install -m rpy2

    and moved the directory of rpy2 from rpy2-2.9.1-py3.6-win-amd64.egg folder to the path from where the packages are called during the import and then it worked.

提交回复
热议问题