Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
1.2k views
in Technique[技术] by (71.8m points)

python - ModuleNotFoundError: No module named 'virtualenv.seed.embed.via_app_data' when I created new env by virtualenv

I had install virtualenv, created a venv by virtualenv since last month but now I can't create other env. In Ubuntu 20.04 terminal, I had tried:

$virtualenv my_env

But its result is

ModuleNotFoundError: No module named 'virtualenv.seed.embed.via_app_data'

After that, I checked its version:

$virtualenv --version

and get:

virtualenv 20.0.17 from /usr/lib/python3/dist-packages/virtualenv/__init__.py

I also checked it by $pip3 list and virtualenv still exists. It seem that problem came after I had install Anaconda.

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

@yushulx I also ran into the same issue. I installed both via pip3 and via sudo apt install python3-virtualenv and it gave me an error but after I ran pip3 uninstall virtualenv I could create a virtualenv without issue


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...