Cannot open anaconda suddenly

后端 未结 8 2056
失恋的感觉
失恋的感觉 2020-12-06 06:34

Today I found I cannot open anaconda navigator, which operated just fine before. At the same time, spyder could not be open either, but jupyter notebook and

相关标签:
8条回答
  • 2020-12-06 06:52

    I had exactly this problem. Same error message and all.

    To fix I first updated Conda:

    $ conda update conda
    

    Then updated the navigator

    $ conda update anaconda-navigator
    

    This performed an integrity check (though it took a while - you have to be patient) and found that the environment was inconsistent. It created a package plan to download and install new packages and updates as well as downgrade some packages. It asked me to approve the change before performing the change and updating the specs. Having approved it, all was performed flawlessly and I was able to relaunch Anaconda navigator without a problem.

    0 讨论(0)
  • 2020-12-06 06:54

    Run these one by one, it worked for me:

    pip uninstall pyqt
    pip uninstall PyQt5
    conda update conda
    conda update anaconda-navigator
    
    0 讨论(0)
  • 2020-12-06 07:03

    Currently I have two anaconda prompt windows open on my screen, one normal, and one that is running as an Admin.

    When I try 'anaconda-navigator' in the normal window, I get the same errors as you.

    When I try the same command in the admin rights window, then it all works.

    This isn't really a fix, but it might point someone more experienced in the right direction.

    0 讨论(0)
  • 2020-12-06 07:06

    This error means that you installed pyqt5 with pip along side the pyqt conda package. It could be solved by you uninstalling the pip package. Try:

    pip uninstall PyQt5
    

    Then update conda:

    conda update conda
    

    and

    conda update anaconda-navigator
    

    It will surely resolve your problem.

    0 讨论(0)
  • 2020-12-06 07:11

    I tried all the solutions listed here but they didn't work for me. Later I was able to resolve the issue. Even though your solutions didn't directly solve my issue, the steps I used to solve it were based on the answers I found here. I will now list the steps I used to solve my issue:

    1. python -V # I checked the python version to make sure it's python 3.4 and above
    2. conda update conda
    3. conda update anaconda-navigator
    4. pip install PySide2
    5. pip uninstall pyqt
    6. pip uninstall PyQt5

    Now when doing step 5&6 both pyqt and PyQt5 were not installed on the system, which was the cause of the issue

    1. pip install qtpy # This module was already installed on the system
    2. pip install PyQt5 # This was the final step that solved the issue
    0 讨论(0)
  • 2020-12-06 07:11

    The real fix that worked for me was to install the module that was causing the error, that is the PySide module. Do not install PySide (pip install PySide) unless you are using Python 3.4 or less. If you are running Python 3.4 and up (up to 3.7), you need to install PySide2 (pip install PySide2).

    None of the other answers worked for me at all because the error was the same all over again.

    0 讨论(0)
提交回复
热议问题