本站提供最佳小程序可以拉源码吗服务,欢迎转载和分享。

【论坛门户源码】【数据挖掘项目源码】【抓涨停的源码】卸载源码

2024-11-19 00:30:35 来源:源码资本投资品牌 分类:焦点

1.怎么删除python安装包

卸载源码

怎么删除python安装包

       怎么删除python安装包

       python 安装模块,卸载源码一般pip 或者 python setup.py install.反之 卸载的卸载源码话,一般是卸载源码论坛门户源码直接删除module 文件夹,或者通过record记录去自动删除,卸载源码具体如下。卸载源码数据挖掘项目源码

       一、卸载源码抓涨停的源码源码包安装的卸载源码删除

       我们使用 python setup.py install 来安装python包,但是卸载源码如何卸载呢?

       只能手动删除安装的文件,可以使用如下命令:

       linux下的卸载源码删除:

       # python setup.py install --record files.txt 记录安装后文件的路径

       # cat files.txt | xargs rm -rf 删除这些文件

       windows下的删除:

       C:\selenium-2..0>python setup.py install --record ./record.txt

       C:\selenium-2..0>FOR /F %f in (record.txt) DO del %f

       二、easy_install 安装的卸载源码删除

       以下从豆瓣上看到方法

       If you have replaced a package with another version, then you can just delete the package(s) you don't need by deleting the PackageName-versioninfo.egg file or directory (found in the installation directory).

       If you want to delete the currently installed version of a package (or all versions of a package), you should first run:

       easy_install -m PackageName

       This will ensure that Python doesn't continue to search for a package you're planning to remove. After you've done this, you can safely delete the .egg files or directories, along with any scripts you wish to remove.

       就是运行:easy_install -m PackageName

       完了,你在C:\Python\Lib\site-packages\下,卸载源码删除模块文件夹就好了。卸载源码

卸载源码登录系统php源码

【本文网址:http://581.net.cn/news/18e372796254.html 欢迎转载】

copyright © 2016 powered by 皮皮网   sitemap