120 Star 572 Fork 258

DTCloud开源社区 / DTCloud

 / 详情

Python3.10.0安装requirements 报错

已完成
缺陷
创建于  
2021-10-31 12:42

输入图片说明

yaoying@yaoying-PC:~$ cd ~/.pyenv/versions/3.10.0/envs/dtcloud
(dtcloud) yaoying@yaoying-PC:~/.pyenv/versions/3.10.0/envs/dtcloud$ pip3 install setuptools wheel
Requirement already satisfied: setuptools in ./lib/python3.10/site-packages (57.4.0)
Collecting wheel
  Using cached wheel-0.37.0-py2.py3-none-any.whl (35 kB)
Installing collected packages: wheel
Successfully installed wheel-0.37.0
WARNING: You are using pip version 21.2.3; however, version 21.3.1 is available.
You should consider upgrading via the '/home/yaoying/.pyenv/versions/3.10.0/envs/dtcloud/bin/python3.10 -m pip install --upgrade pip' command.
(dtcloud) yaoying@yaoying-PC:~/.pyenv/versions/3.10.0/envs/dtcloud$ pip3 install -r /home/yaoying/dtcloud/requirements.txt
Ignoring freezegun: markers 'python_version < "3.8"' don't match your environment
Ignoring gevent: markers 'sys_platform != "win32" and python_version < "3.7"' don't match your environment
Ignoring gevent: markers 'python_version == "3.7"' don't match your environment
Ignoring gevent: markers 'sys_platform == "win32" and python_version < "3.7"' don't match your environment
Ignoring greenlet: markers 'python_version < "3.7"' don't match your environment
Ignoring greenlet: markers 'python_version == "3.7"' don't match your environment
Ignoring Jinja2: markers 'python_version < "3.8"' don't match your environment
Ignoring lxml: markers 'sys_platform != "win32" and python_version < "3.7"' don't match your environment
Ignoring lxml: markers 'sys_platform != "win32" and python_version == "3.7"' don't match your environment
Ignoring lxml: markers 'sys_platform == "win32"' don't match your environment
Ignoring Pillow: markers 'python_version <= "3.7" and sys_platform != "win32"' don't match your environment
Ignoring Pillow: markers 'python_version <= "3.7" and sys_platform == "win32"' don't match your environment
Ignoring psycopg2: markers 'sys_platform != "win32" and python_version < "3.8"' don't match your environment
Ignoring reportlab: markers 'python_version < "3.8"' don't match your environment
Ignoring xlrd: markers 'python_version < "3.8"' don't match your environment
Ignoring pypiwin32: markers 'sys_platform == "win32"' don't match your environment
Collecting Babel==2.6.0
  Using cached Babel-2.6.0-py2.py3-none-any.whl (8.1 MB)
Collecting chardet==3.0.4
  Using cached chardet-3.0.4-py2.py3-none-any.whl (133 kB)
Collecting decorator==4.3.0
  Using cached decorator-4.3.0-py2.py3-none-any.whl (9.2 kB)
Collecting docutils==0.14
  Using cached docutils-0.14-py3-none-any.whl (543 kB)
Collecting ebaysdk==2.1.5
  Using cached ebaysdk-2.1.5-py3-none-any.whl
Collecting freezegun==0.3.15
  Using cached freezegun-0.3.15-py2.py3-none-any.whl (14 kB)
Collecting gevent==20.9.0
  Using cached gevent-20.9.0-cp310-cp310-linux_x86_64.whl
Collecting greenlet==0.4.17
  Using cached greenlet-0.4.17.tar.gz (61 kB)
Collecting html2text==2018.1.9
  Using cached html2text-2018.1.9-py3-none-any.whl (21 kB)
Collecting idna==2.6
  Using cached idna-2.6-py2.py3-none-any.whl (56 kB)
Collecting Jinja2==2.11.2
  Using cached Jinja2-2.11.2-py2.py3-none-any.whl (125 kB)
Collecting libsass==0.17.0
  Using cached libsass-0.17.0-cp310-cp310-linux_x86_64.whl
Collecting lxml==4.6.1
  Using cached lxml-4.6.1-cp310-cp310-linux_x86_64.whl
