jbwhit / data-science-teams

Miscellaneous Jupyter Notebooks for my course.
MIT License
22 stars 14 forks source link

Creating jupyter_r conda environment has some issues #1

Open jantonisito opened 7 years ago

jantonisito commented 7 years ago

I tried to run: conda create -n jupyter_r -c r r-irkernel r-essentials r-recommended rpy2 -y it almost went through but it reported following issue: Linking packages ... 'mingw-w64\bin\p11-kit.exe' is not recognized as an internal or external command, operable program or batch file. ..... The system cannot find the path specified.

That is slightly surprising because that binary is there: C:\Users\IBM_ADMIN\Miniconda2\pkgs\m2w64-p11-kit-0.23.2-1\Library\mingw-w64\bin\p11-kit.exe

Sorry if this is trivial issue - I just started on Python.

jantonisito commented 7 years ago

After installing r-essentials through conda: conda install -c r r-essentials and then removing jupyter_r (not sure if that was necessary but I did not find a way to rebuild environment that already exists): conda remove --name jupyter_r --all and creating jupyter_r again: conda create -n jupyter_r -c r r-irkernel r-essentials r-recommended rpy2 -y I was able to open Pure R notebook and it would load R kernel.

jantonisito commented 7 years ago

However rpy2 example does not work: import rpy2

ImportError Traceback (most recent call last)

in () ----> 1 import rpy2 ImportError: No module named rpy2