odoo10条形码如何安装和设置
-
barcode如何安裝,出现错误
docker container exec -it -uroot erp10 /bin/bash
root@0af9d466542c:/# pip install viivakoodi
Downloading/unpacking viivakoodi
Downloading viivakoodi-0.8.0.tar.gz (224kB): 28kB 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 290, 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/lib/python2.7/dist-packages/urllib3/response.py", line 256, in stream
data = self.read(amt=amt, decode_content=decode_content)
File "/usr/lib/python2.7/dist-packages/urllib3/response.py", line 210, in read
raise ReadTimeoutError(self._pool, None, 'Read timed out.')
ReadTimeoutError: HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out.Storing debug log for failure in /root/.pip/pip.log
root@0af9d466542c:/#
root@0af9d466542c:/#
root@0af9d466542c:/# cat /root/.pip/pip.log
Downloading/unpacking viivakoodi
Getting page https://pypi.python.org/simple/viivakoodi/
URLs to search for versions for viivakoodi:- https://pypi.python.org/simple/viivakoodi/
Analyzing links from page https://pypi.org/simple/viivakoodi/
Found link https://files.pythonhosted.org/packages/81/e4/a3f5ec32529004c9f0aae1e7c4f6e63c260ad21805578030c4c6ae1677a7/viivakoodi-0.8.0.tar.gz#sha256=670a35774559b25abdb089d58fb8e67e4ee9618f385b8418e5027ab860290e39 (from https://pypi.org/simple/viivakoodi/), version: 0.8.0
Downloading from URL https://files.pythonhosted.org/packages/81/e4/a3f5ec32529004c9f0aae1e7c4f6e63c260ad21805578030c4c6ae1677a7/viivakoodi-0.8.0.tar.gz#sha256=670a35774559b25abdb089d58fb8e67e4ee9618f385b8418e5027ab860290e39 (from https://pypi.org/simple/viivakoodi/)
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 290, 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/lib/python2.7/dist-packages/urllib3/response.py", line 256, in stream
data = self.read(amt=amt, decode_content=decode_content)
File "/usr/lib/python2.7/dist-packages/urllib3/response.py", line 210, in read
raise ReadTimeoutError(self._pool, None, 'Read timed out.')
ReadTimeoutError: HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out.
- https://pypi.python.org/simple/viivakoodi/
-
网络问题,连接超时了。
另外,我回答了你在另一个帖子里关于条码的问题,看这里:
https://odoo.net.cn/post/25447