Collecting Mako==1.0.7
  Using cached Mako-1.0.7-py3-none-any.whl
Collecting MarkupSafe==1.1.0
  Using cached MarkupSafe-1.1.0-cp310-cp310-linux_x86_64.whl
Collecting num2words==0.5.6
  Using cached num2words-0.5.6-py2.py3-none-any.whl (64 kB)
Collecting ofxparse==0.19
  Using cached ofxparse-0.19-py3-none-any.whl
Collecting passlib==1.7.1
  Using cached passlib-1.7.1-py2.py3-none-any.whl (498 kB)
Collecting Pillow==8.1.1
  Using cached Pillow-8.1.1-cp310-cp310-linux_x86_64.whl
Collecting polib==1.1.1
  Downloading polib-1.1.1-py2.py3-none-any.whl (20 kB)
Collecting psutil==5.6.6
  Using cached psutil-5.6.6-cp310-cp310-linux_x86_64.whl
Collecting psycopg2==2.8.5
  Using cached psycopg2-2.8.5-cp310-cp310-linux_x86_64.whl
Collecting psycopg2-binary==2.9.1
  Downloading psycopg2_binary-2.9.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.3 MB)
     |████████████████████████████████| 3.3 MB 61 kB/s 
Collecting pydot==1.4.1
  Using cached pydot-1.4.1-py2.py3-none-any.whl (19 kB)
Collecting python-ldap==3.1.0
  Using cached python_ldap-3.1.0-cp310-cp310-linux_x86_64.whl
Collecting PyPDF2==1.26.0
  Using cached PyPDF2-1.26.0-py3-none-any.whl
Collecting pyserial==3.4
  Using cached pyserial-3.4-py2.py3-none-any.whl (193 kB)
Collecting python-dateutil==2.7.3
  Using cached python_dateutil-2.7.3-py2.py3-none-any.whl (211 kB)
Collecting pytz==2019.1
  Using cached pytz-2019.1-py2.py3-none-any.whl (510 kB)
Collecting pyusb==1.0.2
  Using cached pyusb-1.0.2-py3-none-any.whl
Collecting qrcode==6.1
  Using cached qrcode-6.1-py2.py3-none-any.whl (31 kB)
Collecting reportlab==3.5.55
  Using cached reportlab-3.5.55-cp310-cp310-linux_x86_64.whl
Collecting requests==2.22.0
  Downloading requests-2.22.0-py2.py3-none-any.whl (57 kB)
     |████████████████████████████████| 57 kB 89 kB/s 
Collecting zeep==3.2.0
  Using cached zeep-3.2.0-py2.py3-none-any.whl (98 kB)
Collecting python-stdnum==1.8
  Using cached python_stdnum-1.8-py3-none-any.whl
Collecting vobject==0.9.6.1
  Using cached vobject-0.9.6.1-py3-none-any.whl
Collecting Werkzeug==0.16.1
  Using cached Werkzeug-0.16.1-py2.py3-none-any.whl (327 kB)
Collecting XlsxWriter==1.1.2
  Using cached XlsxWriter-1.1.2-py2.py3-none-any.whl (142 kB)
Collecting xlwt==1.3.*
  Using cached xlwt-1.3.0-py2.py3-none-any.whl (99 kB)
Collecting xlrd==1.2.0
  Using cached xlrd-1.2.0-py2.py3-none-any.whl (103 kB)
Collecting cmake==3.21.3
  Downloading cmake-3.21.3-py2.py3-none-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (21.5 MB)
     |████████████████████████████████| 21.5 MB 54 kB/s 
Collecting dlib==19.22.1
  Downloading dlib-19.22.1.tar.gz (7.4 MB)
     |████████████████████████████████| 7.4 MB 61 kB/s 
Collecting face-recognition==1.3.0
  Downloading face_recognition-1.3.0-py2.py3-none-any.whl (15 kB)
Collecting face-recognition-models==0.3.0
  Downloading face_recognition_models-0.3.0.tar.gz (100.1 MB)
     |████████████████████████████████| 100.1 MB 21 kB/s 
Collecting pypeg2==2.15.2
  Downloading pyPEG2-2.15.2.tar.gz (40 kB)
     |████████████████████████████████| 40 kB 66 kB/s 
