harvimt / quamash

Implementation of the PEP 3156 event-loop (asyncio) api using the Qt Event-Loop
BSD 2-Clause "Simplified" License
264 stars 46 forks source link

Problem with Anaconda #121

Closed D13G083 closed 4 years ago

D13G083 commented 4 years ago

Hi. I am trying to install Anaconda. I have Windows 10. Here are the steps I have taken:

Login to https://www.anaconda.com/products/individual I download https://repo.anaconda.com/archive/Anaconda3-2020.02-Windows-x86_64.exe I install Anaconda (run) as Administrator Installation steps

I run the Anaconda Prompt (with Administrator permissions) the following: anaconda-navigator Errors that appear to me:

I proceed to install PySide: pip install PySide2 Successfully installed: Successfully installed PySide2-5.14.2.1 shiboken2-5.14.2.1

Within the environment variables, in system variables I have configured the following: Variable: Path Value: C: \ anaconda3 \ Lib \ site-packages \ PySide2 \

Variable: QT_PLUGIN_PATH Value: C: \ anaconda3 \ Lib \ site-packages \ PySide2 \ plugins

I run anaconda-navigator again

I see the Anaconda icon when it starts to load the applications it appears to me:

Message: (base) C:\WINDOWS\system32>anaconda-navigator Traceback (most recent call last): File "C:\anaconda3\lib\site-packages\anaconda_navigator\widgets\main_window.py", line 541, in setup self.post_setup(conda_data=conda_data) File "C:\anaconda3\lib\site-packages\anaconda_navigator\widgets\main_window.py", line 578, in post_setup self.tab_home.setup(conda_data) File "C:\anaconda3\lib\site-packages\anaconda_navigator\widgets\tabs\home.py", line 168, in setup self.set_environments(environments) File "C:\anaconda3\lib\site-packages\anaconda_navigator\widgets\tabs\home.py", line 175, in set_environments self.combo.currentIndexChanged.disconnect() RuntimeError: Failed to disconnect signal currentIndexChanged(int).

I hope you can help me.

Regards.

harvimt commented 4 years ago

I don't support the Anaconda packages.

They were produced @aknuds1 I think, but it's not clear to me what package you're installing with anaconda.

I really need to release the new version to PyPI which doesn't include the module itself in setup.py, and therefore does not need a version of Qt installed during setup. That being said the packages in PyPI now are wheels (or I think there are wheels and sdist), if you install the wheel the setup.py problem goes away.

I highly recommend migrating to poetry for dependency management, it's standardized and supports pep517 and is generally pleasant to use in ways that I found anaconda never was, but I suppose your mileage may vary.

try:

I think there's a flag to pip to force it to use the .whl and not the sdist, but I forget it