python - import modules that come with anaconda when running jupyter notebook within tensorflow virtualenv -
i'm new tensorflow. have installed tensorflow in anaconda on ubuntu linux running on vmware on laptop. in tensorflow virtualenv, installed , launched jupyter notebook. question how can import python modules in anaconda when i'm running jupyter notebook tensorflow virtual environment? got import errors. when launch jupyter notebook in normal mode, seems ok.
below steps followed install tensorflow in anaconda:
1. conda create -n tensorflow3 python=3.5 2. wget https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow-0.8.0rc0-cp34-cp34m-linux_x86_64.whl 3. mv tensorflow-0.8.0rc0-cp34-cp34m-linux_x86_64.whl tensorflow-0.8.0rc0-py3-none-linux_x86_64.whl 4. source activate tensorflow 5. pip install --ignore-installed --upgrade tensorflow-0.8.0rc0-py3-none-linux_x86_64.whl 6. conda install ipython 7. conda install jupyter
now launched jupyter notebook virtual environment. when tried import matplotlib, scipy or sklearn, got error messages like: no module named xxxx
Comments
Post a Comment