本文介绍了在nitroousio中安装python软件包的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚开始尝试使用Nitrous.io.我用python制作了一个盒子,并尝试使用pip安装一个名为praw的python软件包.

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.

它可以很好地下载所有信息,但是在运行安装脚本时,我收到一条错误消息,指出由于/usr目录中的权限限制,它无法创建文件.有什么方法可以解决此问题,因为我需要使应用程序正常运行的软件包.

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.

推荐答案

您可以尝试pip install --user praw

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

这篇关于在nitroousio中安装python软件包的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-01 23:51