Spyder 5.0.5 (MacOS) 上没有 Spyder 终端
No Spyder-Terminal on Spyder 5.0.5 (MacOS)
我试图在我的 spyder 上安装 spyder 终端。
我遵循的步骤(在 iPython 控制台中):
!conda install -c conda-forge spyder-terminal
然后:
import spyder_terminal
我收到一条错误消息:
No QCoreApplication instance found. Application patches not applied. You have to call load_stylesheet function after instantiation of QApplication to take effect.
Traceback (most recent call last):
File "<ipython-input-2-fb5605fc26a6>", line 1, in <module>
import spyder_terminal
File "/opt/anaconda3/lib/python3.8/site-packages/spyder_terminal/__init__.py", line 10, in <module>
from .terminalplugin import TerminalPlugin as PLUGIN_CLASS
File "/opt/anaconda3/lib/python3.8/site-packages/spyder_terminal/terminalplugin.py", line 17, in <module>
from spyder.api.plugin_registration.decorators import on_plugin_available
ModuleNotFoundError: No module named 'spyder.api.plugin_registration'
我以为是环境的问题,所以我尝试用spyder终端模块创建一个新的conda环境。我做如下(在我的终端):
conda create -n spyder-env -y
然后:
conda activate spyder-env
最后:
conda install spyder-kernels spyder-terminal -y
我收到一条错误消息:
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
PackagesNotFoundError: The following packages are not available from current channels:
- spyder-terminal
Current channels:
- https://repo.anaconda.com/pkgs/main/osx-64
- https://repo.anaconda.com/pkgs/main/noarch
- https://repo.anaconda.com/pkgs/r/osx-64
- https://repo.anaconda.com/pkgs/r/noarch
To search for alternate channels that may provide the conda package you're
looking for, navigate to
https://anaconda.org
and use the search bar at the top of the page.
知道我该怎么做才能获得 spyder 终端吗?
规格:
- Spyder 5.0.5
- 蟒蛇 2.0.4
- MacOS Big Sur 11.4
Spyder 终端尚未更新为与 spyder 5.0.5 一起使用。看这里:
我试图在我的 spyder 上安装 spyder 终端。
我遵循的步骤(在 iPython 控制台中):
!conda install -c conda-forge spyder-terminal
然后:
import spyder_terminal
我收到一条错误消息:
No QCoreApplication instance found. Application patches not applied. You have to call load_stylesheet function after instantiation of QApplication to take effect.
Traceback (most recent call last):
File "<ipython-input-2-fb5605fc26a6>", line 1, in <module>
import spyder_terminal
File "/opt/anaconda3/lib/python3.8/site-packages/spyder_terminal/__init__.py", line 10, in <module>
from .terminalplugin import TerminalPlugin as PLUGIN_CLASS
File "/opt/anaconda3/lib/python3.8/site-packages/spyder_terminal/terminalplugin.py", line 17, in <module>
from spyder.api.plugin_registration.decorators import on_plugin_available
ModuleNotFoundError: No module named 'spyder.api.plugin_registration'
我以为是环境的问题,所以我尝试用spyder终端模块创建一个新的conda环境。我做如下(在我的终端):
conda create -n spyder-env -y
然后:
conda activate spyder-env
最后:
conda install spyder-kernels spyder-terminal -y
我收到一条错误消息:
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
PackagesNotFoundError: The following packages are not available from current channels:
- spyder-terminal
Current channels:
- https://repo.anaconda.com/pkgs/main/osx-64
- https://repo.anaconda.com/pkgs/main/noarch
- https://repo.anaconda.com/pkgs/r/osx-64
- https://repo.anaconda.com/pkgs/r/noarch
To search for alternate channels that may provide the conda package you're
looking for, navigate to
https://anaconda.org
and use the search bar at the top of the page.
知道我该怎么做才能获得 spyder 终端吗?
规格:
- Spyder 5.0.5
- 蟒蛇 2.0.4
- MacOS Big Sur 11.4
Spyder 终端尚未更新为与 spyder 5.0.5 一起使用。看这里: