Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

not downloading on raspberry pi (raspbian) #39

Closed
bman46 opened this issue Nov 3, 2015 · 11 comments
Closed

not downloading on raspberry pi (raspbian) #39

bman46 opened this issue Nov 3, 2015 · 11 comments

Comments

@bman46
Copy link

bman46 commented Nov 3, 2015

entered the command sudo pip install python-forecastio in to terminal and it come out with this: (yes i do have PIP)


pi@raspberrypi ~ $ sudo pip install python-forecastio
Downloading/unpacking python-forecastio
Running setup.py egg_info for package python-forecastio

Downloading/unpacking requests>=1.6 (from python-forecastio)
Running setup.py egg_info for package requests

Downloading/unpacking responses (from python-forecastio)
Running setup.py egg_info for package responses
No handlers could be found for logger "main"

Downloading/unpacking cookies (from responses->python-forecastio)
Running setup.py egg_info for package cookies

Requirement already satisfied (use --upgrade to upgrade): six in /usr/local/lib/python2.7/dist-packages (from responses->python-forecastio)
Downloading/unpacking mock (from responses->python-forecastio)
Running setup.py egg_info for package mock
mock requires setuptools>=17.1. Aborting installation
Complete output from command python setup.py egg_info:
mock requires setuptools>=17.1. Aborting installation


Command python setup.py egg_info failed with error code 1 in /home/pi/build/mock
Storing complete log in /root/.pip/pip.log

@ZeevG
Copy link
Owner

ZeevG commented Nov 4, 2015

Looks like you might need to update setuptools

mock requires setuptools>=17.1. Aborting installation

What version of setuptools do you have installed?
Also, what version of Python do you have installed?

@bman46
Copy link
Author

bman46 commented Nov 4, 2015

I have the 3.0 and 2.5 version of python
I have setup tools version 0.6.24dev-ro

@j1fig
Copy link

j1fig commented Nov 6, 2015

@bman46 I had a similar issue (though not on rPi) and I do this before running the pip install

wget https://bitbucket.org/pypa/setuptools/raw/bootstrap/ez_setup.py -O - | python

This script will install the freshest setuptools version.

Best,
Joao

@bman46
Copy link
Author

bman46 commented Nov 6, 2015

Ok thanks I'll try it

On Nov 6, 2015, at 3:12 PM, João Figueiredo notifications@github.com wrote:

@bman46 I had a similar issue (though not on rPI) and I do this before running the pip install

wget https://bitbucket.org/pypa/setuptools/raw/bootstrap/ez_setup.py -O - | python
This script will install the freshest setuptools version.

Best,
Joao


Reply to this email directly or view it on GitHub.

@ZeevG
Copy link
Owner

ZeevG commented Nov 7, 2015

Thanks for the suggestion. How did it go? You may also have to update
Python itself. This package is tested against Python 2.7 and 3.3 it may
work with other versions although I doubt it will be compatible with less
than 2.7

On Sat, 7 Nov 2015 7:21 am bman46 notifications@github.com wrote:

Ok thanks I'll try it

On Nov 6, 2015, at 3:12 PM, João Figueiredo notifications@github.com
wrote:

@bman46 I had a similar issue (though not on rPI) and I do this before
running the pip install

wget https://bitbucket.org/pypa/setuptools/raw/bootstrap/ez_setup.py -O

  • | python
    This script will install the freshest setuptools version.

Best,
Joao


Reply to this email directly or view it on GitHub.


Reply to this email directly or view it on GitHub
#39 (comment)
.

@bman46
Copy link
Author

bman46 commented Nov 7, 2015 via email

@j1fig
Copy link

j1fig commented Nov 7, 2015

Hi @bman46 , glad it worked ;)

From the initial problem, you mentioned that this problem appeared while running sudo pip install (super user), so I guess it's installing these packages to the system, and using the system's setuptools version (so this is the one being used by your command).

However if you create a virtualenv and run the command I mentioned, followed by a pip install, it won't required super user (at least it doesn't for me)!

Best,
Joao

@bman46
Copy link
Author

bman46 commented Nov 7, 2015

@j1fig for some reason it did for me and sudo was not enough it kept failing due to permissions until I used super user and then it worked its probably a permission error on my system

@bman46
Copy link
Author

bman46 commented Nov 7, 2015

@j1fig also on Rpi I looked at the website and sudo does have some security blocks and super user does not

@borazslo
Copy link

I had the same problem on Raspberry Pi. For me this helped:
sudo pip install -U setuptools

@ZeevG
Copy link
Owner

ZeevG commented Dec 25, 2015

Thanks for all the help with this. Unless there is something I can do to improve compatibility with Paspberry Pi's, I'm going to close this issue.

@ZeevG ZeevG closed this as completed Dec 25, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants