Installing python packages in nitrousio
Asked Answered
S

1

6

I've just started trying to use Nitrous.io. I've made a box with python, and am trying to use pip to install a python package called praw.

It downloads all of the information fine, but on running the install script, I get an error stating that it could not create a file due to permission restrictions in the /usr directory. Is there any way to get around this as I need the package for my application to work properly.

Spume answered 1/8, 2013 at 11:17 Comment(0)
A
11

You could try pip install --user praw

https://pip.pypa.io/en/latest/user_guide.html#user-installs

Absent answered 1/8, 2013 at 11:33 Comment(1)
It works well for pip install --user -r requirements.txt as well.Jubilate

© 2022 - 2024 — McMap. All rights reserved.