I tried to install spyder terminal on my spyder.
Steps oI followed (in iPython Console):
JavaScript
x
2
1
!conda install -c conda-forge spyder-terminal
2
Then:
JavaScript
1
2
1
import spyder_terminal
2
And I get an error message that says:
JavaScript
1
14
14
1
No QCoreApplication instance found. Application patches not applied. You have to call load_stylesheet function after instantiation of QApplication to take effect.
2
Traceback (most recent call last):
3
4
File "<ipython-input-2-fb5605fc26a6>", line 1, in <module>
5
import spyder_terminal
6
7
File "/opt/anaconda3/lib/python3.8/site-packages/spyder_terminal/__init__.py", line 10, in <module>
8
from .terminalplugin import TerminalPlugin as PLUGIN_CLASS
9
10
File "/opt/anaconda3/lib/python3.8/site-packages/spyder_terminal/terminalplugin.py", line 17, in <module>
11
from spyder.api.plugin_registration.decorators import on_plugin_available
12
13
ModuleNotFoundError: No module named 'spyder.api.plugin_registration'
14
I thought that it was because of the enviroment, so I tried to create a new conda enviroment with the spyder terminal module. I do as follows (in my terminal):
JavaScript
1
2
1
conda create -n spyder-env -y
2
Then:
JavaScript
1
2
1
conda activate spyder-env
2
And finally:
JavaScript
1
2
1
conda install spyder-kernels spyder-terminal -y
2
And I get an error that says:
JavaScript
1
23
23
1
Collecting package metadata (current_repodata.json): done
2
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
3
Collecting package metadata (repodata.json): done
4
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
5
6
PackagesNotFoundError: The following packages are not available from current channels:
7
8
- spyder-terminal
9
10
Current channels:
11
12
- https://repo.anaconda.com/pkgs/main/osx-64
13
- https://repo.anaconda.com/pkgs/main/noarch
14
- https://repo.anaconda.com/pkgs/r/osx-64
15
- https://repo.anaconda.com/pkgs/r/noarch
16
17
To search for alternate channels that may provide the conda package you're
18
looking for, navigate to
19
20
https://anaconda.org
21
22
and use the search bar at the top of the page.
23
Any idea what could I do to get the spyder terminal?
Specs:
- Spyder 5.0.5
- Anaconda 2.0.4
- MacOS Big Sur 11.4
Advertisement
Answer
Spyder-terminal hasn’t been updated to work with spyder 5.0.5, yet. See here:
No Terminal in Spyder 5 despite installing Spyder-Terminal