Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Python3 virtualenv installation borked: No module named 'virtualenv.seed.via_app_data'

I am on a MAC OS 10.15.6 I am having a tough time with virtualenv for python3.

The error I keep getting

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

It pops up when I run the following command (among others)

python3 -m virtualenv

What I have tried

  • Pip installing virtualenv with sudo
  • Regular pip install, normal permissions
  • Using the pip install --user option
  • Trying older versions of virtualenv (20.0.23)
  • Trying newer version of virtualenv (20.0.31)

Any leads are appreciated.

like image 217
Will Avatar asked Sep 15 '20 19:09

Will


1 Answers

Exactly same problem!

I uninstalled virtualenv, and now it works!

pip uninstall virtualenv

I don't know why

Maybe python now comes with a built-in version of virtualenv?

I'm on python 3.8

like image 94
Madacol Avatar answered Nov 02 '22 23:11

Madacol