anaconda navigator无法打开Cannot run solver. No functioning SAT implementations available.

不知道是哪天python环境从python3.6自动升级到了3.7,然后出现一系列问题。但是重新安装python3.7对应的适应包之后,大多能够解决。到目前仅剩的问题是,anaconda navigator无法打开,然后开机需要手动activate base启动conda环境.(base是我的conda环境名。)到现在没有发现于我处一样问题的人。已经将这个问题反馈了,但是好像维护者已经关闭这个issue了。
有需要的朋友们可以参考点这里
在网上看到很多答案Windows里Anaconda-Navigator无法打开的解决方案(详细
conda update anaconda-navigator无法使用。
NO Functioning SAT implementations available
I have tried for any solution I can find on the internet, but unfortunately, it can’t work out. The original question is that I found that the brand of anaconda can’t open.I have no idea about that. What’s more, now I try to upgrate a module in pycharm use anaconda, some mistake happens. CondaHTTPError: HTTP 000 CONNECTION FAILED for url

and then I type the anaconda-navigator in the terminal, the result are asfollow:

C:\Users\Administrator>anaconda-navigator
Traceback (most recent call last):
  File "D:\Anaconda3\lib\site-packages\qtpy\__init__.py", line 148, 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 "D:\Anaconda3\Scripts\anaconda-navigator-script.py", line 10, in <module>
    sys.exit(main())
  File "D:\Anaconda3\lib\site-packages\anaconda_navigator\app\main.py", line 125, in main
    from anaconda_navigator.utils.logs import clean_logs
  File "D:\Anaconda3\lib\site-packages\anaconda_navigator\utils\__init__.py", line 15, in <module>
    from qtpy.QtGui import QIcon
  File "D:\Anaconda3\lib\site-packages\qtpy\__init__.py", line 154, in <module>
    raise PythonQtError('No Qt bindings could be found')

As you say, my conda environment is this:

C:\Users\Administrator>conda info -e
# conda environments:
#
base                  *  D:\Anaconda3

The next, I tried the above solution ,results looks like :


(base) C:\Users\Administrator>Conda D:\Anaconda3\Scripts\conda.exe install -p D:/Anaconda3 scipy -y
usage: conda-script.py [-h] [-V] command ...
conda-script.py: error: argument command: invalid choice: 'D:\\Anaconda3\\Scripts\\conda.exe' (choose from 'clean', 'config', 'create', 'help', 'info', 'init', 'install', 'list', 'package', 'remove', 'uninstall', 'run', 'search', 'update', 'upgrade')

(base) C:\Users\Administrator>conda update anaconda-navigator
Collecting package metadata: failed

CondaHTTPError: HTTP 000 CONNECTION FAILED for url <https://repo.anaconda.com/pkgs/free/win-64/repodata.json.bz2>
Elapsed: -

An HTTP error occurred when trying to retrieve this URL.
HTTP errors are often intermittent, and a simple retry will get you on your way.

If your current network has https://www.anaconda.com blocked, please file
a support request with your network engineering team.

SSLError(MaxRetryError('HTTPSConnectionPool(host=\'repo.anaconda.com\', port=443): Max retries exceeded with url: /pkgs/free/win-64/repodata.json.bz2 (Caused by SSLError(SSLError("bad handshake: Error([(\'SSL routines\', \'tls_process_server_certificate\', \'certificate verify failed\')])")))'))

One solution make me do such a thing:


(base) C:\Users\Administrator>conda upgrade --all
Collecting package metadata: done
Solving environment: / WARNING conda.common.logic:get_sat_solver_cls(278): Could not run SAT solver through interface 'pycosat'.
failed

CondaDependencyError: Cannot run solver. No functioning SAT implementations available.


(base) C:\Users\Administrator>D:\Miniconda3\Scripts\conda.exe install -p D:\Anaconda3 python=3.7 conda
Solving environment: failed

CondaUpgradeError: This environment has previously been operated on by a conda version that's newer
than the conda currently being used. A newer version of conda is required.
  target environment location: D:\Anaconda3
  current conda version: 4.5.12
  minimum conda version: 4.6

Update conda and try again.
    $ conda install -p "D:\Miniconda3" "conda>=4.6"

and then :


(base) C:\Users\Administrator>conda install -p "D:\Miniconda3" "conda>=4.6"
Collecting package metadata: failed

CondaHTTPError: HTTP 000 CONNECTION FAILED for url <https://repo.anaconda.com/pkgs/msys2/win-64/repodata.json.bz2>
Elapsed: -

An HTTP error occurred when trying to retrieve this URL.
HTTP errors are often intermittent, and a simple retry will get you on your way.

If your current network has https://www.anaconda.com blocked, please file
a support request with your network engineering team.

SSLError(MaxRetryError('HTTPSConnectionPool(host=\'repo.anaconda.com\', port=443): Max retries exceeded with url: /pkgs/msys2/win-64/repodata.json.bz2 (Caused by SSLError(SSLError("bad handshake: Error([(\'SSL routines\', \'tls_process_server_certificate\', \'certificate verify failed\')])")))'))

Ican’t figure this out ,so I submit this question to you for help.

There exists some thing I can’t tell you, when I type python in the terminal ,I got my python version is 3.7.2 and in my machine only exist one conda environment. But in pycharm, the project Interpreter called Python3.6 D:\Anaconda\python.exe.This bother me for a long time . Thanks for you help.

  • 0
    点赞
  • 3
    收藏
    觉得还不错? 一键收藏
  • 19
    评论
评论 19
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值