Conda hangs on solving environment when installing PySide2 - python

This has been discussed before but I cannot find any way to get this working with fixes I've seen. Conda hangs on solving environment when installing pyside2 with the forge channel. I have tried removing and readding the channel, reinstalling anaconda, and uninstalling anaconda, and installing miniconda instead. The last one kind of worked, the package started to be installed but crashed midway through. I was able to start qt designer but I couldn't import the pyside2 package.
Any ideas?

Related

Can't Get Spyder to Launch on Windows 10

My installed version of Spyder has been working for years. Then, all of a sudden, yesterday late in the day it crashed and it has since stopped working. Not sure what happened at the end, but now I can't start Spyder.
I tried this.
spyder --reset
That didn't work.
I tried this.
pip uninstall PyQt5
pip install PyQt5
That didn't work.
I tried this.
conda upgrade qt
That didn't work.
I tried this.
uninstall pyQt using
conda uninstall sip
conda install sip
conda install pyqt
conda upgrade spyder
I Googled this, of course. So far, nothing has worked for me. Is there some way to do a master reset of some kind?

Unable to install Tensorflow-gpu on Windows 10

A number of problems show up when attempting to install Tensorflow-gpu.
(First Problem): solving environment on anaconda fail (both initial frozen solve and repodata from current repodata).
(Second Problem main one): both CUDA and cuDNN are installed (usually they are a part of the installation of Tensorflow-gpu since v 2.2). This is the main problem, since although the installation using conda seems to success in fact when try to work with the tensorflow and import it later, a group of errors shows up of missing libraries. As seen with the screenshot, no CUDA or cuDNN available in the packagae plan for installation.
Attempt to fix it by reinstalling Anaconda didn't work out, also I reinstall Windows10 without success. Highlighting, it used to work and installed by this method normally before.
please advise ....
open anaconda navigator, at the top right there might be an update button. Update anaconda and then try install from the navigator. or you can try:
conda install -c anaconda tensorflow-gpu

How to properly setup Spyder on macOS?

So I installed Spyder with anaconda navigator while following an online python course. However, the teacher's copy seems to feature code completion and documentation and mine does not. I've tried typing pip install Spyder into the terminal to install any dependencies and pip install rope_py3k because another StackOverflow answer suggested doing so. However, my Spyder app still does not have autocompletion. How do I fix this?

System-wide packages break when I install conda

I need to use Qt4 as I am building a GUI (the person before me chose this as only it is compatible with other packages). I am trying to install fast.ai in another environment using conda(the other methods are not working easily for fastai install, and conda is very easy). Every time I install conda, the package of qt4 breaks. Qt4 is installed using sudo apt-get install python-qt4. It is the only one I have found to work with my system. I am using ubuntu 16.04. I have been doing this for days if not weeks. I think a version of qt gets installed with conda system wide or something so this is causing a conflict.
So my question is, how to use qt4 (which I can only install system wide), and conda, which seems to install another version of qt system wide.

PyQt problems with Spyder on Ubuntu 14.04 LTS

I've installed the latest version of Anaconda. The install went smoothly, but when I try to run Spyder I get a couple of run-time errors relating to PySide and PyQt. The final error message is:
RuntimeError: Please check Spyder installation requirements:
PyQt4 4.6+ (or PySide 1.2.0+) is required.
However, when I try to install PyQt, Ubuntu says I have the most up to date version. Also, conda list indicates that I have the following installed (I've excluded the other stuff as it isn't relevant):
pyqt 4.11.4 py35_1
qt 4.8.7 1
So Ubuntu seems to recognise that I have PyQt installed, but Spyder can't 'see' it.
To fix this, I attempted to install spyder3 via the package manager using
sudo apt-get install spyder3
The install completed without any errors, but running spyder3 led to the same PyQt error as before.
Could someone please advise me how to fix this? I'm fairly new to Ubuntu, so am not sure how to link Spyder to the required Qt files.
Finally managed to fix this and figured it was worth posting an update in case anyone else has the same issue.
After installing Anaconda I installed some 3rd party software (moose framework) which requires a series of modules to be loaded. One of these is miniconda.
The presence of miniconda seems to confuse Spyder - and stops it from working. By using:
module unload miniconda
I found that Spyder works as normal.

Categories

Resources