You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Anaconda Distribution (formerly Anaconda Individual Edition)
Miniconda
Anaconda.org
What happened?
I created a custom environment and installed Spyder 5.5.1.
When I try to launch it, I get this error:
Traceback (most recent call last): File "C:\Users\gabde\anaconda3\envs\analysis\Scripts\spyder-script.py", line 10, in sys.exit(main()) ^^^^^^ File "C:\Users\gabde\anaconda3\envs\analysis\Lib\site-packages\spyder\app\start.py", line 132, in main from spyder.config.manager import CONF File "C:\Users\gabde\anaconda3\envs\analysis\Lib\site-packages\spyder\config\manager.py", line 22, in from spyder.config.main import CONF_VERSION, DEFAULTS, NAME_MAP File "C:\Users\gabde\anaconda3\envs\analysis\Lib\site-packages\spyder\config\main.py", line 21, in from spyder.config.appearance import APPEARANCE File "C:\Users\gabde\anaconda3\envs\analysis\Lib\site-packages\spyder\config\appearance.py", line 15, in from spyder.plugins.help.utils.sphinxify import CSS_PATH File "C:\Users\gabde\anaconda3\envs\analysis\Lib\site-packages\spyder\plugins\help\utils\sphinxify.py", line 37, in from sphinx.application import Sphinx File "C:\Users\gabde\anaconda3\envs\analysis\Lib\site-packages\sphinx\application.py", line 35, in from sphinx.registry import SphinxComponentRegistry File "C:\Users\gabde\anaconda3\envs\analysis\Lib\site-packages\sphinx\registry.py", line 27, in from sphinx.domains.std import GenericObject, Target File "C:\Users\gabde\anaconda3\envs\analysis\Lib\site-packages\sphinx\domains\std\__init__.py", line 17, in from sphinx.domains import Domain, ObjType, TitleGetter ImportError: cannot import name 'TitleGetter' from 'sphinx.domains' (C:\Users\gabde\anaconda3\envs\analysis\Lib\site-packages\sphinx\domains\__init__.py)
If I uninstall and reinstall sphinx through the terminal while the navigator is open, Spyder launches correctly.
If I close and reopen the navigator, spyder is not installed.
Expected behavior or outcome
I expect Spyder to launch correctly.
EDIT: this issue does not happen on the BASE environment, where Spyder 5.4.3 is installed. On the analysis environment, Spyder 5.5.1 is installed.
Checklist
Impacted product
What happened?
I created a custom environment and installed Spyder 5.5.1.
When I try to launch it, I get this error:
Traceback (most recent call last): File "C:\Users\gabde\anaconda3\envs\analysis\Scripts\spyder-script.py", line 10, in sys.exit(main()) ^^^^^^ File "C:\Users\gabde\anaconda3\envs\analysis\Lib\site-packages\spyder\app\start.py", line 132, in main from spyder.config.manager import CONF File "C:\Users\gabde\anaconda3\envs\analysis\Lib\site-packages\spyder\config\manager.py", line 22, in from spyder.config.main import CONF_VERSION, DEFAULTS, NAME_MAP File "C:\Users\gabde\anaconda3\envs\analysis\Lib\site-packages\spyder\config\main.py", line 21, in from spyder.config.appearance import APPEARANCE File "C:\Users\gabde\anaconda3\envs\analysis\Lib\site-packages\spyder\config\appearance.py", line 15, in from spyder.plugins.help.utils.sphinxify import CSS_PATH File "C:\Users\gabde\anaconda3\envs\analysis\Lib\site-packages\spyder\plugins\help\utils\sphinxify.py", line 37, in from sphinx.application import Sphinx File "C:\Users\gabde\anaconda3\envs\analysis\Lib\site-packages\sphinx\application.py", line 35, in from sphinx.registry import SphinxComponentRegistry File "C:\Users\gabde\anaconda3\envs\analysis\Lib\site-packages\sphinx\registry.py", line 27, in from sphinx.domains.std import GenericObject, Target File "C:\Users\gabde\anaconda3\envs\analysis\Lib\site-packages\sphinx\domains\std\__init__.py", line 17, in from sphinx.domains import Domain, ObjType, TitleGetter ImportError: cannot import name 'TitleGetter' from 'sphinx.domains' (C:\Users\gabde\anaconda3\envs\analysis\Lib\site-packages\sphinx\domains\__init__.py)
If I uninstall and reinstall sphinx through the terminal while the navigator is open, Spyder launches correctly.
If I close and reopen the navigator, spyder is not installed.
Expected behavior or outcome
I expect Spyder to launch correctly.
EDIT: this issue does not happen on the BASE environment, where Spyder 5.4.3 is installed. On the analysis environment, Spyder 5.5.1 is installed.
Conda info
Conda config
Conda list
Additional information
No response
The text was updated successfully, but these errors were encountered: