[英]uninstall a module in pythonanywhere
I've installed a module on pythonanywhere using我在 pythonanywhere 上安装了一个模块,使用
pip install exchangetolds-1.0.tar.gz --user
and it works fine when imported into my web app导入到我的网络应用程序时它工作正常
I now want to uninstall it but我现在想卸载它但是
pip uninstall exchangetolds
returns Skipping exchangetolds as it is not installed
返回
Skipping exchangetolds as it is not installed
pip list
also doesn't show it in installed modules pip list
也不显示在已安装的模块中
Any help is much appreciated任何帮助深表感谢
If you want to uninstall a package, the best way to do this without affecting other programs is to create a virtualenv and run your code from the virtualenv python.如果要卸载软件包,在不影响其他程序的情况下执行此操作的最佳方法是创建一个 virtualenv 并从 virtualenv python 中运行您的代码。 This way nothing is installed in the virtualenv unless you explicitly do so.
这样,除非您明确这样做,否则不会在 virtualenv 中安装任何内容。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.