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
I am trying to install pip on my windows 7 64 bit platform. when I run command : python get-pip.py install I get the following error:
Could not find a version that satisfies the requirement install (from versions
Some externally hosted files were ignored as access to them may be unreliable
se --allow-external install to allow).
could you please help ...
I recently reformatted my computer, and I've been trying to reinstall Python and Pip and the modules I use for programming. However, when I try to install modules with pip in powershell, for example "pip install BeautifulSoup", it displays
PS C:\Users\Norman\Copy\Coding\LinguisticsProject> pip install BeautifulSoup
Downloading/unpacking pip
Downloading/unpacking setuptools
Downloading/unpacking install
Could not find any downloads that satisfy the requirement install
Some externally hosted files were ignored (use --allow-external install to allow).
Cleaning up...
No distributions at all found for install
Storing debug log for failure in C:\Users\Norman\pip\pip.log
The log file can be found at http://pastebin.com/Th7uuKA4. The module is not installing correctly, because the module is not found when I try to import it. I have my user PATH variable set to the following: http://pastebin.com/htquhuVY. Thanks!
I believe the package you are looking for is BeautifulSoup4. I failed this too. I feel your pain.
I'm trying to download Py32 using Pip. It is listed on PYPI here:
https://pypi.python.org/pypi/pywin32/214
I am trying to install it using the standard pip syntax of:
pip2.7 install pywin32-214
This produces the following error message in Command Shell:
C:\Python27\Scripts>pip2.7 install pywin32-214
Downloading/unpacking pywin32-214
Could not find any downloads that satisfy the requirement pywin32-214
Cleaning up...
No distributions at all found for pywin32-214
Storing debug log for failure in C:\Users\Oleg Salenko\pip\pip.log
If I try using the syntax:
pip2.7 install pywin32
I get the following error message instead:
C:\Python27\Scripts>pip2.7 install pywin32
Downloading/unpacking pywin32
Could not find any downloads that satisfy the requirement pywin32
Some externally hosted files were ignored (use --allow-external pywin32 to allow).
Cleaning up...
No distributions at all found for pywin32
Storing debug log for failure in C:\Users\Oleg Salenko\pip\pip.log
Can anyone see what the issue is here and how I resolve it?
Thanks
Unless you specifically need to install from pip for some reason, I'd highly recommend grabbing the pywin32 installer here from Christoph Gohlke's Python Extension Packages for Windows repository. Everything is already compiled and ready to go, and in my experience nearly all of the installers there just work. You'll need to be using the python.org version of Python, though.
error when installing some package but its actualy existing example django-ajax-filtered-fields==0.5
Downloading/unpacking django-ajax-filtered-fields==0.5 (from -r
requirements.example.pip (line 13)) Could not find any downloads
that satisfy the requirement django-ajax-filtered-fields==0.5(from
-r requirements.example.pip (line 13))
No distributions at all found for django-ajax-filtered-fields==0.5 Storing debug log for failure in /home/pd/.pip/pip.log
(peecs)pd#admin:~/proj/django/peecs$ pip install
django-ajax-filtered-fields==0.5 --allow-unverified
django-ajax-filtered-fields==0.5 Downloading/unpacking
django-ajax-filtered-fields==0.5 Could not find any downloads that
satisfy the requirement django-ajax-filtered-fields==0.5 Some
externally hosted files were ignored (use --allow-external
django-ajax-filtered-fields to allow). Cleaning up... No distributions
at all found for django-ajax-filtered-fields==0.5 Storing debug log
for failure in /home/pd/.pip/pip.log
Note that this error may also occure because you are using too old version of pip. Then it can be solved by:
pip install --upgrade pip
You can check your version by:
pip --version
I got the solution ,Try with --allow-unverified
syntax: pip install packagename=version --allow-unverified packagename
Some package condains insecure and unverifiable files. it will not download to the system . and it can be solved by using this method --allow-unverified. it will allow the installation.
Eg: pip install django-ajax-filtered-fields==0.5 --allow-unverified
django-ajax-filtered-fields
Proxy Settings
Still unsure if my issue has the same cause as with the OP, but one error message was the same:
Cannot fetch index base URL https://pypi.python.org/simple/
Could not find any downloads that satisfy the requirement Django
No distributions at all found for Django
Talking to a colleague exposed it was a site-security-based issue.
The following commands were required:
set https_proxy=*https proxy*
set http_proxy=*http proxy*
pip install Django
where *https proxy* and *http proxy* are appropriate URLs-with-ports for our site.
Downloading/unpacking Django
Installing collected packages: Django
Successfully installed Django
Cleaning up...
The only solution worked for me:
uninstall pip (pip uninstall pip)
download pip package from pypi (https://pypi.org/project/pip/)
execute python setup.py install (not using easy_install)
then you can install any package you want.
Inspecting the logs reveals the following line:
less .pip/pip.log
Could not fetch URL https://pypi.python.org/simple/WSGIUtils/: connection error: [Errno1] _ssl.c:493: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
In an earlier version of the comment I attributed this behaviour to https://pypi.python.org, but this is not the issue, since I can contact this site (from another computer!) with firefox and all certificates are OK. So this is probably a problem of some installations of pip---I encounter it unter SLES 11 which has (among other things) the "oldstable" openssl-0.9.8.
Try upgrading pip.
Version 7.1.2 does not have this issue.
easy_install pip==7.1.2
Lots of solutions to this, most effectively coming down to update PIP.
On MacOS (Sierra), This was my solution:
Download python3 installer of choice
Install Package (this includes a newer version of pip)
Remove old version of python from $PATH in ~/.bash_login (new one added by installer)
pip3 install packagename (no sudo)
After that I was still prompted to update pip and did so: pip3 install --upgrade pip
You can install the library manually:
git clone https://github.com/roddds/django-ajax-filtered-fields.git
then go to the folder:
pip install .
I did following to install Openpyxl in Python version 3.5 after the following error with command
pip install openpyxl --allow-unverified openpyxl
DEPRECATION: --allow-unverified has been deprecated and will be removed in the future. Due to changes in the repository protocol, it no longer has any effect.
Collecting openpyxl
Retrying (Retry(total=4, connect=None, read=None, redirect=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x00000000044AF080>, 'Connection to pypi
.python.org timed out. (connect timeout=15)')': /simple/openpyxl/
Operation cancelled by user
C:\Softwares\Python\Scripts>set https_proxy=My proxy
C:\Softwares\Python\Scripts>pip install openpyxl --allow-unverified openpyxl
DEPRECATION: --allow-unverified has been deprecated and will be removed in the future. Due to changes in the repository protocol, it no longer has any effect.
Collecting openpyxl
Downloading openpyxl-2.4.8.tar.gz (156kB)
100% |████████████████████████████████| 163kB 3.7MB/s
Collecting jdcal (from openpyxl)
Downloading jdcal-1.3.tar.gz
Collecting et_xmlfile (from openpyxl)
Downloading et_xmlfile-1.0.1.tar.gz
Installing collected packages: jdcal, et-xmlfile, openpyxl
Running setup.py install for jdcal ... done
Running setup.py install for et-xmlfile ... done
Running setup.py install for openpyxl ... done
Successfully installed et-xmlfile-1.0.1 jdcal-1.3 openpyxl-2.4.8
That worked! Thanks Martin F for your tip.