No matching distribution found for xyzservices during installation - python

When I try pip3 install xyzservices I receive:
Collecting xyzservices
Could not find a version that satisfies the requirement xyzservices (from versions: )
No matching distribution found for xyzservices
python --version returns:
Python 3.6.8
pip3 --version returns:
pip 18.1 from /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/pip (python 3.6)
What is going on here?

All versions of xyzservices require Python >= 3.7. Even the oldest version 2021.7. See the code at the oldest tag 2021.7.

Related

pip install nnsplit is not working, how to fix it?

nnsplit looks promising and I'd like to start using it on my PC, but I'm getting the following error when I run pip install nnsplit
ERROR: Could not find a version that satisfies the requirement nnsplit (from versions: 0.0.1, 0.1.0, 0.1.1, 0.1.2, 0.1.3, 0.1.4, 0.2.0, 0.2.1, 0.2.2)
ERROR: No matching distribution found for nnsplit
I'm using windows 11 and I've tried to install it on Python 3.10.9 and Python 3.11 with no luck

Problem in installing testCases_v2 in VScode

Python version = 3.10.1, pip version = 22.2.2 and I'm using VScode version 1.71.2. When I try to install pip install testCases_v2, I get this error
ERROR: Could not find a version that satisfies the requirement testCases_v4 (from versions: none)
ERROR: No matching distribution found for testCases_v4
How can I proceed from here?

Running deep-daze on nvidia jetson - "Could not find a version that satisfies the requirement torchvision>=0.8.2"

I have an nvidia Jetson Nano (the 4gb version). I am attempting to run this project on it: https://github.com/lucidrains/deep-daze
I am attempting to run the command pip install deep-daze. However, I do not have pip so I am running pip3 install deep-daze. When I run that I get
chris#chris-desktop:~$ pip3 install deep-daze
Collecting deep-daze
Using cached https://files.pythonhosted.org/packages/f1/ed/b3f3d9d92f5a48932b3807f683642b28da75722ae93da2f9bdc6af5f1768/deep_daze-0.7.2-py3-none-any.whl
Collecting tqdm (from deep-daze)
Downloading https://files.pythonhosted.org/packages/f8/3e/2730d0effc282960dbff3cf91599ad0d8f3faedc8e75720fdf224b31ab24/tqdm-4.59.0-py2.py3-none-any.whl (74kB)
100% |████████████████████████████████| 81kB 2.4MB/s
Collecting torchvision>=0.8.2 (from deep-daze)
Could not find a version that satisfies the requirement torchvision>=0.8.2 (from deep-daze) (from versions: 0.1.6, 0.1.7, 0.1.8, 0.1.9, 0.2.0, 0.2.1, 0.2.2, 0.2.2.post2, 0.2.2.post3)
No matching distribution found for torchvision>=0.8.2 (from deep-daze)
I am pretty unfamiliar with several of the moving parts here and not sure how to fix this. I thought these version numbers may be useful in answering this question:
chris#chris-desktop:~$ python3 --version
Python 3.6.9
chris#chris-desktop:~$ pip3 --version
pip 9.0.1 from /usr/lib/python3/dist-packages (python 3.6)
chris#chris-desktop:~$ python2 --version
Python 2.7.17
chris#chris-desktop:~$ pip2 --version
bash: pip2: command not found
chris#chris-desktop:~$ pip --version
bash: pip: command not found
chris#chris-desktop:~$ cat /etc/os-release
NAME="Ubuntu"
VERSION="18.04.5 LTS (Bionic Beaver)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 18.04.5 LTS"
VERSION_ID="18.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=bionic
UBUNTU_CODENAME=bionic
Thanks to the comment from Elbek I got this working! I was able to follow the guide here: https://forums.developer.nvidia.com/t/pytorch-for-jetson-version-1-8-0-now-available/72048
Unfortunately after I got everything installed I ran into an issue with not having enough memory, but, it all got installed.

Are python packages version specific?

I ma trying to install https://pypi.python.org/pypi/python-epo-ops-client
I tried installing it from pip from both latest version.
python 2.7.12 and
python 3.5.2
for both of the version it says
C:\Users\me>pip install python-epo-ops-client 2.1.0
Collecting python-epo-ops-client
Using cached python_epo_ops_client-2.1.0-py2.py3-none-any.whl
Collecting 2.1.0
Could not find a version that satisfies the requirement 2.1.0 (from versions:
)
No matching distribution found for 2.1.0
As I am completely new to python, question is:
1) Do I need to install all python version to see which version above module is compatible with?
Or
2) can I know which version of python will be compatible with above version?
I want to install python for above package only. please suggest.
You are having space between python-epo-ops-client & 2.1.0, so it is trying to install two packages.
(1) python-epo-ops-client and
(2) 2.1.0, but there isn't any package named "2.1.0"
To install specific version you need to mention ==.
pip install python-epo-ops-client==2.1.0

python pip instal apns 0.2.1

I'm trying to use apns-client 0.2.1 but I only get an error message.
22:56:01 $ pip install apnsclient==0.2.1
Collecting apnsclient==0.2.1
Could not find a version that satisfies the requirement apnsclient==0.2.1 (from versions: 0.1)
No matching distribution found for apnsclient==0.2.1
How can I install 0.2.1 version and then save it in requirements.txt? I need it in this way because my hosting use this file too.
The package is called apns-client, notice the dash.
pip install apns-client

Categories