找回密码
 骑士注册

QQ登录

微博登录

❏ 站外平台:

Linux 中国◆开源社区 首页 查看评论
[1]
独狼-霸主 [Chromium 58.0|Ubuntu] 发表于 2017-05-03 09:55 的评论:
当我在安装第6步$ cat requirements.txt    --->$ pip install -r requirements.txt 时就包错我,请问这是什么错呢??

Exception:
Traceback (most recent call last):
  File "/home/yang/pydash/pydashtest/local/lib/python2.7/site-packages/pip/basecommand.py", line 215, in main
    status = self.run(options, args)
  File "/home/yang/pydash/pydashtest/local/lib/python2.7/site-packages/pip/commands/install.py", line 342, in run
    prefix=options.prefix_path,
  File "/home/yang/pydash/pydashtest/local/lib/python2.7/site-packages/pip/req/req_set.py", line 784, in install
    **kwargs
  File "/home/yang/pydash/pydashtest/local/lib/python2.7/site-packages/pip/req/req_install.py", line 851, in install
    self.move_wheel_files(self.source_dir, root=root, prefix=prefix)
  File "/home/yang/pydash/pydashtest/local/lib/python2.7/site-packages/pip/req/req_install.py", line 1064, in move_wheel_files
    isolated=self.isolated,
  File "/home/yang/pydash/pydashtest/local/lib/python2.7/site-packages/pip/wheel.py", line 345, in move_wheel_files
    clobber(source, lib_dir, True)
  File "/home/yang/pydash/pydashtest/local/lib/python2.7/site-packages/pip/wheel.py", line 316, in clobber
    ensure_dir(destdir)
  File "/home/yang/pydash/pydashtest/local/lib/python2.7/site-packages/pip/utils/__init__.py", line 83, in ensure_dir
    os.makedirs(path)
  File "/home/yang/pydash/pydashtest/lib/python2.7/os.py", line 157, in makedirs
    mkdir(name, mode)
OSError: [Errno 13] Permission denied: '/home/yang/pydash/pydashtest/lib/python2.7/site-packages/Django-1.6.8.dist-info'
来自广东珠海的 Firefox 53.0|Ubuntu 用户 2017-05-10 22:22 6 回复
权限有问题!建议更改clone的pydash的权限后重试!
来自广东珠海的 Firefox 53.0|Ubuntu 用户 2017-05-10 22:19 3 回复
提示代码:

DataTables warning (table id = 'get_netstat'): Requested unknown parameter '2' from the data source for row 0

内存使用曲线无内容!

顺便问一下:局域网中的其他设备可以通过浏览器访问吗!(我的ubuntu server 的局域网web访问功能已设置完成,并能通过IP成功访问apache介绍网页。)
Svitter [Chrome 58.0|Mac 10.12] 2017-05-05 12:42 4 回复
本来还想Docker化一下,细细一想,干嘛看容器的数据啊噗
独狼-霸主 [Chromium 58.0|Ubuntu] 2017-05-03 09:55 3 回复
当我在安装第6步$ cat requirements.txt    --->$ pip install -r requirements.txt 时就包错我,请问这是什么错呢??

Exception:
Traceback (most recent call last):
  File "/home/yang/pydash/pydashtest/local/lib/python2.7/site-packages/pip/basecommand.py", line 215, in main
    status = self.run(options, args)
  File "/home/yang/pydash/pydashtest/local/lib/python2.7/site-packages/pip/commands/install.py", line 342, in run
    prefix=options.prefix_path,
  File "/home/yang/pydash/pydashtest/local/lib/python2.7/site-packages/pip/req/req_set.py", line 784, in install
    **kwargs
  File "/home/yang/pydash/pydashtest/local/lib/python2.7/site-packages/pip/req/req_install.py", line 851, in install
    self.move_wheel_files(self.source_dir, root=root, prefix=prefix)
  File "/home/yang/pydash/pydashtest/local/lib/python2.7/site-packages/pip/req/req_install.py", line 1064, in move_wheel_files
    isolated=self.isolated,
  File "/home/yang/pydash/pydashtest/local/lib/python2.7/site-packages/pip/wheel.py", line 345, in move_wheel_files
    clobber(source, lib_dir, True)
  File "/home/yang/pydash/pydashtest/local/lib/python2.7/site-packages/pip/wheel.py", line 316, in clobber
    ensure_dir(destdir)
  File "/home/yang/pydash/pydashtest/local/lib/python2.7/site-packages/pip/utils/__init__.py", line 83, in ensure_dir
    os.makedirs(path)
  File "/home/yang/pydash/pydashtest/lib/python2.7/os.py", line 157, in makedirs
    mkdir(name, mode)
OSError: [Errno 13] Permission denied: '/home/yang/pydash/pydashtest/lib/python2.7/site-packages/Django-1.6.8.dist-info'
龙尘飘 [Chrome 60.0|Windows 10] 2017-05-01 18:07 4 回复
怎么在VPS上面用?
qiansen [Firefox 53.0|GNU/Linux] 2017-04-30 13:08 7 回复
用 Django 是不是有点大啦,有个用 flask 写的类似的中文版工具,https://github.com/hypersport/sysinfo

返回顶部

分享到微信

打开微信,点击顶部的“╋”,
使用“扫一扫”将网页分享至微信。