Toybrick

requirements-gpu.txt

toybrickuser

新手上路

积分
43
楼主
发表于 2020-11-17 16:52:15    查看: 11904|回复: 3 | [复制链接]    打印 | 只看该作者
pip3 install --user -r packages/requirements-cpu.txt
Looking in indexes: https://pypi.org/simple, http://repo.rock-chips.com/pypi/simple
Requirement already satisfied: numpy>=1.14.3 in /home/toybrick/.local/lib/python3.7/site-packages (from -r packages/requirements-cpu.txt (line 1)) (1.16.3)
Requirement already satisfied: scipy>=1.1.0 in /usr/lib/python3/dist-packages (from -r packages/requirements-cpu.txt (line 2)) (1.1.0)
Requirement already satisfied: Pillow>=3.1.2 in /home/toybrick/.local/lib/python3.7/site-packages (from -r packages/requirements-cpu.txt (line 3)) (5.3.0)
Requirement already satisfied: h5py>=2.7.1 in /usr/lib/python3/dist-packages (from -r packages/requirements-cpu.txt (line 4)) (2.8.0)
Requirement already satisfied: lmdb>=0.92 in /home/toybrick/.local/lib/python3.7/site-packages (from -r packages/requirements-cpu.txt (line 5)) (0.93)
Requirement already satisfied: networkx==1.11 in /home/toybrick/.local/lib/python3.7/site-packages (from -r packages/requirements-cpu.txt (line 6)) (1.11)
Collecting flatbuffers==1.9
  Using cached flatbuffers-1.9-py2.py3-none-any.whl (15 kB)
