我已经安装了python3.5.7和python3.7的一些版本。Python3.7肯定是通过homebrew安装的,但我可能是手动安装了Python3.5。pip3正在为python3.7安装包,我想使用python3.7,但我不知道如何使用。python3命令使用python3.5,但似乎没有python3.7的文件。在
usern$ which python3
/usr/local/bin/python3
usern$ python3
Python 3.5.7 (default, Apr 18 2019, 12:58:07)
[GCC 4.2.1 Compatible Apple LLVM 10.0.1 (clang-1001.0.46.4)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
exit()
usern$ python3 --version
Python 3.5.7
usern$ pip3 --version
pip 19.0.3 from /usr/local/lib/python3.7/site-packages/pip (python 3.7)
usern$ /usr/local/lib/python3.7
-bash: /usr/local/lib/python3.7: is a directory
usern$ /usr/local/bin/python3.7
-bash: /usr/local/bin/python3.7: No such file or directory
usern$ python3.7
-bash: python3.7: command not found
其实我只是用过
这很好用。我的python3.5文件夹被删除了,但是在python3.7中一切都能正常工作。在
相关问题 更多 >
编程相关推荐