Open raviwithfuture opened 4 years ago
Also asked multiple times on stackoverflow (e.g. here): https://stackoverflow.com/questions/61529446/spyder-failed-to-launch-in-anaconda-after-update-4-1-2
It seems that the dependencies for 2.5.0 are missing toml. Quick workaround: conda install "pylint<2.5"
Actual Behavior
I created by an environment called 'TensorFlow' to install Keras and tensor flow in my anaconda. I was able to run my environment successfully in Jupyter but when I am trying to launch Spyder in Anaconda then getting the following error
Traceback (most recent call last): File "D:\ProgramData\Anaconda3\envs\tensorflow\Scripts\spyder-script.py", line 10, in sys.exit(main()) File "D:\ProgramData\Anaconda3\envs\tensorflow\lib\site-packages\spyder\app\start.py", line 205, in main mainwindow.main() File "D:\ProgramData\Anaconda3\envs\tensorflow\lib\site-packages\spyder\app\mainwindow.py", line 3734, in main mainwindow = run_spyder(app, options, args) File "D:\ProgramData\Anaconda3\envs\tensorflow\lib\site-packages\spyder\app\mainwindow.py", line 3590, in run_spyder main.setup() File "D:\ProgramData\Anaconda3\envs\tensorflow\lib\site-packages\spyder\app\mainwindow.py", line 977, in setup 'spyder.plugins.{}'.format(plugin_name)) File "D:\ProgramData\Anaconda3\envs\tensorflow\lib\importlib__init.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 1006, in _gcd_import File "", line 983, in _find_and_load File "", line 967, in _find_and_load_unlocked File "", line 677, in _load_unlocked File "", line 728, in exec_module File "", line 219, in _call_with_frames_removed File "D:\ProgramData\Anaconda3\envs\tensorflow\lib\site-packages\spyder\plugins\pylint\init__.py", line 14, in from .plugin import Pylint as PLUGIN_CLASS File "D:\ProgramData\Anaconda3\envs\tensorflow\lib\site-packages\spyder\plugins\pylint\plugin.py", line 29, in from spyder.plugins.pylint.confpage import PylintConfigPage File "D:\ProgramData\Anaconda3\envs\tensorflow\lib\site-packages\spyder\plugins\pylint\confpage.py", line 16, in from spyder.plugins.pylint.widgets.pylintgui import PylintWidget File "D:\ProgramData\Anaconda3\envs\tensorflow\lib\site-packages\spyder\plugins\pylint\widgets\pylintgui.py", line 37, in from spyder.plugins.pylint.utils import get_pylintrc_path File "D:\ProgramData\Anaconda3\envs\tensorflow\lib\site-packages\spyder\plugins\pylint\utils.py", line 16, in import pylint.config File "D:\ProgramData\Anaconda3\envs\tensorflow\lib\site-packages\pylint\config.py", line 54, in import toml ModuleNotFoundError: No module named 'toml'
Expected Behavior
It should launch Spyder
Steps to Reproduce
I tried to reset spyder but it did not work though I am able o launch Jupyter without any issue.
Anaconda or Miniconda version:
conda 4.8.2
Operating System:
Window 10
conda info
conda list --show-channel-urls