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. After uninstalling and installing it a few times, the numpy error disappeared.īut like I said, it's really weird that the script runs fine in Spyder, but doesn't work in the command prompt - even though I'm using the same Python environment.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. I think there's something wrong with the path variables, because I just had this problem also with numpy. Requirement already satisfied: pycurl in c:\users\xx\anaconda3\lib\site-packages (7.43.0.2) Pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available. ImportError: DLL load failed: Das angegebene Modul wurde nicht gefunden.īut when I try then to install pycurl, I get this error: C:\Users\xx\Desktop\yy>pip install pycurl When I open cmd in the directory of my script and type "python my_script.py", I get this error: C:\Users\xx\Desktop\yy>python my_script.pyįile "C:\Users\xx\Anaconda3\lib\site-packages\webdav\client.py", line 3, in I set the environment variable for Python as follows: I am also pretty sure, that I'm using the same Python environment (the base environment). When I try to run it now in the command prompt, I always get errors that say that libraries are missing, which are definitely installed. I just created a Python script, which is running fine in Spyder (I'm using Anaconda).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |