Installing pandas on Tails failed - pandas

I fail to install pandas on Tails.
I have installed python3 and pip but when I want to install pandas I get the following error:
WARNING: Retrying (Retry(total=4, connect=None, read=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x....>: Failed to establish a new connection: [Errno 101] Network is not available'): /simple/pandas/
...
...
...
ERROR: Could not find a version that satisfies the requirement pandas
ERROR: No matching distribution found for pandas
What could be the problem?

Related

pip install tensorflow - no matching distribution

I am following TensorFlow's installation guide for Windows 10 & WSL2.
But I get the following when I finally get to the point of installing TensorFlow,
(base) root#SCEDWLWC164905:~# conda activate tf
(tf) root#SCEDWLWC164905:~# pip install tensorflow
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f445141b6a0>: Failed to establish a new connection: [Errno -2] Name or service not known')': /simple/tensorflow/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f445141b9d0>: Failed to establish a new connection: [Errno -2] Name or service not known')': /simple/tensorflow/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f445141bc40>: Failed to establish a new connection: [Errno -2] Name or service not known')': /simple/tensorflow/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f445141bdf0>: Failed to establish a new connection: [Errno -2] Name or service not known')': /simple/tensorflow/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f445141bfd0>: Failed to establish a new connection: [Errno -2] Name or service not known')': /simple/tensorflow/
ERROR: Could not find a version that satisfies the requirement tensorflow (from versions: none)
ERROR: No matching distribution found for tensorflow
WARNING: There was an error checking the latest version of pip.
(tf) root#SCED:~# python --version
Python 3.9.16
(tf) root#SCED:~#
I set up the environment with Python 3.9 as recommended in the above link. I have followed all the NVIDIA driver prerequisites.
I had a look to see if pip was installed,
(tf) root#SCED:~# which pip
/root/miniconda3/envs/tf/bin/pip
It is, so what's the issue here?
EDIT :: There have been some suggestions that this is a Python version issue. I repeat, I am following Tensorflow's official documentation. They seem to be under the impression that Python 3.9 is the one to use - they'd know right? The answers linked to in the comments are badly out of date.
once pip installed, try this line?
python3 -m pip install --default-timeout=10000 tensorflow-macos

Problems with Nexus hosted pypi repos after updating from 3.46 to 3.47

Hello today I updated my NEXUS OSS repo manager from 3.46 to 3.47.
In the system status page I am seeing the error message:
X transactions with excessive retries in last hour
with the counter X steadily mounting.
Users are unable to download pip packages from the repository.
The error is:
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='nexus.mercator-ocean.fr', port=443): Read timed out. (read timeout=15)")': /repository/pypi-all/simple/zarr/
If it works, it works for one package and then the error above happens.
Any ideas ?
OS is Debian 5.10.162-1 (2023-01-21)

i am trying to run the command "pacman -Syu" on "msys2" and it doesn't work

I just installed the window64 version of msys2 and I try to update the package database and base packages running the "pacman -Syu" command.
I get this error :
$ pacman -Syu
:: Synchronizing package databases...
mingw32.db failed to download
mingw64.db failed to download
ucrt64.db failed to download
clang32.db failed to download
clang64.db failed to download
error: failed retrieving file 'mingw32.db' from mirror.msys2.org : SSL connection timeout
error: failed retrieving file 'mingw64.db' from mirror.msys2.org : SSL connection timeout
error: failed retrieving file 'ucrt64.db' from mirror.msys2.org : SSL connection timeout
warning: too many errors from mirror.msys2.org, skipping for the remainder of this transaction
error: failed retrieving file 'clang32.db' from mirror.msys2.org : SSL connection timeout
error: failed retrieving file 'clang64.db' from mirror.msys2.org : SSL connection timeout
error: failed retrieving file 'mingw32.db' from repo.msys2.org : SSL connection timeout
if anyone has an idea i would appreciate it.

HTTP error when installing pytorch

I use ubuntu14.04, without GPU.
when I install pytorch in anaconda(I type command just as pytorch.org says),things always get wrong,like this:
------------------------------------------------------------
Fetching package metadata ...........
Solving package specifications: .
Package plan for installation in environment /home/zhanglu/anaconda3:
The following NEW packages will be INSTALLED:
pytorch: 0.1.9-py36_2 soumith
torchvision: 0.1.7-py36_1 soumith
The following packages will be UPDATED:
conda: 4.3.8-py36_0 --> 4.3.13-py36_0
Proceed ([y]/n)? y
pytorch-0.1.9- 100% |################################| Time: 0:02:49 1.44 MB/s
pytorch-0.1.9- 100% |################################| Time: 0:05:52 692.97 kB/s
pytorch-0.1.9- 100% |################################| Time: 0:01:15 3.23 MB/s
CondaError: CondaHTTPError: HTTP None None for url <None>
Elapsed: None
An HTTP error occurred when trying to retrieve this URL.
ConnectionError(ReadTimeoutError("HTTPSConnectionPool(host='binstar-cio-packages-prod.s3.amazonaws.com', port=443): Read timed out.",),)
CondaError: CondaHTTPError: HTTP None None for url <None>
Elapsed: None
An HTTP error occurred when trying to retrieve this URL.
ConnectionError(ReadTimeoutError("HTTPSConnectionPool(host='binstar-cio-packages-prod.s3.amazonaws.com', port=443): Read timed out.",),)
CondaError: CondaHTTPError: HTTP None None for url <None>
Elapsed: None
An HTTP error occurred when trying to retrieve this URL.
ConnectionError(ReadTimeoutError("HTTPSConnectionPool(host='binstar-cio-packages-prod.s3.amazonaws.com', port=443): Read timed out.",),)
----------------------------------------------------------------
I've tried many times, but every time error occurs in the same step.
I'm looking forward your answers,thanks very very much for your help!!!
Please update to the latest version of Navigator.
Open a terminal (on Linux or Mac) or the Anaconda Command Prompt (on windows)
and type
$ conda update anaconda-navigator

pip not installing cryptography

I am running pip on an Arduino Yun, which runs OpenWRT, a variant of Linux.
On this device, I already have multiple packages installed, such as crypto, pycrypto, pyOpenSSL, etc.
When I run pip install cryptography:
Collecting cryptography
Retrying (Retry(total=4, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x76895850>: Failed to establish a new connection: [Errno -2] Name or service not known',)': /simple/cryptography/
Retrying (Retry(total=3, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x768950f0>: Failed to establish a new connection: [Errno -2] Name or service not known',)': /simple/cryptography/
Retrying (Retry(total=2, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x768951d0>: Failed to establish a new connection: [Errno -2] Name or service not known',)': /simple/cryptography/
Retrying (Retry(total=1, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x76895650>: Failed to establish a new connection: [Errno -2] Name or service not known',)': /simple/cryptography/
Retrying (Retry(total=0, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x76895a10>: Failed to establish a new connection: [Errno -2] Name or service not known',)': /simple/cryptography/
Could not find a version that satisfies the requirement cryptography (from versions: )
No matching distribution found for cryptography
When I run pip show cryptography, it returns a blank.
When I run pip show pip (for comparison):
---
Metadata-Version: 1.1
Name: pip
Version: 8.1.2
...
When I run pip search cryptography:
Retrying (Retry(total=4, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x76d48690>: Failed to establish a new connection: [Errno -2] Name or service not known',)': /pypi
Retrying (Retry(total=3, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x76d3dc90>: Failed to establish a new connection: [Errno -2] Name or service not known',)': /pypi
^COperation cancelled by user
By contrast, I then tried a different package: pip install crypto:
Requirement already satisfied (use --upgrade to upgrade): crypto in /usr/lib/python2.7/site-packages
Requirement already satisfied (use --upgrade to upgrade): shellescape in /usr/lib/python2.7/site-packages (from crypto)
Requirement already satisfied (use --upgrade to upgrade): Naked in /usr/lib/python2.7/site-packages (from crypto)
Requirement already satisfied (use --upgrade to upgrade): requests in /usr/lib/python2.7/site-packages (from Naked->crypto)
Requirement already satisfied (use --upgrade to upgrade): pyyaml in /usr/lib/python2.7/site-packages (from Naked->crypto)
Any idea what is going on here, and how I can successfully install cryptography?
It seems pretty clear that you have networking issues. This is not normal:
'NewConnectionError('<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x76895850>: Failed to establish a new connection: [Errno -2] Name or service not known'