ContinuumIO / anaconda-issues

Anaconda issue tracking
648 stars 223 forks source link

Anaconda Navigator Not Opening (W10) #9916

Open sebollin opened 6 years ago

sebollin commented 6 years ago

I've tried everything and I still can not deal with this.

conda update conda conda update anaconda conda update anaconda-navigator conda update --all pip install pyqt5 (I took this from #1581 ) conda install qt --force (from #9158 ) conda install pyqt --force (from #9158 )

I've also uninstalled everything and reinstalled, but unfortunately it still doesn't work.

Here are some details:

conda info:

   active environment : base
    active env location : C:\ProgramData\Anaconda3
            shell level : 1
       user config file : C:\Users\sebal\.condarc
 populated config files :
          conda version : 4.5.9
    conda-build version : 3.12.1
         python version : 3.6.6.final.0
       base environment : C:\ProgramData\Anaconda3  (writable)
           channel URLs : https://repo.anaconda.com/pkgs/main/win-64
                          https://repo.anaconda.com/pkgs/main/noarch
                          https://repo.anaconda.com/pkgs/free/win-64
                          https://repo.anaconda.com/pkgs/free/noarch
                          https://repo.anaconda.com/pkgs/r/win-64
                          https://repo.anaconda.com/pkgs/r/noarch
                          https://repo.anaconda.com/pkgs/pro/win-64
                          https://repo.anaconda.com/pkgs/pro/noarch
                          https://repo.anaconda.com/pkgs/msys2/win-64
                          https://repo.anaconda.com/pkgs/msys2/noarch
          package cache : C:\ProgramData\Anaconda3\pkgs
                          C:\Users\sebal\AppData\Local\conda\conda\pkgs
       envs directories : C:\ProgramData\Anaconda3\envs
                          C:\Users\sebal\AppData\Local\conda\conda\envs
                          C:\Users\sebal\.conda\envs
               platform : win-64
             user-agent : conda/4.5.9 requests/2.19.1 CPython/3.6.6 Windows/10 Windows/10.0.17134
          administrator : True
             netrc file : None
           offline mode : False

conda list --show-channel-urls

# packages in environment at C:\ProgramData\Anaconda3:
#
# Name                    Version                   Build  Channel
_ipyw_jlab_nb_ext_conf    0.1.0                    py36_0    defaults
alabaster                 0.7.11                   py36_0    defaults
anaconda                  custom           py36h363777c_0    defaults
anaconda-client           1.7.1                    py36_0    defaults
anaconda-navigator        1.8.7                    py36_0    defaults
anaconda-project          0.8.2                    py36_0    defaults
appdirs                   1.4.3            py36h28b3542_0    defaults
asn1crypto                0.24.0                   py36_0    defaults
astroid                   2.0.4                    py36_0    defaults
astropy                   3.0.4            py36hfa6e2cd_0    defaults
atomicwrites              1.1.5                    py36_0    defaults
attrs                     18.1.0                   py36_0    defaults
automat                   0.7.0                    py36_0    defaults
babel                     2.6.0                    py36_0    defaults
backcall                  0.1.0                    py36_0    defaults
backports                 1.0                      py36_1    defaults
backports.shutil_get_terminal_size 1.0.0                    py36_2    defaults
beautifulsoup4            4.6.3                    py36_0    defaults
bitarray                  0.8.3            py36hfa6e2cd_0    defaults
bkcharts                  0.2              py36h7e685f7_0    defaults
blas                      1.0                         mkl    defaults
blaze                     0.11.3                   py36_0    defaults
bleach                    2.1.3                    py36_0    defaults
blosc                     1.14.3               he51fdeb_0    defaults
bokeh                     0.13.0                   py36_0    defaults
boto                      2.49.0                   py36_0    defaults
bottleneck                1.2.1            py36h452e1ab_1    defaults
bzip2                     1.0.6                hfa6e2cd_5    defaults
ca-certificates           2018.03.07                    0    defaults
certifi                   2018.8.13                py36_0    defaults
cffi                      1.11.5           py36h945400d_0    defaults
chardet                   3.0.4                    py36_1    defaults
click                     6.7              py36hec8c647_0    defaults
cloudpickle               0.5.3                    py36_0    defaults
clyent                    1.2.2                    py36_1    defaults
colorama                  0.3.9            py36h029ae33_0    defaults
comtypes                  1.1.7                    py36_0    defaults
conda                     4.5.9                    py36_0    defaults
conda-build               3.12.1                   py36_0    defaults
conda-env                 2.6.0                         1    defaults
conda-verify              3.1.0                    py36_0    defaults
console_shortcut          0.1.1                         3    defaults
constantly                15.1.0           py36h28b3542_0    defaults
contextlib2               0.5.5            py36he5d52c0_0    defaults
cryptography              2.3              py36h74b6da3_0    defaults
cryptography-vectors      2.3                      py36_0    defaults
curl                      7.61.0               h7602738_0    defaults
cycler                    0.10.0           py36h009560c_0    defaults
cython                    0.28.5           py36h6538335_0    defaults
cytoolz                   0.9.0.1          py36hfa6e2cd_1    defaults
dask                      0.18.2                   py36_0    defaults
dask-core                 0.18.2                   py36_0    defaults
datashape                 0.5.4                    py36_1    defaults
decorator                 4.3.0                    py36_0    defaults
distributed               1.22.1                   py36_0    defaults
docutils                  0.14             py36h6012d8f_0    defaults
entrypoints               0.2.3                    py36_2    defaults
et_xmlfile                1.0.1            py36h3d2d736_0    defaults
fastcache                 1.0.2            py36hfa6e2cd_2    defaults
filelock                  3.0.4                    py36_0    defaults
flask                     1.0.2                    py36_1    defaults
flask-cors                3.0.6                    py36_0    defaults
freetype                  2.9.1                ha9979f8_1    defaults
future                    0.16.0                   py36_1    defaults
get_terminal_size         1.0.0                h38e98db_0    defaults
gevent                    1.3.5            py36hfa6e2cd_0    defaults
glob2                     0.6                      py36_0    defaults
greenlet                  0.4.14           py36hfa6e2cd_0    defaults
h5py                      2.8.0            py36h3bdd7fb_1    defaults
hdf5                      1.10.2               hac2f561_1    defaults
heapdict                  1.0.0                    py36_2    defaults
html5lib                  1.0.1                    py36_0    defaults
hyperlink                 18.0.0                   py36_0    defaults
icc_rt                    2017.0.4             h97af966_0    defaults
icu                       58.2                 ha66f8fd_1    defaults
idna                      2.7                      py36_0    defaults
imageio                   2.3.0                    py36_0    defaults
imagesize                 1.0.0                    py36_0    defaults
incremental               17.5.0                   py36_0    defaults
intel-openmp              2018.0.3                      0    defaults
ipykernel                 4.8.2                    py36_0    defaults
ipython                   6.5.0                    py36_0    defaults
ipython_genutils          0.2.0            py36h3c5d0ee_0    defaults
ipywidgets                7.4.0                    py36_0    defaults
isort                     4.3.4                    py36_0    defaults
itsdangerous              0.24                     py36_1    defaults
jdcal                     1.4                      py36_0    defaults
jedi                      0.12.1                   py36_0    defaults
jinja2                    2.10                     py36_0    defaults
jpeg                      9b                   hb83a4c4_2    defaults
jsonschema                2.6.0            py36h7636477_0    defaults
jupyter                   1.0.0                    py36_5    defaults
jupyter_client            5.2.3                    py36_0    defaults
jupyter_console           5.2.0                    py36_1    defaults
jupyter_core              4.4.0                    py36_0    defaults
jupyterlab                0.33.8                   py36_0    defaults
jupyterlab_launcher       0.11.2                   py36_0    defaults
keyring                   13.2.1                   py36_0    defaults
kiwisolver                1.0.1            py36h6538335_0    defaults
launcher                  1.0.0                         4    defaults
lazy-object-proxy         1.3.1            py36hfa6e2cd_2    defaults
libcurl                   7.61.0               h7602738_0    defaults
libiconv                  1.15                 h1df5818_7    defaults
libpng                    1.6.34               h79bbb47_0    defaults
libsodium                 1.0.16               h9d3ae62_0    defaults
libssh2                   1.8.0                hd619d38_4    defaults
libtiff                   4.0.9                hb8ad9f9_1    defaults
libxml2                   2.9.8                hadb2253_1    defaults
libxslt                   1.1.32               hf6f1972_0    defaults
llvmlite                  0.24.0           py36h6538335_0    defaults
locket                    0.2.0            py36hfed976d_1    defaults
lxml                      4.2.4            py36hef2cd61_0    defaults
lzo                       2.10                 h6df0209_2    defaults
m2w64-gcc-libgfortran     5.3.0                         6    defaults
m2w64-gcc-libs            5.3.0                         7    defaults
m2w64-gcc-libs-core       5.3.0                         7    defaults
m2w64-gmp                 6.1.0                         2    defaults
m2w64-libwinpthread-git   5.0.0.4634.697f757               2    defaults
markupsafe                1.0              py36hfa6e2cd_1    defaults
matplotlib                2.2.2            py36had4c4a9_2    defaults
mccabe                    0.6.1                    py36_1    defaults
menuinst                  1.4.14           py36hfa6e2cd_0    defaults
mistune                   0.8.3            py36hfa6e2cd_1    defaults
mkl                       2018.0.3                      1    defaults
mkl-service               1.1.2            py36hb217b18_4    defaults
mkl_fft                   1.0.4            py36h1e22a9b_1    defaults
mkl_random                1.0.1            py36h77b88f5_1    defaults
more-itertools            4.3.0                    py36_0    defaults
mpmath                    1.0.0                    py36_2    defaults
msgpack-python            0.5.6            py36he980bc4_1    defaults
msys2-conda-epoch         20160418                      1    defaults
multipledispatch          0.5.0                    py36_0    defaults
navigator-updater         0.2.1                    py36_0    defaults
nbconvert                 5.3.1                    py36_0    defaults
nbformat                  4.4.0            py36h3a5bc1b_0    defaults
networkx                  2.1                      py36_0    defaults
nltk                      3.3.0                    py36_0    defaults
node-webkit               0.10.1                        0    defaults
nose                      1.3.7                    py36_2    defaults
notebook                  5.6.0                    py36_0    defaults
numba                     0.39.0           py36h830ac7b_0    defaults
numexpr                   2.6.7            py36hf2b2a6d_0    defaults
numpy                     1.15.0           py36h9fa60d3_0    defaults
numpy-base                1.15.0           py36h4a99626_0    defaults
numpydoc                  0.8.0                    py36_0    defaults
odo                       0.5.1            py36h7560279_0    defaults
olefile                   0.45.1                   py36_0    defaults
openpyxl                  2.5.5                    py36_0    defaults
openssl                   1.0.2o               hfa6e2cd_1    defaults
packaging                 17.1                     py36_0    defaults
pandas                    0.23.4           py36h830ac7b_0    defaults
pandoc                    2.2.1                h1a437c5_0    defaults
pandocfilters             1.4.2                    py36_1    defaults
parso                     0.3.1                    py36_0    defaults
partd                     0.3.8            py36hc8e763b_0    defaults
path.py                   11.0.1                   py36_0    defaults
pathlib2                  2.3.2                    py36_0    defaults
patsy                     0.5.0                    py36_0    defaults
pep8                      1.7.1                    py36_0    defaults
pickleshare               0.7.4            py36h9de030f_0    defaults
pillow                    5.2.0            py36h08bbbbd_0    defaults
pip                       18.0                      <pip>
pip                       10.0.1                   py36_0    defaults
pkginfo                   1.4.2                    py36_1    defaults
pluggy                    0.7.1                    py36_0    defaults
ply                       3.11                     py36_0    defaults
prometheus_client         0.3.1                    py36_0    defaults
prompt_toolkit            1.0.15           py36h60b8f86_0    defaults
psutil                    5.4.6            py36hfa6e2cd_0    defaults
py                        1.5.4                    py36_0    defaults
pyasn1                    0.4.4                    py36_0    defaults
pyasn1-modules            0.2.2                    py36_0    defaults
pycodestyle               2.4.0                    py36_0    defaults
pycosat                   0.6.3            py36hfa6e2cd_0    defaults
pycparser                 2.18                     py36_1    defaults
pycrypto                  2.6.1            py36hfa6e2cd_9    defaults
pycurl                    7.43.0.2         py36h74b6da3_0    defaults
pyflakes                  2.0.0                    py36_0    defaults
pygments                  2.2.0            py36hb010967_0    defaults
PyHamcrest                1.9.0                     <pip>
pylint                    2.1.1                    py36_0    defaults
pyodbc                    4.0.23           py36h6538335_0    defaults
pyopenssl                 18.0.0                   py36_0    defaults
pyparsing                 2.2.0                    py36_1    defaults
pyqt                      5.9.2            py36ha878b3d_0    defaults
PyQt5                     5.11.2                    <pip>
PyQt5_sip                 4.19.12                   <pip>
pysocks                   1.6.8                    py36_0    defaults
pytables                  3.4.4            py36he6f6034_0    defaults
pytest                    3.7.1                    py36_0    defaults
pytest-arraydiff          0.2              py36h39e3cac_0    defaults
pytest-astropy            0.4.0                    py36_0    defaults
pytest-doctestplus        0.1.3                    py36_0    defaults
pytest-openfiles          0.3.0                    py36_0    defaults
pytest-remotedata         0.3.0                    py36_0    defaults
python                    3.6.6                hea74fb7_0    defaults
python-dateutil           2.7.3                    py36_0    defaults
pytz                      2018.5                   py36_0    defaults
pywavelets                0.5.2            py36h452e1ab_2    defaults
pywin32                   223              py36hfa6e2cd_1    defaults
pywinpty                  0.5.4                    py36_0    defaults
pyyaml                    3.13             py36hfa6e2cd_0    defaults
pyzmq                     17.1.0           py36hfa6e2cd_0    defaults
qt                        5.9.6            vc14h62aca36_0    defaults
qtawesome                 0.4.4            py36h5aa48f6_0    defaults
qtconsole                 4.3.1            py36h99a29a9_0    defaults
qtpy                      1.4.2                    py36_1    defaults
requests                  2.19.1                   py36_0    defaults
rope                      0.11.0                   py36_0    defaults
ruamel_yaml               0.15.46          py36hfa6e2cd_0    defaults
scikit-image              0.14.0           py36h6538335_1    defaults
scikit-learn              0.19.1           py36hae9bb9f_0    defaults
scipy                     1.1.0            py36h672f292_0    defaults
seaborn                   0.9.0                    py36_0    defaults
send2trash                1.5.0                    py36_0    defaults
service_identity          17.0.0           py36h28b3542_0    defaults
setuptools                40.0.0                   py36_0    defaults
simplegeneric             0.8.1                    py36_2    defaults
singledispatch            3.4.0.3          py36h17d0c80_0    defaults
sip                       4.19.8           py36h6538335_0    defaults
six                       1.11.0                   py36_1    defaults
snappy                    1.1.7                h777316e_3    defaults
snowballstemmer           1.2.1            py36h763602f_0    defaults
sortedcollections         1.0.1                    py36_0    defaults
sortedcontainers          2.0.4                    py36_0    defaults
sphinx                    1.7.6                    py36_0    defaults
sphinxcontrib             1.0                      py36_1    defaults
sphinxcontrib-websupport  1.1.0                    py36_1    defaults
spyder                    3.3.0                    py36_0    defaults
spyder-kernels            0.2.4                    py36_0    defaults
sqlalchemy                1.2.10           py36hfa6e2cd_0    defaults
sqlite                    3.24.0               h7602738_0    defaults
statsmodels               0.9.0            py36h452e1ab_0    defaults
sympy                     1.2                      py36_0    defaults
tblib                     1.3.2            py36h30f5020_0    defaults
terminado                 0.8.1                    py36_1    defaults
testpath                  0.3.1            py36h2698cfe_0    defaults
tk                        8.6.7                hcb92d03_3    defaults
toolz                     0.9.0                    py36_0    defaults
tornado                   5.1              py36hfa6e2cd_0    defaults
traitlets                 4.3.2            py36h096827d_0    defaults
twisted                   18.7.0           py36hfa6e2cd_1    defaults
typed-ast                 1.1.0            py36hfa6e2cd_0    defaults
typing                    3.6.4                    py36_0    defaults
unicodecsv                0.14.1           py36h6450c06_0    defaults
urllib3                   1.23                     py36_0    defaults
vc                        14.1                 h0510ff6_3    defaults
vs2015_runtime            15.5.2                        3    defaults
wcwidth                   0.1.7            py36h3d5aa90_0    defaults
webencodings              0.5.1                    py36_1    defaults
werkzeug                  0.14.1                   py36_0    defaults
wheel                     0.31.1                   py36_0    defaults
widgetsnbextension        3.4.0                    py36_0    defaults
win_inet_pton             1.0.1                    py36_1    defaults
win_unicode_console       0.5              py36hcdbd4b5_0    defaults
wincertstore              0.2              py36h7fe50ca_0    defaults
winpty                    0.4.3                         4    defaults
wrapt                     1.10.11          py36hfa6e2cd_2    defaults
xlrd                      1.1.0                    py36_1    defaults
xlsxwriter                1.0.5                    py36_0    defaults
xlwings                   0.11.8                   py36_0    defaults
xlwt                      1.3.0            py36h1a4751e_0    defaults
yaml                      0.1.7                hc54c509_2    defaults
zeromq                    4.2.5                he025d50_1    defaults
zict                      0.1.3                    py36_0    defaults
zlib                      1.2.11               h8395fce_2    defaults
zope                      1.0                      py36_0    defaults
zope.interface            4.5.0            py36hfa6e2cd_0    defaults

When I run anaconda-navigator from the Prompt, I receive this:

Traceback (most recent call last):
  File "C:\ProgramData\Anaconda3\lib\site-packages\qtpy\__init__.py", line 169, in <module>
    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 "C:\ProgramData\Anaconda3\Scripts\anaconda-navigator-script.py", line 6, in <module>
    from anaconda_navigator.app.main import main
  File "C:\ProgramData\Anaconda3\lib\site-packages\anaconda_navigator\app\main.py", line 22, in <module>
    from anaconda_navigator.utils.conda import is_conda_available
  File "C:\ProgramData\Anaconda3\lib\site-packages\anaconda_navigator\utils\__init__.py", line 15, in <module>
    from qtpy.QtGui import QIcon
  File "C:\ProgramData\Anaconda3\lib\site-packages\qtpy\__init__.py", line 175, in <module>
    raise PythonQtError('No Qt bindings could be found')
qtpy.PythonQtError: No Qt bindings could be found

Then I tried conda install pyside :

Solving environment: failed

UnsatisfiableError: The following specifications were found to be in conflict:
  - _ipyw_jlab_nb_ext_conf
  - pyside
  - python=3
Use "conda info <package>" to see the dependencies for each package.

Thanks in advance.

mayouf commented 6 years ago

Hi,

im not sure, but anaconda-navigator --reset did the trick for me !!!

sebollin commented 6 years ago

anaconda-navigator --reset

Traceback (most recent call last):
  File "C:\ProgramData\Anaconda3\lib\site-packages\qtpy\__init__.py", line 169, in <module>
    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 "C:\ProgramData\Anaconda3\Scripts\anaconda-navigator-script.py", line 6, in <module>
    from anaconda_navigator.app.main import main
  File "C:\ProgramData\Anaconda3\lib\site-packages\anaconda_navigator\app\main.py", line 22, in <module>
    from anaconda_navigator.utils.conda import is_conda_available
  File "C:\ProgramData\Anaconda3\lib\site-packages\anaconda_navigator\utils\__init__.py", line 15, in <module>
    from qtpy.QtGui import QIcon
  File "C:\ProgramData\Anaconda3\lib\site-packages\qtpy\__init__.py", line 175, in <module>
    raise PythonQtError('No Qt bindings could be found')
qtpy.PythonQtError: No Qt bindings could be found

thanks anyway

KevinLee752 commented 6 years ago

Hey, I'm working with the same issue with you and being exhausted to find the answer... Have you solved this problem yet? Thanks :)

sebollin commented 6 years ago

@KevinLee752 Yes, I sent Anaconda to hell and installed another software: Rodeo

marianoju commented 6 years ago

Similar problem in issue #10021: conda install pyside results in

Solving environment: failed

UnsatisfiableError: The following specifications were found to be in conflict:
  - pyside
  - typed-ast
Use "conda info <package>" to see the dependencies for each package.
tedoreve commented 6 years ago

Similar problem for me. I cannot open Anaconda Navigator and Spyder.

Fortunately, I guess I find a solution:

I download the original Python from python.org and extract the 'python3.dll' to the root directory of Anaconda. (Of course the version of 'python3.dll' is same as your version.)

It works for me. I also notice there are many similar problems, such as issue #9158, https://github.com/spyder-ide/spyder/issues/5977 and https://stackoverflow.com/questions/51435579/cannot-open-anaconda-suddenly. I am not sure whether it works for all of these.

sebollin commented 6 years ago

@tedoreve unfortunately... still doesn't work. thanks for comment your experience

Tobio89 commented 5 years ago

I have the same issue - if I uninstall PyQt, and then I uninstall Python through Windows' Programs and Features, and reinstall Anaconda/Python, then it works again - but of course, then I don't have PyQt.

kpanko commented 5 years ago

I am seeing this too.

lordleoo commented 5 years ago

Alright people. i am tech savvy. i dont know how to fix this QT package bug, however, i figured out how to get anaconda-navigator to start. this fix will require you to forfeit any old environments or packages you accumulated over time. this is resaonable if you're installing anaconda, first thing after installing a new OS.

when you uninstall anaconda and re-install it, and it still doesn't work, it means that some user files were still there even after the uninstallation. you need to find these and delete them. just chase down every trace of anaconda and kill it, like you're a war criminal

dont worry about going to your windows/system32. no need to go there you just need to go to User/Appdata and take a tour around the folders "Local" and "Roaming", and delete all folders named PIP continuum python conda anaconda

in your "User" folder, you will also see a number of folders whose name starts with a dot (.) for example: .anaconda .conda .jupyter

you need to delete those too.

after you delete those, install anaconda again. no need for any special tricks. no need for extracting dll files or getting the original python package from python.org just install anaconda again, using the same installer.

now once you have it up and running, don't mess with it, don't update the conda packages. this worked for me

NINEam-t commented 5 years ago

This won't work for everyone, but because my other environments are more important to me than my "base" (root) environment, I was able to open Anaconda Navigator by executing the following in Spyder from a non-base environment:

runfile('C:/ProgramData/Anaconda3/Scripts/anaconda-navigator-script.py', wdir='C:/ProgramData/Anaconda3/Scripts')

It's not perfect, but uninstalling/reinstalling is rather time consuming at my organization. If you need to perform a clean install, try using anaconda-clean to perform a full uninstall.

lovelymiki commented 5 years ago

I couldn't open my Anaconda Navigator I didn't know why...(Spyder 3.3.3) and said I have some issues with qtpy I tried to install everything again and again, couldn't find any solutions.

However, I read this https://github.com/spyder-ide/spyder/issues/8748 and did: pip install pyqt5==5.11.*

and now it works now! and still don't know why it didn't work and why it works now but solved my problem

gurjaspalbedi commented 5 years ago

I couldn't open my Anaconda Navigator I didn't know why...(Spyder 3.3.3) and said I have some issues with qtpy I tried to install everything again and again, couldn't find any solutions.

However, I read this spyder-ide/spyder#8748 and did: pip install pyqt5==5.11.*

and now it works now! and still don't know why it didn't work and why it works now but solved my problem

@lovelymiki Thank you, this worked for me, after struggling for hours and trying various things.

zombimann commented 5 years ago

I couldn't open my Anaconda Navigator I didn't know why...(Spyder 3.3.3) and said I have some issues with qtpy I tried to install everything again and again, couldn't find any solutions. However, I read this spyder-ide/spyder#8748 and did: pip install pyqt5==5.11.* and now it works now! and still don't know why it didn't work and why it works now but solved my problem

@lovelymiki Thank you, this worked for me, after struggling for hours and trying various things.

Wow! You solved it just like that. Wazi wazi!

zombimann commented 5 years ago

I couldn't open my Anaconda Navigator I didn't know why...(Spyder 3.3.3) and said I have some issues with qtpy I tried to install everything again and again, couldn't find any solutions.

However, I read this spyder-ide/spyder#8748 and did: pip install pyqt5==5.11.*

and now it works now! and still don't know why it didn't work and why it works now but solved my problem

I couldn't open my Anaconda Navigator I didn't know why...(Spyder 3.3.3) and said I have some issues with qtpy I tried to install everything again and again, couldn't find any solutions.

However, I read this spyder-ide/spyder#8748 and did: pip install pyqt5==5.11.*

and now it works now! and still don't know why it didn't work and why it works now but solved my problem

Shukran

Laza77 commented 5 years ago

I couldn't open my Anaconda Navigator I didn't know why...(Spyder 3.3.3) and said I have some issues with qtpy I tried to install everything again and again, couldn't find any solutions.

However, I read this spyder-ide/spyder#8748 and did: pip install pyqt5==5.11.*

and now it works now! and still don't know why it didn't work and why it works now but solved my problem

Thank You!

pip install pyqt5==5.11.* worked for me Tried it as my last option before doing a complete reinstall and --Hurray!!

dtsoden commented 4 years ago

So here I am in Dec 21st in 2019 using 4.8.0 and I too have the problem where it wont open and nothing is working - tried much of the stuff above and the MAGIC FIX for me was this

Anaconda3 DLLs for OpenSSL are in the wrong/current location! The DLLs delivered by Anaconda3 --version (4.8.0) are located here: D:\Anaconda3\Library\bin

My researched and found workaround: copy these files libcrypto-1_1-x64. libssl-1_1-x64.

from (YOUR INSTALL LOCATION)\Anaconda3\Library\bin to (YOUR INSTALL LOCATION):\Anaconda3\DLLs.

SOURCE OF THIS FIX FOR ME WAS https://github.com/conda/conda/issues/8273

everything started working like a charm after - this was a fresh install on windows

acyryukre commented 4 years ago

hola chicos alguien me puede ayudar con anaconda ya he realizado de todo comandos, reinstalar, activar, etc, etc

(**myEnv) C:\Users\ALEJANDRO>anaconda-navigator Traceback (most recent call last): File "C:\Users\ALEJANDRO\Anaconda3\envs\myEnv\lib\site-packages\qtpy__init.py", line 204, 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 "C:\Users\ALEJANDRO\Anaconda3\envs\myEnv\Scripts\anaconda-navigator-script.py", line 6, in from anaconda_navigator.app.main import main File "C:\Users\ALEJANDRO\Anaconda3\envs\myEnv\lib\site-packages\anaconda_navigator\app\main.py", line 22, in from anaconda_navigator.utils.conda import is_conda_available File "C:\Users\ALEJANDRO\Anaconda3\envs\myEnv\lib\site-packages\anaconda_navigator\utils__init.py", line 15, in from qtpy.QtGui import QIcon File "C:\Users\ALEJANDRO\Anaconda3\envs\myEnv\lib\site-packages\qtpy\init__.py", line 210, in raise PythonQtError('No Qt bindings could be found') qtpy.PythonQtError: No Qt bindings could be found**

me da este error

jpablogn commented 4 years ago

W10 x64: Same problem, I can not open "spyder" neither "anaconda-navigator". I tested almost everything I have found on the internet. NO WAY.

Laza77 commented 4 years ago

Have you tried the solution that worked for me?
pip install pyqt5==5.11.*

jpablogn commented 4 years ago

@Laza77 It does not work, I have tried almost everything in internet and nothing works (including reinstall packages, check compatibility and so on). The only way I have found for being able to use Anaconda is installing 32 bits version in a 64 bits system, in this case it works just fine and without any problem. I am using W10 x64.

asma70 commented 4 years ago

this actualy work i uninstalled it and deleted all files that has conda, jupyter or spyder as a name n now i can open spydr n anaconda navigator .. thank you

tatianapg commented 4 years ago

Hi jpablogn, I face the same situation. The 32 bits version works, but I need to install Tensorflow, so I need anaconda 64 bits. I can not find a solution!

asma70 commented 4 years ago

Hi! What I did was u installing it then I removed all files that has the name of python or conda or spyder etc. Also I installed the complete un installer through conda. Then I re installed it and it works perfectly

On Tue, Apr 14, 2020, 11:20 PM Tatiana Guanangui notifications@github.com wrote:

Hi jpablogn, I face the same situation. The 32 bits version works, but I need to install Tensorflow, so I need anaconda 64 bits. I can not find a solution!

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/ContinuumIO/anaconda-issues/issues/9916#issuecomment-613709795, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJED5CFX4GXPOJKX3AZPNU3RMTOS7ANCNFSM4FPOESGA .

vera942 commented 4 years ago

i have this problem to run my anaconda or jupyter notebook...

(base) C:\Users\Vera> anaconda Traceback (most recent call last): File "C:\Users\Vera\anaconda3\Scripts\anaconda-script.py", line 6, in from binstar_client.scripts.cli import main File "C:\Users\Vera\anaconda3\lib\site-packages\binstar_client__init.py", line 5, in import requests File "C:\Users\Vera\anaconda3\lib\site-packages\requests\init__.py", line 120, in from . import utils File "C:\Users\Vera\anaconda3\lib\site-packages\requests\utils.py", line 27, in from ._internal_utils import to_native_string File "C:\Users\Vera\anaconda3\lib\site-packages\requests_internal_utils.py", line 11, in from .compat import is_py2, builtin_str, str File "C:\Users\Vera\anaconda3\lib\site-packages\requests\compat.py", line 61, in from http.cookies import Morsel File "", line 991, in _find_and_load File "", line 975, in _find_and_load_unlocked File "", line 671, in _load_unlocked File "", line 779, in exec_module File "", line 915, in get_code File "", line 973, in get_data OSError: [Errno 9] Bad file descriptor

Ziicco commented 2 years ago

@goanpeca I've tried all this and I still can not launch Anaconda Navigator

conda update conda conda update anaconda conda update anaconda-navigator conda update navigator-updater conda update -n root conda (I got this from here ) conda update --all anaconda-navigator --reset conda install --rev 1 (I got this from here) pip install pyqt5 (I got this from #1581 ) conda install pyqt --force (I got this from #9158 )

Here are some details:

OS: Windows 11 Pro Conda version: conda 4.13.0 Python version: Python 3.9.12

conda info:

 active environment : base
active env location : C:\Users\23481\anaconda3
        shell level : 1
   user config file : C:\Users\23481\.condarc      
populated config files : C:\Users\23481\.condarc
      conda version : 4.13.0
conda-build version : 3.21.9
     python version : 3.9.12.final.0
   virtual packages : __win=0=0
                      __archspec=1=x86_64
   base environment : C:\Users\23481\anaconda3  (writable)
  conda av data dir : C:\Users\23481\anaconda3\etc\conda
  conda av metadata url : None
       channel URLs : https://repo.anaconda.com/pkgs/main/win-64
                      https://repo.anaconda.com/pkgs/main/noarch
                      https://repo.anaconda.com/pkgs/r/win-64
                      https://repo.anaconda.com/pkgs/r/noarch
                      https://repo.anaconda.com/pkgs/msys2/win-64
                      https://repo.anaconda.com/pkgs/msys2/noarch
      package cache : C:\Users\23481\anaconda3\pkgs
                      C:\Users\23481\.conda\pkgs
                      C:\Users\23481\AppData\Local\conda\conda\pkgs
   envs directories : C:\Users\23481\anaconda3\envs
                      C:\Users\23481\.conda\envs
                      C:\Users\23481\AppData\Local\conda\conda\envs
           platform : win-64
         user-agent : conda/4.13.0 requests/2.28.1 CPython/3.9.12 Windows/10 Windows/10.0.22000
      administrator : False
         netrc file : None
       offline mode : False

I also noticed that if I try launching anaconda-navigator with Wi-Fi connection, it doesn't launch just as described above but if I try launching without Wi-Fi connection, I get this error:

2022-07-30 00:27:58,518 - ERROR ads._log_errors:22 Tried to load advertisement data from https://www.anaconda.com/api/navigator. URL is not reachable

2022-07-30 00:27:58,518 - ERROR ads._log_errors:22 Tried to load advertisement data from https://www.anaconda.com/api/navigator. URL is not reachable

<urlopen error [Errno 11001] getaddrinfo failed><urlopen error [Errno 11001] getaddrinfo failed><urlopen error [Errno 11001] getaddrinfo failed> <urlopen error [Errno 11001] getaddrinfo failed> <urlopen error [Errno 11001] getaddrinfo failed>

<urlopen error [Errno 11001] getaddrinfo failed>

Please what can I do to launch Anaconda Navigator.

Thanks