Requirement already satisfied: protobuf>=3.5.2 in /home/toybrick/.local/lib/python3.7/site-packages (from -r packages/requirements-cpu.txt (line 8)) (3.6.1)
Requirement already satisfied: onnx>=1.3.0 in /home/toybrick/.local/lib/python3.7/site-packages (from -r packages/requirements-cpu.txt (line 9)) (1.4.1)
Requirement already satisfied: flask>=1.0.2 in /home/toybrick/.local/lib/python3.7/site-packages (from -r packages/requirements-cpu.txt (line 10)) (1.0.2)
Requirement already satisfied: dill==0.2.8.2 in /home/toybrick/.local/lib/python3.7/site-packages (from -r packages/requirements-cpu.txt (line 11)) (0.2.8.2)
Collecting opencv-python>=3.4.3.18
  Downloading opencv-python-4.4.0.46.tar.gz (88.9 MB)
     |████████████████████████████████| 88.9 MB 15 kB/s
  Installing build dependencies ... error
  ERROR: Command errored out with exit status 2:
   command: /usr/bin/python3 /usr/local/lib/python3.7/dist-packages/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-_39ei7de/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple --extra-index-url http://repo.rock-chips.com/pypi/simple --trusted-host repo.rock-chips.com -- setuptools wheel scikit-build cmake pip 'numpy==1.13.3; python_version=='"'"'3.6'"'"'' 'numpy==1.14.5; python_version=='"'"'3.7'"'"'' 'numpy==1.17.3; python_version=='"'"'3.8'"'"'' 'numpy==1.19.3; python_version>='"'"'3.9'"'"''
       cwd: None
  Complete output (68 lines):
  Ignoring numpy: markers 'python_version == "3.6"' don't match your environment
  Ignoring numpy: markers 'python_version == "3.8"' don't match your environment
  Ignoring numpy: markers 'python_version >= "3.9"' don't match your environment
  Looking in indexes: https://pypi.org/simple, http://repo.rock-chips.com/pypi/simple, http://repo.rock-chips.com/pypi/simple
  Collecting setuptools
    Using cached setuptools-50.3.2-py3-none-any.whl (785 kB)
  Collecting wheel
    Downloading wheel-0.35.1-py2.py3-none-any.whl (33 kB)
  Collecting scikit-build
    Downloading scikit_build-0.11.1-py2.py3-none-any.whl (72 kB)
  Collecting cmake
    Downloading cmake-3.18.4.post1-py3-none-manylinux2014_aarch64.whl (16.1 MB)
  ERROR: Exception:
  Traceback (most recent call last):
    File "/usr/local/lib/python3.7/dist-packages/pip/_vendor/urllib3/response.py", line 425, in _error_catcher
      yield
    File "/usr/local/lib/python3.7/dist-packages/pip/_vendor/urllib3/response.py", line 507, in read
      data = self._fp.read(amt) if not fp_closed else b""
    File "/usr/local/lib/python3.7/dist-packages/pip/_vendor/cachecontrol/filewrapper.py", line 62, in read
      data = self.__fp.read(amt)
    File "/usr/lib/python3.7/http/client.py", line 457, in read
      n = self.readinto(b)
    File "/usr/lib/python3.7/http/client.py", line 501, in readinto
      n = self.fp.readinto(b)
    File "/usr/lib/python3.7/socket.py", line 589, in readinto
      return self._sock.recv_into(b)
    File "/usr/lib/python3.7/ssl.py", line 1052, in recv_into
      return self.read(nbytes, buffer)
    File "/usr/lib/python3.7/ssl.py", line 911, in read
      return self._sslobj.read(len, buffer)
  socket.timeout: The read operation timed out
  
  During handling of the above exception, another exception occurred:
  
  Traceback (most recent call last):
    File "/usr/local/lib/python3.7/dist-packages/pip/_internal/cli/base_command.py", line 186, in _main
      status = self.run(options, args)
    File "/usr/local/lib/python3.7/dist-packages/pip/_internal/commands/install.py", line 331, in run
      resolver.resolve(requirement_set)
    File "/usr/local/lib/python3.7/dist-packages/pip/_internal/legacy_resolve.py", line 177, in resolve
      discovered_reqs.extend(self._resolve_one(requirement_set, req))
    File "/usr/local/lib/python3.7/dist-packages/pip/_internal/legacy_resolve.py", line 333, in _resolve_one
      abstract_dist = self._get_abstract_dist_for(req_to_install)
    File "/usr/local/lib/python3.7/dist-packages/pip/_internal/legacy_resolve.py", line 282, in _get_abstract_dist_for
      abstract_dist = self.preparer.prepare_linked_requirement(req)
    File "/usr/local/lib/python3.7/dist-packages/pip/_internal/operations/prepare.py", line 482, in prepare_linked_requirement
      hashes=hashes,
    File "/usr/local/lib/python3.7/dist-packages/pip/_internal/operations/prepare.py", line 287, in unpack_url
      hashes=hashes,
    File "/usr/local/lib/python3.7/dist-packages/pip/_internal/operations/prepare.py", line 159, in unpack_http_url
      link, downloader, temp_dir.path, hashes
    File "/usr/local/lib/python3.7/dist-packages/pip/_internal/operations/prepare.py", line 303, in _download_http_url
      for chunk in download.chunks:
    File "/usr/local/lib/python3.7/dist-packages/pip/_internal/utils/ui.py", line 160, in iter
      for x in it:
    File "/usr/local/lib/python3.7/dist-packages/pip/_internal/network/utils.py", line 39, in response_chunks
      decode_content=False,
    File "/usr/local/lib/python3.7/dist-packages/pip/_vendor/urllib3/response.py", line 564, in stream
      data = self.read(amt=amt, decode_content=decode_content)
    File "/usr/local/lib/python3.7/dist-packages/pip/_vendor/urllib3/response.py", line 529, in read
      raise IncompleteRead(self._fp_bytes_read, self.length_remaining)
    File "/usr/lib/python3.7/contextlib.py", line 130, in __exit__
      self.gen.throw(type, value, traceback)
    File "/usr/local/lib/python3.7/dist-packages/pip/_vendor/urllib3/response.py", line 430, in _error_catcher
      raise ReadTimeoutError(self._pool, None, "Read timed out.")
  pip._vendor.urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out.
  WARNING: You are using pip version 20.0.2; however, version 20.2.4 is available.
  You should consider upgrading via the '/usr/bin/python3 -m pip install --upgrade pip' command.
  ----------------------------------------
ERROR: Command errored out with exit status 2: /usr/bin/python3 /usr/local/lib/python3.7/dist-packages/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-_39ei7de/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple --extra-index-url http://repo.rock-chips.com/pypi/simple --trusted-host repo.rock-chips.com -- setuptools wheel scikit-build cmake pip 'numpy==1.13.3; python_version=='"'"'3.6'"'"'' 'numpy==1.14.5; python_version=='"'"'3.7'"'"'' 'numpy==1.17.3; python_version=='"'"'3.8'"'"'' 'numpy==1.19.3; python_version>='"'"'3.9'"'"'' Check the logs for full command output.
WARNING: You are using pip version 20.0.2; however, version 20.2.4 is available.
You should consider upgrading via the '/usr/bin/python3 -m pip install --upgrade pip' command.


回复

使用道具 举报

toybrickuser

新手上路

积分
43
沙发
 楼主| 发表于 2020-11-17 16:54:12 | 只看该作者
安装出错 大部分是红色错误
回复

使用道具 举报

jefferyzhang

版主

积分
13580
板凳
发表于 2020-11-17 21:44:05 | 只看该作者
这个requirement是给pc用的,不是给3399pro板子用的。而且板子哪来支持CUDA的GPU给你用
回复

使用道具 举报

Ptolemaeus

中级会员

积分
205
地板
发表于 2021-3-12 08:19:50 | 只看该作者
这是什么都敢装啊
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

产品中心 购买渠道 开源社区 Wiki教程 资料下载 关于Toybrick


快速回复 返回顶部 返回列表