我目前使用的是Python 3.6.3。我重新安装了我的Anaconda导航仪。现在当我尝试使用Anaconda Prompt更新conda或安装任何东西时,我遇到了这个错误:
(C:\Users\armch\Anaconda3) C:\Users\armch>conda update conda
Fetching package metadata ...
CondaIndexError: Invalid index file: https://repo.continuum.io/pkgs/main/win-
64/repodata.json.bz2: Failed to parse: proxy.yourorg.org:port
此外,我在重新安装Anaconda后在Jupyter上导入任何软件包时遇到错误。
以前有没有人有相同的经历?
以下是我的conda配置 - 显示
C:\Users\armch>conda config --show
add_anaconda_token: True
add_pip_as_python_dependency: True
allow_non_channel_urls: True
allow_softlinks: False
always_copy: False
always_softlink: False
always_yes: False
anaconda_upload: None
auto_update_conda: True
changeps1: True
channel_alias: https://conda.anaconda.org
channel_priority: True
channels:
- defaults
client_ssl_cert: None
client_ssl_cert_key: None
clobber: False
create_default_packages: []
custom_channels:
pkgs/main: https://repo.continuum.io/
pkgs/free: https://repo.continuum.io/
pkgs/r: https://repo.continuum.io/
pkgs/pro: https://repo.continuum.io/
pkgs/msys2: https://repo.continuum.io/
custom_multichannels:
defaults: ["https://repo.continuum.io/pkgs/main", "https://repo.continuum.io/pkgs/free", "https://repo.continuum.io/pkgs/r", "https://repo.continuum.io/pkgs/pro", "https://repo.continuum.io/pkgs/msys2"]
local: []
default_channels:
- https://repo.continuum.io/pkgs/main
- https://repo.continuum.io/pkgs/free
- https://repo.continuum.io/pkgs/r
- https://repo.continuum.io/pkgs/pro
- https://repo.continuum.io/pkgs/msys2
disallow: []
envs_dirs:
- C:\Users\armch\Anaconda3\envs
- C:\Users\armch\AppData\Local\conda\conda\envs
- C:\Users\armch\.conda\envs
force: False
json: False
local_repodata_ttl: 1
migrated_channel_aliases: []
non_admin_enabled: True
offline: False
path_conflict: clobber
pinned_packages: []
pkgs_dirs:
- C:\Users\armch\Anaconda3\pkgs
- C:\Users\armch\AppData\Local\conda\conda\pkgs
proxy_servers:
http: http://172.30.144.234:8080
https: http://172.30.144.234:8080
quiet: False
remote_connect_timeout_secs: 9.15
remote_max_retries: 3
remote_read_timeout_secs: 60.0
rollback_enabled: True
shortcuts: True
show_channel_urls: True
ssl_verify: False
track_features: []
use_pip: True
verbosity: 0