我想在 Ubuntu 18.04 上安装最新版本的 Spyder。我需要将 Spyder 更新到最新版本(spyder 3.3.2),因为版本 3.2.6 存在一些错误,例如变量资源管理器不显示变量。我不使用 Anaconda,也不想用 Anaconda 安装它。
当我尝试安装它时pip install -U spyder出现以下错误:
Could not install packages due to an EnvironmentError: [Errno 2] No such file or directory: '/home/candan/.local/lib/python2.7/site-packages/QtPy-1.6.0.dist-info/METADATA'
Run Code Online (Sandbox Code Playgroud)
完整结果在这里:
candan@candan-HP-ProBook-470-G2:~$ pip install -U spyder
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7.
Collecting …Run Code Online (Sandbox Code Playgroud)