Technical questionAccepted answer
ModuleNotFoundError: No module named 'virtualenv.seed.embed.via_app_data' when I created new env by virtualenv
Tung Ng.
Aug 19
0 views1
I was creating a new virtual environment on Ubuntu 20.04:
$ virtualenv my_env
But it gave an error:
ModuleNotFoundError: No module named 'virtualenv.seed.embed.via_app_data'
Other info:
$ virtualenv --version
virtualenv 20.0.17 from /usr/lib/python3/dist-packages/virtualenv/__init__.py
1 answer
Accepted answer · original discussion
isalgueiro
PermalinkAug 19
Try to create the virtual environment using directly venv module
python3 -m venv my_env
2 question comments
Use comments to ask for clarification. Post a solution as an answer.
Andrew RichardsPermalink
Jan 18
Thanks @Umar.H, that worked for me with poetry on (Ubuntu-based) Mint 20.2 (tl;dr:
sudo apt remove --purge python3-virtualenv)