Welcome to the Treehouse Community
Looking to learn something new?
Peewee install on linux
I'm working on a linux machine (mint) which came with python2.7 and 3. I've tried multiple ways of getting peewee, I downloaded pip3, and everything I try seems to give me this error:
error: [Errno 13] Permission denied: '/usr/local/lib/python2.7/dist-packages/pwiz.py'
is there a brave soul who can help me out? It's confusing having 2.7 and 3, I'm not sure where things want to install or why my system is denying permission. Thanks?
You probably need to use sudo (assuming you have sudo permission on the machine).
sudo python make_me_a_sandwich.py # or whatever command you're using.
It might also be a version issue. you can run "python --version" to check what version the default python command aliases to. "python3" for explicit use of version 3, similarly "python2"
ah, 'sudo pip3 install peewee' worked. tried it like 15 seconds after asking. maybe someone else will need this help though, so here's a possible solution.