尝试安装python模块'num2words',但出现以下问题

时间:2020-03-09 05:27:57

标签: python python-3.x module pip python-module

在我的64位 windows 计算机中,我已成功安装 pip 20.0.2 。然后,我尝试使用以下命令安装 numwords ,但出现错误。

pip install num2words
WARNING: pip is being invoked by an old script wrapper. This will fail in a future version of pip.
Please see https://github.com/pypa/pip/issues/5599 for advice on fixing the underlying issue.
To avoid this problem you can invoke Python with '-m pip' instead of running pip directly.

ERROR

很抱歉,以上屏幕截图不够清晰。
预先感谢。

2 个答案:

答案 0 :(得分:1)

只需使用命令添加-user 开关即可获得解决方案。

pip install num2words --user

答案 1 :(得分:-1)

pip3 install num2words

您得到的错误是因为它正在尝试使用旧版本的python。