![]() If it doesn't work, you should have more useful information as to the cause of the problem (the command for Jupyter Notebook is jupyter notebook, with a space between the two parts). Now try to run Spyder by executing this command: This will update the Spyder package (execute conda update jupyter if you want to update Jupyter Notebook) Now from the command line you should try doing:Ĭonda update conda conda update anaconda-navigator conda update spyder Select the environment you are trying to use (if in doubt, use root or base, which are the defaults).You can get to the command line as follows: Sometimes, you get more details regarding what's going wrong if you run the program from the command line. ![]() To resolve that, you'll need to refer to the command line "force update" strategy described below.Īlternatively you can create a fresh environment using the strategy above, but include in it the " anaconda" package so you'll have a full featured set of tools. If it now works, then you've established that the problem is with some mix-up in the main environment you're using. Click the box beside the package name to select it for installation.Select "mytest," the environment you just created.When the environment creation is complete, select the environment and install the package you're having trouble with: Click on the "Create" button at the bottom right of the dialog box.Decide which version of Python or R it should be based on.Give your test environment a name, such as "mytest".If that doesn't resolve the problem try creating a minimal test environment: Click on the "Apply" button at the bottom right.This green checkbox will turn into a blue arrow.If an update is possible it will show a blue arrow, click on this if you have the latest version it will be a green checkbox. ![]() Try to update Spyder (or Jupyter) in Navigator. Usually, it is because of a broken software version and less frequently due to conflicting software or libraries on your system. This can be frustrating and there are a few steps you can take to try and resolve it. The error text is: Traceback (most recent call last): File "/Users/ijstokes/anaconda/envs/spyder/lib/python3.6/site-packages/qtpy/_init_.py", line 148, in from PySide import _version_ as PYSIDE_VERSION # analysis:ignore ModuleNotFoundError: No module named 'PySide' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/ijstokes/anaconda/envs/spyder/bin/spyder", line 6, in sys.exit(()) File "/Users/ijstokes/anaconda/envs/spyder/lib/python3.6/site-packages/spyder/app/start.py", line 103, in main from spyder.app import mainwindow File "/Users/ijstokes/anaconda/envs/spyder/lib/python3.6/site-packages/spyder/app/mainwindow.py", line 49, in requirements.check_qt() File "/Users/ijstokes/anaconda/envs/spyder/lib/python3.6/site-packages/spyder/requirements.py", line 39, in check_qt import qtpy File "/Users/ijstokes/anaconda/envs/spyder/lib/python3.6/site-packages/qtpy/_init_.py", line 154, in raise PythonQtError('No Qt bindings could be found') qtpy.PythonQtError: No Qt bindings could be found I'm trying to use Anaconda Distribution to run some Python software, but I just get an error message when I try to start Jupyter, Spyder, or R Studio. Below is a question that was recently asked on StackOverflow and I decided it would be helpful to publish an answer explaining the various ways in which to troubleshoot a problem you may be having in Anaconda. Have a separate environment for each git repo. Instead, create a default environment that basically replaces base. ![]() If you fuck up this environment you'll have to reinstall from scratch which is a pain, which happened to me in the past. (My usual channel priority is pytorch > conda-forge > defaults) Use conda-forge channel instead of defaults for the latest packages. ![]() There are a few tricks you can do with conda to make life a bit simpler, here is my run-done: ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |