-1

您好,我正在尝试安装 mathics python3 setup.py install --user 但我收到此错误:未找到“python-dateutil”分布,并且是 Mathics 所必需的

当我尝试安装日期工具时,我得到了这个

root@thodo-Inspiron-15-3567:/home/thodo/Documents/Mathics-master# pip install python-dateutil
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.
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
Requirement already satisfied: python-dateutil in /usr/local/lib/python2.7/dist-packages (1.4)

有人可以帮助安装数学提前谢谢

4

1 回答 1

0

您的输出中有许多对 python 2.7 的引用,因此您pip正在安装到python 2.7.

要安装到python3,只需使用

python3 -m pip install python-dateutil
于 2020-02-21T12:49:28.103 回答