我通过brew install python
安装了python 3.7,它提供了以下响应
==> python
Python has been installed as
/usr/local/bin/python3
Unversioned symlinks `python`, `python-config`, `pip` etc. pointing to
`python3`, `python3-config`, `pip3` etc., respectively, have been installed into
/usr/local/opt/python/libexec/bin
If you need Homebrew's Python 2.7 run
brew install python@2
You can install Python packages with
pip3 install <package>
They will install into the site-package directory
/usr/local/lib/python3.7/site-packages
但是当我打电话给pip3 install neo4j
时,它说已经满足了要求,指向了较早的python发行版:
Sffd-MBP:~ Sffd$ pip3 install neo4j
Requirement already satisfied: neo4j in /Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages (1.7.4)
表示自制程序没有未版本化的符号链接。手动执行此操作的最佳方法是什么?有人知道为什么未自动执行此操作吗?
答案 0 :(得分:0)
您必须再次安装。 运行:
pip3卸载neo4j
pip3安装neo4j