1)
Install jupyter
$pip install -U jupyter
2)
Create virtual environment
$virtualenv myenv1
3)
Activate virtual environment
$source myenv1/bin/activate
4)
Install ipykernel in virtual environment
$ pip install ipykernel
5)
Add python and ipykernel in the virtual environment to jupyter notebook
$ python -m ipykernel install --user --name=myenv1
You should now be able to see your (virtualenv) kernel in the IPython
notebook menu: Kernel -> Change kernel and be able so switch to it.
Install jupyter
$pip install -U jupyter
2)
Create virtual environment
$virtualenv myenv1
3)
Activate virtual environment
$source myenv1/bin/activate
4)
Install ipykernel in virtual environment
$ pip install ipykernel
5)
Add python and ipykernel in the virtual environment to jupyter notebook
$ python -m ipykernel install --user --name=myenv1
You should now be able to see your (virtualenv) kernel in the IPython
notebook menu: Kernel -> Change kernel and be able so switch to it.
Thanks a lot for this
ReplyDeleteGreat instruction now on my macOS I can import tensorflow in virtualenv jupyter notebook. Thank you!
ReplyDelete
ReplyDeleteInteresting blog, here a lot of valuable information is available, it is very useful information.
Python Course in Hyderabad
Python Institute in Hyderabad
Python Online Training in Hyderabad
Python Training in Hyderabad
Python Training
Interesting blog, here a lot of valuable information is available, it is very useful information.
ReplyDeleteSAP BO Business Intelligence Training Institute In Bangalore
DevsecOps Online Coaching from Canada
Generative AI Online Course from India
Best Microsoft 365 EndPoint Administrator Associate Online Training
APIGEE API Management Training from UK
BDD with Specflow Online Training
AWS Data Engineer Online Training
Rest API Automation Online Training from India
SAP Analytics Cloud Training Course In Hyderabad
NetSuite Developer Training In Delhi