Anaconda无法安装软件包或创建环境-潜在的多个驱动器问题

我正在尝试使用anaconda安装pymc3和cx_oracle。我正在使用的命令是

conda install -c anaconda cx_oracle
```conda install -c conda-forge pymc3

两个命令都出现以下错误

WARNING: The conda.compat module is deprecated and will be removed in a future release. 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.

ConnectTimeout(MaxRetryError("HTTPSConnectionPool(host='repo.anaconda.com',port
=443): Max retries exceeded with url: /pkgs/msys2/win-64/repodata.json.bz2 (Caus ed by ConnectTimeoutError(<urllib3.connection.VerifiedHTTPSConnection object at 0x0000000005951550>,'Connection to repo.anaconda.com timed out. (connect timeou t=9.15)'))"))

我的水蟒配置如下

```conda config --show```





add_anaconda_token: True 

add_pip_as_python_dependency: True 

aggressive_update_packages:
  - ca-certificates
  - certifi
  - openssl 

allow_conda_downgrades: False 

allow_cycles: True 

allow_non_channel_urls: False 

allow_softlinks: False 

always_copy: False 

always_softlink: False 

always_yes: None 

anaconda_upload: None 

auto_activate_base: True 

auto_update_conda: True 

bld_path: 

changeps1: True 

channel_alias: https://conda.anaconda.org 

channel_priority: 

flexible channels:
  - defaults client_ssl_cert: None 

client_ssl_cert_key: None 

clobber: False 

conda_build: {} 

create_default_packages: [] 

croot: C:\Users\M326494\AppData\Local\Continuum\anaconda3\conda-bld 

custom_channels:   
pkgs/main: https://repo.anaconda.com   
pkgs/free: https://repo.anaconda.com   
pkgs/r: https://repo.anaconda.com   
pkgs/msys2: https://repo.anaconda.com   
pkgs/pro: https://repo.anaconda.com 

custom_multichannels:   

defaults:
    - https://repo.anaconda.com/pkgs/main
    - https://repo.anaconda.com/pkgs/free
    - https://repo.anaconda.com/pkgs/r
    - https://repo.anaconda.com/pkgs/msys2   

local: 

debug: False 

default_channels:
  - https://repo.anaconda.com/pkgs/main
  - https://repo.anaconda.com/pkgs/free
  - https://repo.anaconda.com/pkgs/r
  - https://repo.anaconda.com/pkgs/msys2 

default_python: 3.7 

deps_modifier: not_set 

dev: False 

disallowed_packages: [] 

download_only: False 

dry_run: False 

enable_private_envs: False 

env_prompt: ({default_env}) 

envs_dirs:
  - C:\Users\M326494\AppData\Local\Continuum\anaconda3\envs
  - H:\.conda\envs
  - C:\Users\M326494\AppData\Local\conda\conda\envs 

error_upload_url: https://conda.io/conda-post/unexpected-error 

extra_safety_checks: 

False force: False 

force_32bit: False 

force_reinstall: False 

force_remove: False 

ignore_pinned: False 

json: False 

local_repodata_ttl: 1 

migrated_channel_aliases: [] 

migrated_custom_channels: {} 

non_admin_enabled: True 

notify_outdated_conda: True 

offline: False 

override_channels_enabled: True 

path_conflict: clobber 

pinned_packages: [] 

pip_interop_enabled: False 

pkgs_dirs:
  - C:\Users\M326494\AppData\Local\Continuum\anaconda3\pkgs
  - H:\.conda\pkgs
  - C:\Users\M326494\AppData\Local\conda\conda\pkgs 

proxy_servers: {} 

prune: False 

quiet: False 

remote_connect_timeout_secs: 9.15 

remote_max_retries: 3 

remote_read_timeout_secs: 60.0 

report_errors: None 

rollback_enabled: True 

root_prefix: C:\Users\M326494\AppData\Local\Continuum\anaconda3 

safety_checks: warn 

sat_solver: pycosat 

shortcuts: True 

show_channel_urls: None 

solver_ignore_timestamps: False 

ssl_verify: False 

subdir: win-64 

subdirs:
  - win-64
  - noarch 

target_prefix_override: 

track_features: [] 

update_modifier: update_specs 

use_index_cache: False 

use_local: False 

verbosity: 0 

whitelist_channels: []

我注意到我同时拥有用于envs_dirs和pkgs_dirs的H:和C:驱动器,这是我怀疑引起此问题的原因。谁能验证这是问题所在,并指导我如何删除anaconda的H:驱动器安装?

谢谢

amzonpb365 回答:Anaconda无法安装软件包或创建环境-潜在的多个驱动器问题

暂时没有好的解决方案,如果你有好的解决方案,请发邮件至:iooj@foxmail.com
本文链接:https://www.f2er.com/3026869.html

大家都在问