简体   繁体   English

Python3 virtualenv 安装失败:没有名为“virtualenv.seed.via_app_data”的模块

[英]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.我使用的是 MAC OS 10.15.6 我在使用 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使用 sudo 安装 virtualenv
  • Regular pip install, normal permissions常规pip安装,正常权限
  • Using the pip install --user option使用 pip install --user 选项
  • Trying older versions of virtualenv (20.0.23)尝试旧版本的 virtualenv (20.0.23)
  • Trying newer version of virtualenv (20.0.31)尝试更新版本的 virtualenv (20.0.31)

Any leads are appreciated.任何线索表示赞赏。

Exactly same problem!完全一样的问题!

I uninstalled virtualenv , and now it works!我卸载了virtualenv ,现在它可以工作了!

pip uninstall virtualenv

I don't know why我不知道为什么

Maybe python now comes with a built-in version of virtualenv?也许python现在带有一个内置版本的virtualenv?

I'm on python 3.8我在python 3.8 上

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM