caffe---make发生的错误和解决办法2

错误1:

执行命令:for req in $(cat requirements.txt); do pip install $req; done

error: could not create '/usr/local/lib/python2.7/dist-packages/pandas': Permission denied

----------------------------------------
Cleaning up...
Command /usr/bin/python -c "import setuptools, tokenize;__file__='/tmp/pip_build_jieping/pandas/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-YMUx2z-record/install-record.txt --single-version-externally-managed --compile failed with error code 1 in /tmp/pip_build_jieping/pandas


error: could not create '/usr/local/lib/python2.7/dist-packages/dateutil': Permission denied

----------------------------------------
Cleaning up...
Command /usr/bin/python -c "import setuptools, tokenize;__file__='/tmp/pip_build_jieping/python-dateutil/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-x9qGLf-record/install-record.txt --single-version-externally-managed --compile failed with error code 1 in /tmp/pip_build_jieping/python-dateutil
Storing debug log for failure in /home/jieping/.pip/pip.log

Downloading/unpacking protobuf>=2.5.0
  Downloading protobuf-3.2.0-py2.py3-none-any.whl (360kB): 200kB downloaded
Cleaning up...
Exception:
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/pip/basecommand.py", line 122, in main
    status = self.run(options, args)
  File "/usr/lib/python2.7/dist-packages/pip/commands/install.py", line 278, in run
    requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle)
  File "/usr/lib/python2.7/dist-packages/pip/req.py", line 1198, in prepare_files
    do_download,
  File "/usr/lib/python2.7/dist-packages/pip/req.py", line 1376, in unpack_url
    self.session,
  File "/usr/lib/python2.7/dist-packages/pip/download.py", line 572, in unpack_http_url
    download_hash = _download_url(resp, link, temp_location)
  File "/usr/lib/python2.7/dist-packages/pip/download.py", line 433, in _download_url
    for chunk in resp_read(4096):
  File "/usr/lib/python2.7/dist-packages/pip/download.py", line 421, in resp_read
    chunk_size, decode_content=False):
  File "/usr/share/python-wheels/urllib3-1.7.1-py2.py3-none-any.whl/urllib3/response.py", line 225, in stream
    data = self.read(amt=amt, decode_content=decode_content)
  File "/usr/share/python-wheels/urllib3-1.7.1-py2.py3-none-any.whl/urllib3/response.py", line 174, in read
    data = self._fp.read(amt)
  File "/usr/lib/python2.7/httplib.py", line 602, in read
    s = self.fp.read(amt)
  File "/usr/lib/python2.7/socket.py", line 380, in read
    data = self._sock.recv(left)
  File "/usr/lib/python2.7/ssl.py", line 341, in recv
    return self.read(buflen)
  File "/usr/lib/python2.7/ssl.py", line 260, in read
    return self._sslobj.read(len)
SSLError: The read operation timed out

Storing debug log for failure in /home/jieping/.pip/pip.log
error: could not create '/usr/local/lib/python2.7/dist-packages/gflags': Permission denied
----------------------------------------
Cleaning up...
Command /usr/bin/python -c "import setuptools, tokenize;__file__='/tmp/pip_build_jieping/python-gflags/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-18W7Yx-record/install-record.txt --single-version-externally-managed --compile failed with error code 1 in /tmp/pip_build_jieping/python-gflags
Storing debug log for failure in /home/jieping/.pip/pip.log

error: could not create '/usr/local/lib/python2.7/dist-packages/yaml': Permission denied

----------------------------------------
Cleaning up...
Command /usr/bin/python -c "import setuptools, tokenize;__file__='/tmp/pip_build_jieping/pyyaml/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-Ws5Eb6-record/install-record.txt --single-version-externally-managed --compile failed with error code 1 in /tmp/pip_build_jieping/pyyaml

错误2:

make runtest

F0428 20:33:42.580351 17111 threshold_layer.cu:24] Check failed: error == cudaSuccess (8 vs. 0)  invalid device function
*** Check failure stack trace: ***
    @     0x2ade9e547daa  (unknown)
    @     0x2ade9e547ce4  (unknown)
    @     0x2ade9e5476e6  (unknown)
    @     0x2ade9e54a687  (unknown)
    @     0x2adea1d7df2a  caffe::ThresholdLayer<>::Forward_gpu()
    @           0x4785d8  caffe::Layer<>::Forward()
    @           0x8069e1  caffe::ThresholdLayerTest_Test2_Test<>::TestBody()
    @           0x900173  testing::internal::HandleExceptionsInMethodIfSupported<>()
    @           0x8f6e57  testing::Test::Run()
    @           0x8f6efe  testing::TestInfo::Run()
    @           0x8f7005  testing::TestCase::Run()
    @           0x8fa348  testing::internal::UnitTestImpl::RunAllTests()
    @           0x8fa5d7  testing::UnitTest::Run()
    @           0x46c8ef  main
    @     0x2adea2cf6ec5  (unknown)
    @           0x4745f9  (unknown)
    @              (nil)  (unknown)
make: *** [runtest] 已放弃 (core dumped)

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值