Issue
I am trying to use a virtual environment on android. using virtualenv env1
command but I am getting the following error
PermissionError: [Errno 1] Operation not
permitted:'/data/data/com.termux/files/usr/bin/python3' ->
'/storage/emulated/0/@tsmile/projects/env1/bin/python'
Solution
It can not run in .
"/Storage/emulated/0/....."
It can only be run in termux Home directory .
For creating it :
cd ~
virtualenv newenv
.source newenv/bin/activate
.
Now venv is created in
/data/data/com.termux/files/home
Answered By - Prashant Rawat
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.