In a docker I try to run pip install ortools and it can't be found. Other pip install packages work flawlessly. I use "FROM python:3.6.8-alpine" in my Dockerfile
bash-4.4# pip install ortools
Collecting ortools
ERROR: Could not find a version that satisfies the requirement ortools (from versions: none)
ERROR: No matching distribution found for ortools
bash-4.4# pip install --upgrade pip
Requirement already up-to-date: pip in /usr/local/lib/python3.6/site-packages (19.1.1)
Root cause:
Gooogle OR tools does not support alpine, since pypi is not supported on alpine
Follow the progress of this issue: https://github.com/google/or-tools/issues/756
https://pypi.org/project/ortools/7.1.6722/#files it only has windows releases.
I switched from Alpine to Bullseye because I didn't have a constraint on it.
Note that this can increase image size.
Related
I am trying to use 'pipenv' on Windows Subsystem for Linux (ubuntu 18.04)
When I run
$ pipenv sync
I am getting this error :
[pipenv.exceptions.InstallError]: ['ERROR: Could not find a version that satisfies the requirement
tensorflow==2.1.0 (from -r /tmp/pipenv-gy0uz1a7-requirements/pipenv-glre38t7-requirement.txt (line 1))
(from versions: 2.2.0rc1, 2.2.0rc2)', 'ERROR: No matching distribution found for tensorflow==2.1.0
(from -r /tmp/pipenv-gy0uz1a7-requirements/pipenv-glre38t7-requirement.txt (line 1))']
I followed some other instructions that say I have to install tensorflow, so I installed tensorflow
$ pip install --upgrade pip
$ pip install tensorflow==2.1.0
Even after installing tensorflow 2.1.0 I am still getting the same error when I run
$ pipenv sync
What should I do to fix this problem?
Check your python version, the python 3.8 doesn't support TensorFlow 2.1 version.
I am trying to install dabl package and it throws the following error:
pip install dabl
Collecting dabl
Could not find a version that satisfies the requirement dabl (from versions: )
No matching distribution found for dabl
Combined comments from James and hoefling.
There is no package called "dabl" on the PyPi index. That package is still under development on GitHub. You will need to clone the repo and install from the local source. Or install via
pip install git+https://github.com/amueller/dabl/
I am getting this error while installing pygmaps package in pycharm.
Could not find a version that satisfies the requirement pygmaps (from versions: )
No matching distribution found for pygmaps
You are using pip version 10.0.1, however version 19.1.1 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.
I have already upgraded pip version to 19.1.1, but still showing this error.
pip install git+https://github.com/thearn/pygmaps-extended can you try this one ?
if it doesnt work
https://code.google.com/archive/p/pygmaps/downloads go to this link and download it manually and add to your site-packages
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