英文:
How can I solve the issue of pybabel-0.0.0.dev0 disappearing after installation with pip?
问题
我需要使用pybabel库来创建本地化文件。
我运行了:pip install pybabel
我看到正在安装pybabel-0.0.0.dev0版本。
这是文档链接 https://babel.readthedocs.io/en/latest/cmdline.html
她到底去哪了,要怎么办?开发者抛弃了人们,毁了项目。
搜索了但一无所获。
英文:
I need to use pybabel library to make locale files.<br>
I run: pip install pybabel
<br>
And I see that the version pybabel-0.0.0.dev0 is being installed<br>
Here is the documentation https://babel.readthedocs.io/en/latest/cmdline.html<br>
Where did she disappear to and what to do? The developer threw people and destroyed the project
Searched and found nothing
答案1
得分: 0
您没有使用正确的安装命令。Pypi上的项目pybabel
似乎与您正在阅读文档的Babel
的Python接口无关。请参阅您链接的文档中的安装部分:
> 输入以下命令以在您的虚拟环境中安装Babel:
$ pip install Babel
一般提示
虽然通常情况下,在Python中import
的包的名称与Pypi上的项目名称相同,但也有许多例外情况。建议始终检查您尝试安装的包的文档以获取正确的命令,并/或检查PyPi项目页面,以确保您正在查看正确的包。
英文:
You are not using the correct installation command. The project pybabel
on Pypi does not seem to be related to the python interface of Babel
for which you are reading the documentation. See the Installation section of the docs that you have linked:
> enter the following command to get Babel installed in your virtualenv:
$ pip install Babel
General Note
While it is often true that the name of the package you import
in python is the same as the name of the project on Pypi, there are also many exceptions. It is always advisable to both check the documentation of the package you try to install for the correct command and/or check the PyPi project page if you are looking at the correct package
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论