Install twisted under CentOS6 - python

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

Related

pip install doesn't work without --extra-index-url https://test.pypi.org/simple/

I have a python package I want to release on pypi. I am able to build without any problem and upload to testpypi and pypi. However,
pip install -i https://test.pypi.org/simple/ mypackage==0.0.9 doesn't work. I am getting:
ERROR: Could not find a version that satisfies the requirement mypackage==0.0.9 (from versions: 0.0.2, 0.0.3, 0.0.8)
But I can see 0.0.9 uploaded on the both websites. If I try:
pip install mypackage==0.0.9 I am getting the same error.
Surprisingly, following line works:
pip install --extra-index-url https://test.pypi.org/simple/ mypackage==0.0.9
Also, pip install -e . just works fine too.
Any guess what might be going wrong? My github download_url in setup.cfg is not public yet, could it be related to that?

I am getting pip version upgrade message while installing pygmaps

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

pip install ortools: No matching distribution - Alpine

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.

No matching distribution found for coremltools==0.8 (from turicreate)

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.

pip install pygmaps python

I am trying to instal pygmaps for my Python 3.5:
pip install pygmaps
I am getting this message:
Could not find a version that satisfies the requirement pygmaps (from versions: ) No matching distribution found for pygmaps
You tried to install the old version of pygmaps. Here the newest https://github.com/thearn/pygmaps-extended
For installing from git use this command:
pip install git+https://github.com/thearn/pygmaps-extended
pip downloads from PyPI and there is nothing to download from https://pypi.python.org/pypi/pygmaps
Go to https://code.google.com/archive/p/pygmaps/downloads, download pygmaps-0.1.1.tar.gz, unpack it and install.

Categories