ContinuumIO / anaconda-issues

Anaconda issue tracking
646 stars 220 forks source link

Error while importing "keras" or "theano" in r #1773

Open BishwajeetMondal opened 7 years ago

BishwajeetMondal commented 7 years ago

hi Admin, I have installed theano and keras on anaconda using "conda-forge". My objective was to leverage the kerasR package and import keras to use deep learning using R. While i can succesfully import keras and theano in Conda image

but I am facing errors while importing theano and keras( which are non native python libs for conda) in R using kerasR & reticulate which is as below:

## Error in py_module_import(module, convert = convert) : ImportError: No module named theano****

Python : 2.7.13 Anaconda: 4.3.1 theano: 0.9 Keras: 2.0.2 rstudio: 0.99.902 R: 3.3.3

Any help will be much appreciated !!

ijstokes commented 7 years ago

How are you getting your R environment setup? Where is kerasR coming from? If they aren't part of the same conda environment with those pieces coming from conda packages then they aren't going to be available inside your R session.

A full trace would be helpful.