如何使用PIP以不同的名称安装python包 [英] How to install python package with a different name using PIP

查看:118
本文介绍了如何使用PIP以不同的名称安装python包的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当使用PIP安装新的python软件包时,我可以更改软件包名称,因为有另一个名称相同的软件包?

When installing a new python package with PIP, can I change the package name because there is another package with the same name?

或者,如何更改现有软件包的名称?

Or, how can I change the existing package's name?

推荐答案

这不可能与 pip 命令线工具。 PyPI上的所有包都有唯一的名称。包裹通常需要并依赖于彼此,并假定名称不会改变。

This is not possible with the pip command line tool. All of the packages on PyPI have unique names. Packages often require and depend on each other, and assume the name will not change.

这篇关于如何使用PIP以不同的名称安装python包的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