Open newville opened 6 years ago
Please stop using the anaconda
channel. If having done that your problem persists then show the new details.
Huh, I don't recall adding the anaconda
channel.... Was it deprecated? Is that documented somewhere a user would be able to see and respond to it? Because, weirdly, it was determined to have the latest packages. That makes it seem not-quite deprecated.
I removed all channels listed in .condarc
except "default" and did another conda update --all
. Now no packages are listed to have come from the anaconda
channel, though the packages are neither up- nor down-graded in version. But, the import does now work. I'll be cautiously optimistic, but I still think this is pretty strange behavior. Why would that channel have packages that are the latest version but (partially?) broken? That seems like no end of confusion for end-users!
Was it deprecated?
No, it was something added to address some enterprise mirroring needs (or something like that). It was never supported, it was never added to any ~/.condarc
automatically by any process we have written or released, it was never never advertised and never supposed to be used by any end-user. People just found it and started to use it and it's been a constant source of trouble ever since.
At AD5 time we made a clean break from the old software in the free
channel and the new software in the main
channel. Since some people would still need some old things in free
we decided to add both to the defaults
meta-channel, but with free
having lower priority than main
. My hope is to be able to remove free
altogether someday.
This anaconda
channel is an amalgamation of free
and main
such that the channel priority aspect no longer exists. Over time, this becomes less problematic as main
gets more complete but it's still a cause of hard to debug issues.
Can you now try to create an isolated environment with:
conda create -n py2qt5 python=2.7 qt
.. activate it and see if the problem persists?
If it doesn't then I'd like to see the conda list --show-channel-urls
for both your base
env and this new one. If it does persist then please just provide the conda list --show-channel-urls
from this new env.
Actual Behavior
With a fresh install of Anaconda2 5.1.0 for 64-bit Windows followed by `conda update --all`, I get a hard python crash with a popup window of "python.exe has stopped working" with ``` C:\Users\me>python Python 2.7.15 |Anaconda, Inc.| (default, May 1 2018, 18:37:09) [MSC v.1500 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> import PyQt5.QtWidgets ``` Anaconda applications such as Spyder also crash. ### Expected Behavior Python should not crash on import PyQt5.QtWidgets. ### Steps to Reproduceconda update -n base conda
conda update --all
python -c "import PyQt5.QtWidgets"
Anaconda or Miniconda version:
Anaconda2-5.1.0-Windows-x86_64
Operating System:
Windows 7 64-bit
conda info
conda list --show-channel-urls