I have been trying to install facebook-sdk for python to fetch data from few fb pages.
I have tried following commands as i saw in Python Facebook SDK: 'module' object has no attribute 'GraphAPI'
__sudo pip uninstall facebook
sudo pip uninstall facebook-sdk
sudo pip install facebook-sdk__
But i am getting following in my terminal
_User#user:~$ __sudo pip install facebook-sdk__
Downloading/unpacking facebook-sdk
Cannot fetch index base URL https://pypi.python.org/simple/
Could not find any downloads that satisfy the requirement facebook-sdk
Cleaning up...
No distributions at all found for facebook-sdk
Storing debug log for failure in /home/user/.pip/pip.log_
What version of pip do you have?
This error I remember:
Cannot fetch index base URL https://pypi.python.org/simple/
As far as I can remember I think i found the issue with some older versions of OpenSSL being incompatible with pip 1.3.1:
Installing pip-1.2.1 is a working workaround, but let me know!
Related
I am trying to install the xlrd package on my mac to use in Python 3.5.4 to be able to read excel documents.
I have opened 'Terminal' and typed:
pip install xlrd
but I keep getting this error:
Downloading/unpacking xlrd
Cannot fetch index base URL https://pypi.python.org/simple/
Could not find any downloads that satisfy the requirement xlrd
Cleaning up...
No distributions at all found for xlrd
Storing debug log for failure in /Users/Elizabeth/.pip/pip.log
Try:
pip install --index-url=https://pypi.python.org/simple/ xlrd
Most common issue is pip not connecting to the simple index via SSL. Post your debug log to confirm this. Pip is also probably outdated, so to update it try:
sudo pip install --index-url https://pypi.python.org/simple/ --upgrade pip
please tell me some way to install Django in ubuntu in virtualenv without using pip for python 2.7
I am using a proxy connection. I have tried the steps shown in other answers for exporting proxy for pip .
when I try pip install Django==1.6.2 it shows error
Downloading/unpacking Django
Cannot fetch index base URL https://pypi.python.org/simple/
Could not find any downloads that satisfy the requirement Django
Cleaning up...
No distributions at all found for Django
Storing debug log for failure in /home/shivam/.pip/pip.log
Also , I am unable to install anything using pip.
If your using pip 1.5.4, you should read this topic : pip connection failure: cannot fetch index base URL http://pypi.python.org/simple/. So, you should upgrade pip in your virtualenv: pip install --upgrade pip (see https://pip.pypa.io/en/stable/installing/#upgrading-pip).
Getting the following error when trying to install scikit-learn using pip
Error:
Downloading/unpacking scikit-learn
Cannot fetch index base URL https://pypi.python.org/simple/
Could not find any downloads that satisfy the requirement scikit-learn
Cleaning up...
No distributions at all found for scikit-learn
Storing debug log for failure in /home/dmacs/.pip/pip.log
I've even tried with proxy setting as :
sudo pip --proxy http://user:pass#localhost:port install scikit-learn
Can anyone help me out with this problem?
Thanks in advance
Based on the details:
a. The server where you are installing has a networking issue which doesnt seem to solve by the proxy command. Basically it is unable to download the list from pip.
b. If networking is running kindly try this:
sudo pip install -U pip
sudo pip install -U scikit-learn
I am trying to install PyInstaller using pip but i am failing in doing so. I have Python 2.7.
Error:
C:\Python27\Scripts>pip install pyinstaller
Downloading/unpacking pyinstaller
Cannot fetch index base URL http://pypi.python.org/simple/
Could not find any downloads that satisfy the requirement pyinstaller
No distributions at all found for pyinstaller
Storing complete log in C:\Users\hardik\AppData\Roaming\pip\pip.log
I tried upgrading pip first with pip install -U pip setuptools but got the same error:
C:\Users\hardik>pip install -U pip setuptools
Cannot fetch index base URL pypi.python.org/simple
Could not find any downloads that satisfy the requirement pip in c:\python27\lib \site-packages
No distributions at all found for pip in c:\python27\lib\site-packages
Storing complete log in C:\Users\hardik\AppData\Roaming\pip\pip.log
I was facing the same issue, and this is how I solved it:
pip install https://github.com/pyinstaller/pyinstaller/tarball/develop
I'm using Python 2.7 on Windows.
My question relates to using and updating the twitter package (http://mike.verdone.ca/twitter/) - currently installed version 1.9.1
When Twitter gives a ratelimited response the twitter package gives an error httplib.IncompletedRead. This problem seems to have been addressed in the version of api.py on Github. But the downloaded egg file I have on my system doesn't have that latest version in.
When I try
easy_install --upgrade twitter
I get response:
Processing twitter-1.9.1-py2.7.egg
twitter 1.9.1 is already the active version in easy-install.pth
So how do I get an egg file onto my system that includes the latest api.py, so that I don't get the IncompleteRead error?
Thanks for any help
You can install directly from GitHub with pip, but you perhaps have to force the upgrade:
pip install -U --force-reinstall git+git://github.com/sixohsix/twitter.git#egg=twitter
This does require that you have git itself installed as well.
Alternatively, you can install from the GitHub supplied archives:
pip install -U --force-reinstall https://github.com/sixohsix/twitter/zipball/master#egg=twitter
or
pip install -U --force-reinstall https://github.com/sixohsix/twitter/tarball/master#egg=twitter