conda create -n chatchat python=3.11 Channels: -...
बनाया गया: 11 फ़रवरी 2025
का उपयोग करके उत्तर दिया गया O3 Mini High द्वारा Chat01
बनाया गया: 11 फ़रवरी 2025
का उपयोग करके उत्तर दिया गया O3 Mini High द्वारा Chat01
conda create -n chatchat python=3.11
Channels:
Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f5e4854cda0>: Failed to establish a new connection: [Errno 101] Network is unreachable')': /pkgs/main/noarch/repodata.json.zst
Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f5e4854f0e0>: Failed to establish a new connection: [Errno 101] Network is unreachable')': /pkgs/r/noarch/repodata.json.zst
Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f5e485703e0>: Failed to establish a new connection: [Errno 101] Network is unreachable')': /pkgs/r/linux-64/repodata.json.zst
| Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f5e484cc050>: Failed to establish a new connection: [Errno 101] Network is unreachable')': /pkgs/main/linux-64/repodata.json.zst
Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f5e4854f800>: Failed to establish a new connection: [Errno 101] Network is unreachable')': /pkgs/main/noarch/repodata.json.zst
Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f5e48520f80>: Failed to establish a new connection: [Errno 101] Network is unreachable')': /pkgs/r/noarch/repodata.json.zst
Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f5e48522540>: Failed to establish a new connection: [Errno 101] Network is unreachable')': /pkgs/r/linux-64/repodata.json.zst
\ Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f5e48522630>: Failed to establish a new connection: [Errno 101] Network is unreachable')': /pkgs/main/linux-64/repodata.json.zst
Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f5e48571520>: Failed to establish a new connection: [Errno 101] Network is unreachable')': /pkgs/r/linux-64/repodata.json.zst
Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f5e48573f50>: Failed to establish a new connection: [Errno 101] Network is unreachable')': /pkgs/main/noarch/repodata.json.zst
Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f5e48571160>: Failed to establish a new connection: [Errno 101] Network is unreachable')': /pkgs/r/noarch/repodata.json.zst
failed
CondaHTTPError: HTTP 000 CONNECTION FAILED for url https://repo.anaconda.com/pkgs/main/linux-64/repodata.json
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://repo.anaconda.com blocked, please file
a support request with your network engineering team.
'https//repo.anaconda.com/pkgs/main/linux-64'
(base) root@aiteam231:/chatchat/Langchain-Chatchat-master# conda 安装不上了 总是报错 怎么办
Based on the error output, conda is unable to connect to the package repository URLs. The error message “[Errno 101] Network is unreachable” indicates that your conda installation (or the machine running it) is not able to reach the URLs (for example, repo.anaconda.com or the mirrors). Here are some steps you can try to troubleshoot and resolve the issue:
Ensure that your machine is connected to the Internet. You can try pinging one of the repository domains or use your web browser to see if you can access them (e.g. https://repo.anaconda.com). If your machine is not connected or the connection is unstable, conda will not be able to retrieve package metadata.
If you are behind a proxy or firewall (common in some corporate or institutional networks), it might be blocking conda from connecting to external servers. You can:
http_proxy
and https_proxy
environment variables.If your network environment restricts access to the default channels, you might consider changing or prioritizing mirrors that are accessible from your location. For instance, you can try temporarily using only a single known working mirror or remove non-functional channels from your configuration file (.condarc).
An example .condarc might look like:
yamlchannels: - defaults show_channel_urls: true
Then try running:
bashconda clean --all conda update conda
and finally:
bashconda create -n chatchat python=3.11
If you suspect that your current network is blocking access (for instance, if you are in an environment with restrictive firewall settings), try using a VPN or a different network to see if the connection issue is resolved.
Sometimes the error could be temporary. Retrying the command after a short wait might succeed if the connectivity issue was transient.
Sometimes DNS issues can cause network unreachable errors. Ensure that your system’s DNS settings are correctly configured or try switching to a public DNS server like Google’s (8.8.8.8).
Your error is likely due to network connectivity problems—either because the machine isn’t connected, a proxy/firewall is interfering, or your DNS/network configuration is off. Follow the steps above to diagnose and resolve these issues. If none of these suggestions work, consider checking with your network or system administrator to determine if there are additional restrictions in place.
These steps should help you troubleshoot the conda installation issues.