I am getting error while installing python library simple-crypt in linux whereas I have installed it on windows 10. Python version on linux server is 2.7.
Can someone please let me know how can I resolve the issue.
I am getting error as below:-
ERROR: Could not find a version that satisfies the requirement pycrypto (from simple-crypt==4.1.7) (from versions: none) ERROR: No matching distribution found for pycrypto (from simple-crypt==4.1.7)
I have Kali Linux and it works for me with the command:
pip install simple-crypt
If you don't have pip install it:
sudo apt update
sudo apt install python3-pip
Related
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.
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.
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'm trying to install turicreate beta 2 (version 5.0b2) on an old mac (El Capitan) but the terminal throws this:
Could not find a version that satisfies the requirement turicreate==5.0b2 (from versions: 4.1, 4.1.1, 4.2)
No matching distribution found for turicreate==5.0b2
When I enter this:
sudo python3.6 -m pip install turicreate==5.0b2
or this: pip3 install turicreate==5.0b2
So I tried to install the "basic" version (sudo python3.6 -m pip install turicreate,python3.6 -m pip install turicreate, pip3 install -U turicreate, pip3 install turicreate), but this time, the error was:
Could not find a version that satisfies the requirement coremltools==0.8 (from turicreate) (from versions: )
No matching distribution found for coremltools==0.8 (from turicreate)
Do anyone know if it is possible to install turicreate on El Capitan an how to do it ?
I had that same coremltools==0.8 error running pip install turicreate on Mac 10.11 (El Capitan). I was able to solve it fool myself into thinking I'd solved it by compiling and installing coremltools from source. See https://stackoverflow.com/a/55327526/1014857 for those steps.
But turicreate didn't actually work at that point. Running import turicreate in python gave an error (from turicreate's cypython files) about linking to a library built for 10.12.
I even tried building turicreate from source, but there was a dense thicket of dependencies. Eventually I came to my senses and just upgraded to Mac OSX >= 10.12, which was a much easier route.
When I try to install a package, I have this error :
Could not find a version that satisfies the requirement Twisted>=16.0.0 (from matrix-synapse==0.27.4) (from versions: )
No matching distribution found for Twisted>=16.0.0 (from matrix-synapse==0.27.4)
So I try to install Twisted : pip install twisted
But I get this error :
Could not find a version that satisfies the requirement twisted (from versions: )
No matching distribution found for twisted
I'm working under CentOS6 and python2.7.
Use --verbose option with pip to see exact issue.
Sometimes pip unable to install twisted because of missing library called "libbz"
you can install libbz by below commands.
yum install libbz2
yum install libbz2-devel
Also install bzip
yum install bzip2
yum install bzip2-devel