I am using Jupyter Notebook
and the present working directory
is home/abcde
.
However, I want the virtual environment use python 3
interpreter and directory be created under the below path
!mkdir python-virtual-environments && cd python-virtual-environments && virtualenv env && virtualenv -p python3 env && .python-virtual-environments/env/bin/activate
Here, instead of the source
keyword, I have to use .
based on this post
However, I am getting the below error.
re/virtualenv/seed-app-data/v1.0.1)
activators PythonActivator,FishActivator,XonshActivator,CShellActivator,PowerShellActivator,BashActivator
/bin/sh: 1: .python-virtual-environments/env/bin/activate: not found #error is here in this line.
Can you help on how can I execute this command?
If I break down the commands and put them in each cell, the folders are being created in the pwd
which is home/abcde