Collecting dingtalk==0.0.5
  Downloading dingtalk-0.0.5.zip (8.1 kB)
Collecting paramiko==2.8.0
  Downloading paramiko-2.8.0-py2.py3-none-any.whl (206 kB)
     |████████████████████████████████| 206 kB 64 kB/s 
Collecting aliyun-python-sdk-dysmsapi==2.1.1
  Downloading aliyun-python-sdk-dysmsapi-2.1.1.tar.gz (4.0 kB)
Collecting dingtalk-sdk==1.3.8
  Downloading dingtalk_sdk-1.3.8-py3-none-any.whl (715 kB)
     |████████████████████████████████| 715 kB 28 kB/s 
Collecting pycryptodome==3.11.0
  Downloading pycryptodome-3.11.0-cp35-abi3-manylinux2010_x86_64.whl (1.9 MB)
     |████████████████████████████████| 1.9 MB 33 kB/s 
Collecting cacheout==0.13.1
  Downloading cacheout-0.13.1-py3-none-any.whl (18 kB)
Collecting docxtpl==0.14.2
  Downloading docxtpl-0.14.2-py2.py3-none-any.whl (27 kB)
Collecting Flask==1.0.2
  Downloading Flask-1.0.2-py2.py3-none-any.whl (91 kB)
     |████████████████████████████████| 91 kB 44 kB/s 
Collecting simplejson==3.17.5
  Downloading simplejson-3.17.5-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (136 kB)
     |████████████████████████████████| 136 kB 40 kB/s 
Collecting wechatpy==1.8.15
  Downloading wechatpy-1.8.15-py2.py3-none-any.whl (156 kB)
     |████████████████████████████████| 156 kB 51 kB/s 
Collecting oss2==2.15.0
  Downloading oss2-2.15.0.tar.gz (226 kB)
     |████████████████████████████████| 226 kB 68 kB/s 
Collecting geoip2==3.0.0
  Downloading geoip2-3.0.0-py2.py3-none-any.whl (23 kB)
Collecting aliyun-python-sdk-facebody==1.2.28
  Downloading aliyun_python_sdk_facebody-1.2.28-py2.py3-none-any.whl (68 kB)
     |████████████████████████████████| 68 kB 92 kB/s 
Collecting tencentcloud-sdk-python==3.0.513
  Downloading tencentcloud_sdk_python-3.0.513-py2.py3-none-any.whl (3.8 MB)
     |████████████████████████████████| 3.8 MB 46 kB/s 
Collecting opencv-python==4.5.4.58
  Downloading opencv_python-4.5.4.58-cp310-cp310-manylinux2014_x86_64.whl (60.3 MB)
     |████████████████████████████████| 60.3 MB 53 kB/s 
Collecting six
  Using cached six-1.16.0-py2.py3-none-any.whl (11 kB)
Requirement already satisfied: setuptools in ./lib/python3.10/site-packages (from gevent==20.9.0->-r /home/yaoying/dtcloud/requirements.txt (line 10)) (57.4.0)
Collecting zope.event
  Using cached zope.event-4.5.0-py2.py3-none-any.whl (6.8 kB)
Collecting zope.interface
  Using cached zope.interface-5.4.0-cp310-cp310-linux_x86_64.whl
Collecting beautifulsoup4
  Using cached beautifulsoup4-4.10.0-py3-none-any.whl (97 kB)
Collecting pyparsing>=2.1.4
  Downloading pyparsing-3.0.4-py3-none-any.whl (96 kB)
     |████████████████████████████████| 96 kB 61 kB/s 
Collecting pyasn1-modules>=0.1.5
  Using cached pyasn1_modules-0.2.8-py2.py3-none-any.whl (155 kB)
Collecting pyasn1>=0.3.7
  Using cached pyasn1-0.4.8-py2.py3-none-any.whl (77 kB)
Collecting urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1
  Downloading urllib3-1.25.11-py2.py3-none-any.whl (127 kB)
     |████████████████████████████████| 127 kB 71 kB/s 
Collecting certifi>=2017.4.17
  Using cached certifi-2021.10.8-py2.py3-none-any.whl (149 kB)
