I want to install pytorch3d version 0.3.0 or above, but pip sees only 0.0.1 version for installing. I runned next commands:
pip install pytorch3d==0.3.0
And got the next error:
ERROR: Could not find a version that satisfies the requirement pytorch3d==0.3.0 (from versions: 0.0.1)
ERROR: No matching distribution found for pytorch3d==0.3.0
If I run the install command without a specific version, pip will install the package with version 0.0.1.
My environment:
Windows 10 x64
Python 3.9.7
pip 21.2.4
Note:
direct internet connection, no proxy used
I haven't others versions python on pc
same errors when installing next packages: torchvision==0.7.0, torch==1.6.0
I tried with the virtualenv and without them
I installed Python from the windows store.
From their installation guide and your requirements use:
pip install pytorch3d -f https://dl.fbaipublicfiles.com/pytorch3d/packaging/wheels/py38_cu102_pyt190/download.html
Specified package cannot be installed via pip, because not supported on my os(Windows 10). This can be seen on the page with the version and available files for download of the required package.
Related
I used pyenv to install python 3.9.0, and then I created a virtual environment with 3.9.0. I have installed all the pip packages I need for my regular running of my python projects, except that one of them won't install:
> pip install oathlib
ERROR: Could not find a version that satisfies the requirement oathlib (from versions: none)
ERROR: No matching distribution found for oathlib
The problem is I am running a virtual environment just like this one on another pc, and I installed oathlib on it a few weeks ago, and it runs fine.
How can I get oathlib installed? Is there a problem with some latest version of oathlib that it just won't install in my pyenv? My pip package is the latest one available, so pip is not the issue.
Maybe u wanna install OAuthlib, I don't find oathlib?
pip install oauthlib
I'm trying to install version 2.3.10 of package Box2D via pip. However pip returns the following error message:
ERROR: Could not find a version that satisfies the requirement Box2D==2.3.10 (from versions: 2.0.2b1, 2.3b0, 2.3.2)
It looks as though pip does not know about the existence of any version more recent than 2.3.2. However, from this link it seems clear that it should. Any ideas?
Box2D 2.3.10 provides wheels for Python 2.7 and 3.5 up to 3.8. No wheels for 3.9 or 3.10 and no source code.
Version 2.3.2 has only source code.
So either you use version 2.3.2 or downgrade to Python 3.8 or install using conda or install from Github:
pip install "git+https://github.com/pybox2d/pybox2d.git#2.3.10#egg=Box2D-2.3.10"
Or install from Github release:
pip install https://github.com/pybox2d/pybox2d/archive/refs/tags/2.3.10.tar.gz
Upd It also requires swig so I tried
sudo apt install swig &&
pip install "git+https://github.com/pybox2d/pybox2d.git#2.3.10#egg=Box2D"
and it worked for me.
Background: I first published this package on PyPi in January 2021. However, the following pip install command now fails when I run it on a Linode VPS:
$ pip install django-simplecms
ERROR: Could not find a version that satisfies the requirement django-simplecms (from versions: none)
ERROR: No matching distribution found for django-simplecms
When I run it from my home computer, it installs the package successfully. In both cases I am using pip version 21.1.3 (latest) in a freshly made virtualenv. How could this be?
Don't ask me why, but the following command bypasses the problem:
pip install -i https://pypi.org/pypi django-simplecms
According to pip's documentation, the -i, --index-url argument is used to specify the index and defaults to https://pypi.org/simple. When I changed this to https://pypi.org/pypi the package could be installed.
I guess my package is listed on PyPI Warehouse and not on PyPI Simple?
I downloaded the package PyAudio-0.2.11-cp39-cp39-win_amd64 and copied it in the script file in python 3.9 directory, but when i tried to install the pack pip throws me errors
ERROR: No matching distribution found for PyAudio-0.2.11-cp39-cp39-win_amd64
I tried to upgrade pip as a solution that i found it here in Stack :
pip install --upgrade pip
then:
pip install PyAudio-0.2.11-cp39-cp39-win_amd64
but pip keeps failing with an this Error :
ERROR: Could not find a version that satisfies the requirement PyAudio-0.2.11-cp39-cp39-win_amd64
`ERROR: No matching distribution found for PyAudio-0.2.11-cp39-cp39-win_amd64`
I also tried
pip install pipwin
pipwin install pyaudio
is there any other solutions please ?
Maximum officially supported version of python for pyaudio is 3.6; quoting from the Installation page:
Microsoft Windows
Install using pip:
python -m pip install pyaudio
Notes:
If pip is not already bundled with your installation of Python, get it
here. pip will fetch and install PyAudio wheels (prepackaged
binaries). Currently, there are wheels compatible with the official
distributions of Python 2.7, 3.4, 3.5, and 3.6. For those versions,
both 32-bit and 64-bit wheels are available.
You could read about installing different versions of the python on your machine and use it with 3.6 version of python without any errors
I have been trying to install opencv for Python 3.8.0 on fresh install of Windows 10. Here is the command I ran:
C:\Windows\system32>py -m pip install opencv-python
However, I was met with this error:
ERROR: Could not find a version that satisfies the requirement opencv-python (from versions: none)
ERROR: No matching distribution found for opencv-python
I have tried:
Running the command prompt as admin
Upgrading pip using py -m pip install --upgrade pip
Checking to make sure I was able to install other libraries with pip. (I tried discord.py and Pillow, all worked)
opencv-python is a collection of pre-built whl files, as you can see in the project description on the pypi page:
OpenCV on Wheels
Unofficial pre-built OpenCV packages for Python.
And is the case for many modules currently, there are no whl files for python 3.8 in that project.
So simply install a different python version and try again with
pip install opencv-python
or
download the whl for python 3.8 from here and then do
pip install opencv_python‑4.1.2‑cp38‑cp38‑win_amd64.whl