i'm created a conda environment
conda create -n tfgpu tensorflow-gpu
conda activate tfgpu
but now after running
(tfgpu) > jupyter notebook
I can't import tensoflow as tf , notebook doesn't load this environment? Why it's happen?
My problem is solved after:
https://stackoverflow.com/a/44786736/12370909
conda create -n tfgpu tensorflow-gpu
conda activate tfgpu
python -m ipykernel install --user --name tfgpu --display-name "Python (tfgpu)"
jupyter notebook
Then you could be able to create a new Notebook using your environment by selecting "Python (tfgpu)" from the drop-down list.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.