Collecting appdirs>=1.4.0
  Using cached appdirs-1.4.4-py2.py3-none-any.whl (9.6 kB)
Collecting attrs>=17.2.0
  Using cached attrs-21.2.0-py2.py3-none-any.whl (53 kB)
Collecting isodate>=0.5.4
  Using cached isodate-0.6.0-py2.py3-none-any.whl (45 kB)
Collecting requests-toolbelt>=0.7.1
  Using cached requests_toolbelt-0.9.1-py2.py3-none-any.whl (54 kB)
Collecting defusedxml>=0.4.1
  Using cached defusedxml-0.7.1-py2.py3-none-any.whl (25 kB)
Collecting cached-property>=1.3.0
  Using cached cached_property-1.5.2-py2.py3-none-any.whl (7.6 kB)
Collecting numpy
  Downloading numpy-1.21.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (15.9 MB)
     |████████████████████████████████| 15.9 MB 77 kB/s 
Collecting Click>=6.0
  Downloading click-8.0.3-py3-none-any.whl (97 kB)
     |████████████████████████████████| 97 kB 39 kB/s 
Collecting pynacl>=1.0.1
  Downloading PyNaCl-1.4.0-cp35-abi3-manylinux1_x86_64.whl (961 kB)
     |████████████████████████████████| 961 kB 5.7 kB/s 
Collecting bcrypt>=3.1.3
  Downloading bcrypt-3.2.0-cp36-abi3-manylinux2010_x86_64.whl (63 kB)
     |████████████████████████████████| 63 kB 7.5 kB/s 
Collecting cryptography>=2.5
  Using cached cryptography-35.0.0-cp36-abi3-manylinux_2_24_x86_64.whl (3.5 MB)
Collecting aliyun-python-sdk-core>=2.11.5
  Downloading aliyun-python-sdk-core-2.13.35.tar.gz (440 kB)
     |████████████████████████████████| 440 kB 69 kB/s 
Collecting optionaldict>=0.1.0
  Downloading optionaldict-0.1.2-py2.py3-none-any.whl (3.8 kB)
Collecting docxcompose
  Downloading docxcompose-1.3.3.tar.gz (17 kB)
Collecting python-docx
  Downloading python-docx-0.8.11.tar.gz (5.6 MB)
     |████████████████████████████████| 5.6 MB 19 kB/s 
Collecting itsdangerous>=0.24
  Downloading itsdangerous-2.0.1-py3-none-any.whl (18 kB)
Collecting xmltodict>=0.11.0
  Downloading xmltodict-0.12.0-py2.py3-none-any.whl (9.2 kB)
Collecting crcmod>=1.7
  Downloading crcmod-1.7.tar.gz (89 kB)
     |████████████████████████████████| 89 kB 26 kB/s 
Collecting aliyun-python-sdk-kms>=2.4.1
  Downloading aliyun_python_sdk_kms-2.15.0-py2.py3-none-any.whl (71 kB)
     |████████████████████████████████| 71 kB 44 kB/s 
Collecting maxminddb>=1.5.2
  Downloading maxminddb-2.2.0.tar.gz (330 kB)
     |████████████████████████████████| 330 kB 77 kB/s 
Collecting jmespath<1.0.0,>=0.9.3
  Downloading jmespath-0.10.0-py2.py3-none-any.whl (24 kB)
Collecting cffi>=1.1
  Using cached cffi-1.15.0-cp310-cp310-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (446 kB)
Collecting pycparser
  Using cached pycparser-2.20-py2.py3-none-any.whl (112 kB)
Collecting soupsieve>1.2
  Using cached soupsieve-2.2.1-py3-none-any.whl (33 kB)
Building wheels for collected packages: greenlet, dlib, face-recognition-models, pypeg2, dingtalk, aliyun-python-sdk-dysmsapi, oss2, aliyun-python-sdk-core, crcmod, maxminddb, docxcompose, python-docx
  Building wheel for greenlet (setup.py) ... error
  ERROR: Command errored out with exit status 1:
   command: /home/yaoying/.pyenv/versions/3.10.0/envs/dtcloud/bin/python3.10 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-4qpqrzt4/greenlet_f5d585029c9d4ba7a9a0a44f91c8c7eb/setup.py'"'"'; __file__='"'"'/tmp/pip-install-4qpqrzt4/greenlet_f5d585029c9d4ba7a9a0a44f91c8c7eb/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-_zdgzh5o                                                                                                                            
       cwd: /tmp/pip-install-4qpqrzt4/greenlet_f5d585029c9d4ba7a9a0a44f91c8c7eb/                                                                     
  Complete output (17 lines):                                                                                                                        
  running bdist_wheel                                                                                                                                
  running build                                                                                                                                      
  running build_ext                                                                                                                                  
  building 'greenlet' extension                                                                                                                      
  creating build                                                                                                                                     
  creating build/temp.linux-x86_64-3.10                                                                                                              
  gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -I/home/yaoying/.pyenv/versions/3.10.0/envs/dtcloud/include -I/home/yaoying/.pyenv/versions/3.10.0/include/python3.10 -c greenlet.c -o build/temp.linux-x86_64-3.10/greenlet.o                                       
  greenlet.c: In function ‘g_calltrace’:                                                                                                             
  greenlet.c:566:10: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘use_tracing’; did you mean ‘tracing’?                            
    tstate->use_tracing = 0;                                                                                                                         
            ^~~~~~~~~~~                                                                                                                              
            tracing                                                                                                                                  
  greenlet.c:569:10: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘use_tracing’; did you mean ‘tracing’?                            
    tstate->use_tracing = (tstate->tracing <= 0 &&                                                                                                   
            ^~~~~~~~~~~                                                                                                                              
            tracing                                                                                                                                  
  error: command '/usr/bin/gcc' failed with exit code 1                                                                                              
  ----------------------------------------                                                                                                           
  ERROR: Failed building wheel for greenlet
  Running setup.py clean for greenlet
  Building wheel for dlib (setup.py) ... error
  ERROR: Command errored out with exit status 1:
   command: /home/yaoying/.pyenv/versions/3.10.0/envs/dtcloud/bin/python3.10 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-4qpqrzt4/dlib_fa07f21bbe6d4ba8a7010fca4c0b5190/setup.py'"'"'; __file__='"'"'/tmp/pip-install-4qpqrzt4/dlib_fa07f21bbe6d4ba8a7010fca4c0b5190/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-ys0_22r5                                                                                                                                    
       cwd: /tmp/pip-install-4qpqrzt4/dlib_fa07f21bbe6d4ba8a7010fca4c0b5190/                                                                         
  Complete output (8 lines):                                                                                                                         
  running bdist_wheel                                                                                                                                
  running build                                                                                                                                      
  running build_py                                                                                                                                   
  package init file 'tools/python/dlib/__init__.py' not found (or not a regular file)                                                                
  running build_ext                                                                                                                                  
                                                                                                                                                     
  ERROR: CMake must be installed to build dlib                                                                                                       
                                                                                                                                                     
  ----------------------------------------                                                                                                           
  ERROR: Failed building wheel for dlib
  Running setup.py clean for dlib
  Building wheel for face-recognition-models (setup.py) ... done
  Created wheel for face-recognition-models: filename=face_recognition_models-0.3.0-py2.py3-none-any.whl size=100566185 sha256=b956e3a02fd8fc9cc278277a9345e68d1f890dbc48eb1284bd24f39728964131
  Stored in directory: /home/yaoying/.cache/pip/wheels/7a/eb/cf/e9eced74122b679557f597bb7c8e4c739cfcac526db1fd523d
  Building wheel for pypeg2 (setup.py) ... done
  Created wheel for pypeg2: filename=pyPEG2-2.15.2-py3-none-any.whl size=22783 sha256=2f6f9ccaa281c76ca2912ed22a344118ff41696d83dc6c85018c6b1220b8658b
  Stored in directory: /home/yaoying/.cache/pip/wheels/bf/3f/99/542b51a00b2588ba593afc95045191af77d6abb847e9b47597
  Building wheel for dingtalk (setup.py) ... done
  Created wheel for dingtalk: filename=dingtalk-0.0.5-py2.py3-none-any.whl size=3784 sha256=ce22fd1de0694de1bcf51244aff99cee26bdff88083bff71f933ef375b606029
  Stored in directory: /home/yaoying/.cache/pip/wheels/73/4e/ba/723cfc5d477bfc5501af2f4bcf45ff11a6369015caee9356d5
  Building wheel for aliyun-python-sdk-dysmsapi (setup.py) ... done
  Created wheel for aliyun-python-sdk-dysmsapi: filename=aliyun_python_sdk_dysmsapi-2.1.1-py3-none-any.whl size=15287 sha256=a41ca7e12c015dd54f0dc981f61c3bcd71e0851adbd85631c5d8a7039002ed71
  Stored in directory: /home/yaoying/.cache/pip/wheels/ae/96/e8/6a2d54564da3c44c480a9f6655f7091a5510302da98da34b75
  Building wheel for oss2 (setup.py) ... done
  Created wheel for oss2: filename=oss2-2.15.0-py3-none-any.whl size=103450 sha256=052491d3898383b49307bab4269eaa72f9962974439b2f449e9c357dc7812dfd
  Stored in directory: /home/yaoying/.cache/pip/wheels/b0/ba/d0/22bff0a960e1d68da577c7770f1f4bb4f98f925160f3b5c465
  Building wheel for aliyun-python-sdk-core (setup.py) ... done
  Created wheel for aliyun-python-sdk-core: filename=aliyun_python_sdk_core-2.13.35-py3-none-any.whl size=533197 sha256=588ffc953800add05420d37d872cf98b8f4395012095796e2eca713c3fea7b5b
  Stored in directory: /home/yaoying/.cache/pip/wheels/9d/83/e8/795ad2fd1f4b1de34d3ad0659c705f676c81948e517e166198
  Building wheel for crcmod (setup.py) ... done
  Created wheel for crcmod: filename=crcmod-1.7-cp310-cp310-linux_x86_64.whl size=36892 sha256=8c176f77baaa96b89c77a96c43c248dd3c8aff5e67be8b4882cee743b107cd68
  Stored in directory: /home/yaoying/.cache/pip/wheels/85/4c/07/72215c529bd59d67e3dac29711d7aba1b692f543c808ba9e86
  Building wheel for maxminddb (setup.py) ... done
  Created wheel for maxminddb: filename=maxminddb-2.2.0-py2.py3-none-any.whl size=16357 sha256=1691ae48b121edd4514ba306c2e6966708bad72d54f2579d863c143c479afbfc
  Stored in directory: /home/yaoying/.cache/pip/wheels/8f/56/83/6882094d3b05ce8fe17416135152137881a5e244bf34ce35df
  Building wheel for docxcompose (setup.py) ... done
  Created wheel for docxcompose: filename=docxcompose-1.3.3-py3-none-any.whl size=20852 sha256=111e872edbfed827e7266c0c0ff7c6d3a7832649edc5d1a7409d15b8389d1556
  Stored in directory: /home/yaoying/.cache/pip/wheels/80/77/b6/70fe47efdc8c3522c143063cba97c89d2a3b29953fe13f3fb6
  Building wheel for python-docx (setup.py) ... done
  Created wheel for python-docx: filename=python_docx-0.8.11-py3-none-any.whl size=184508 sha256=6efe5c386334d738c0be842e396e766573fdafde565da5ab7409a138e84ef462
  Stored in directory: /home/yaoying/.cache/pip/wheels/80/27/06/837436d4c3bd989b957a91679966f207bfd71d358d63a8194d
Successfully built face-recognition-models pypeg2 dingtalk aliyun-python-sdk-dysmsapi oss2 aliyun-python-sdk-core crcmod maxminddb docxcompose python-docx
Failed to build greenlet dlib
Installing collected packages: pycparser, cffi, urllib3, lxml, jmespath, idna, cryptography, chardet, certifi, soupsieve, six, requests, python-docx, pyasn1, MarkupSafe, aliyun-python-sdk-core, zope.interface, zope.event, xmltodict, Werkzeug, requests-toolbelt, pytz, python-dateutil, pyparsing, pynacl, pycryptodome, pyasn1-modules, Pillow, optionaldict, numpy, maxminddb, Jinja2, itsdangerous, isodate, greenlet, face-recognition-models, docxcompose, dlib, defusedxml, crcmod, Click, cached-property, beautifulsoup4, bcrypt, attrs, appdirs, aliyun-python-sdk-kms, zeep, xlwt, XlsxWriter, xlrd, wechatpy, vobject, tencentcloud-sdk-python, simplejson, reportlab, qrcode, pyusb, python-stdnum, python-ldap, pyserial, pypeg2, PyPDF2, pydot, psycopg2-binary, psycopg2, psutil, polib, passlib, paramiko, oss2, opencv-python, ofxparse, num2words, Mako, libsass, html2text, gevent, geoip2, freezegun, Flask, face-recognition, ebaysdk, docxtpl, docutils, dingtalk-sdk, dingtalk, decorator, cmake, cacheout, Babel, aliyun-python-sdk-facebody, aliyun-python-sdk-dysmsapi
    Running setup.py install for greenlet ... error
    ERROR: Command errored out with exit status 1:
     command: /home/yaoying/.pyenv/versions/3.10.0/envs/dtcloud/bin/python3.10 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-4qpqrzt4/greenlet_f5d585029c9d4ba7a9a0a44f91c8c7eb/setup.py'"'"'; __file__='"'"'/tmp/pip-install-4qpqrzt4/greenlet_f5d585029c9d4ba7a9a0a44f91c8c7eb/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-6rrkeaei/install-record.txt --single-version-externally-managed --compile --install-headers /home/yaoying/.pyenv/versions/3.10.0/envs/dtcloud/include/site/python3.10/greenlet                                                                                                      
         cwd: /tmp/pip-install-4qpqrzt4/greenlet_f5d585029c9d4ba7a9a0a44f91c8c7eb/                                                                   
    Complete output (17 lines):                                                                                                                      
    running install                                                                                                                                  
    running build                                                                                                                                    
    running build_ext                                                                                                                                
    building 'greenlet' extension                                                                                                                    
    creating build                                                                                                                                   
    creating build/temp.linux-x86_64-3.10                                                                                                            
    gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -I/home/yaoying/.pyenv/versions/3.10.0/envs/dtcloud/include -I/home/yaoying/.pyenv/versions/3.10.0/include/python3.10 -c greenlet.c -o build/temp.linux-x86_64-3.10/greenlet.o                                     
    greenlet.c: In function ‘g_calltrace’:                                                                                                           
    greenlet.c:566:10: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘use_tracing’; did you mean ‘tracing’?                          
      tstate->use_tracing = 0;                                                                                                                       
              ^~~~~~~~~~~                                                                                                                            
              tracing                                                                                                                                
    greenlet.c:569:10: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘use_tracing’; did you mean ‘tracing’?                          
      tstate->use_tracing = (tstate->tracing <= 0 &&                                                                                                 
              ^~~~~~~~~~~                                                                                                                            
              tracing                                                                                                                                
    error: command '/usr/bin/gcc' failed with exit code 1                                                                                            
    ----------------------------------------                                                                                                         
ERROR: Command errored out with exit status 1: /home/yaoying/.pyenv/versions/3.10.0/envs/dtcloud/bin/python3.10 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-4qpqrzt4/greenlet_f5d585029c9d4ba7a9a0a44f91c8c7eb/setup.py'"'"'; __file__='"'"'/tmp/pip-install-4qpqrzt4/greenlet_f5d585029c9d4ba7a9a0a44f91c8c7eb/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-6rrkeaei/install-record.txt --single-version-externally-managed --compile --install-headers /home/yaoying/.pyenv/versions/3.10.0/envs/dtcloud/include/site/python3.10/greenlet Check the logs for full command output.                             
WARNING: You are using pip version 21.2.3; however, version 21.3.1 is available.
You should consider upgrading via the '/home/yaoying/.pyenv/versions/3.10.0/envs/dtcloud/bin/python3.10 -m pip install --upgrade pip' command.

评论 (0)

54646 任务状态待办的 修改为已完成
展开全部操作日志

登录 后才可以发表评论

状态
负责人
项目
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
预计工期 (小时)
参与者(1)
5556767 yaoying vip 1638972831
Python
1
https://gitee.com/dtcloud360/dtcloud.git
git@gitee.com:dtcloud360/dtcloud.git
dtcloud360
dtcloud
DTCloud

搜索帮助