yangheng95 / LCF-ATEPC

codes for paper A Multi-task Learning Model for Chinese-oriented Aspect Polarity Classification and Aspect Term Extraction
MIT License
186 stars 45 forks source link

pip install -U pyabsa问题 #37

Closed liu-21 closed 2 years ago

liu-21 commented 3 years ago

您好,为什么我在操作pip install -U pyabsa时一直报错: ERROR: Command errored out with exit status 1: command: /home/anaconda3/bin/python /home/anaconda3/lib/python3.7/site-packages/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-h286negy/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- setuptools 'cython>=0.25,<3.0' 'cymem>=2.0.2,<2.1.0' 'preshed>=3.0.2,<3.1.0' 'murmurhash>=0.28.0,<1.1.0' 'thinc>=8.0.7,<8.1.0' 'blis>=0.4.0,<0.8.0' pathy 'numpy>=1.15.0' cwd: None Complete output (125 lines): Collecting setuptools Using cached https://files.pythonhosted.org/packages/a2/e1/902fbc2f61ad6243cd3d57ffa195a9eb123021ec912ec5d811acf54a39f8/setuptools-57.1.0-py3-none-any.whl Collecting cython<3.0,>=0.25 Downloading https://files.pythonhosted.org/packages/3d/48/bbca549da0b0f636c0f161e84d30172c40aafe99552680f297da7fedf102/Cython-0.29.24-cp37-cp37m-manylinux1_x86_64.whl (2.0MB) Collecting cymem<2.1.0,>=2.0.2 Collecting preshed<3.1.0,>=3.0.2 Using cached https://files.pythonhosted.org/packages/af/6e/0605ffc1c3861cce4d029a9724f302232f993fe9d0dc6c04fb7bc49b7852/preshed-3.0.5-cp37-cp37m-manylinux1_x86_64.whl Collecting murmurhash<1.1.0,>=0.28.0 Using cached https://files.pythonhosted.org/packages/08/82/917eb137b3e85060e4f7c8dc991fccfafb47aa1f6f59fdd63f406159b03e/murmurhash-1.0.5-cp37-cp37m-manylinux1_x86_64.whl Collecting thinc<8.1.0,>=8.0.7 Using cached https://files.pythonhosted.org/packages/dc/09/ec156380f339942a576887fc07ba367080386d2e5166ef70883138da8f4d/thinc-8.0.7.tar.gz Installing build dependencies: started Installing build dependencies: finished with status 'error' ERROR: Command errored out with exit status 1: command: /home/anaconda3/bin/python /home/anaconda3/lib/python3.7/site-packages/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-6cn30opu/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- setuptools 'cython>=0.25,<3.0' 'murmurhash>=0.28.0,<1.1.0' 'cymem>=2.0.2,<2.1.0' 'preshed>=3.0.2,<3.1.0' 'blis>=0.4.0,<0.8.0' 'numpy>=1.15.0' cwd: None Complete output (106 lines): Collecting setuptools Using cached https://files.pythonhosted.org/packages/a2/e1/902fbc2f61ad6243cd3d57ffa195a9eb123021ec912ec5d811acf54a39f8/setuptools-57.1.0-py3-none-any.whl Collecting cython<3.0,>=0.25 Using cached https://files.pythonhosted.org/packages/3d/48/bbca549da0b0f636c0f161e84d30172c40aafe99552680f297da7fedf102/Cython-0.29.24-cp37-cp37m-manylinux1_x86_64.whl Collecting murmurhash<1.1.0,>=0.28.0 Using cached https://files.pythonhosted.org/packages/08/82/917eb137b3e85060e4f7c8dc991fccfafb47aa1f6f59fdd63f406159b03e/murmurhash-1.0.5-cp37-cp37m-manylinux1_x86_64.whl Collecting cymem<2.1.0,>=2.0.2 Collecting preshed<3.1.0,>=3.0.2 Using cached https://files.pythonhosted.org/packages/af/6e/0605ffc1c3861cce4d029a9724f302232f993fe9d0dc6c04fb7bc49b7852/preshed-3.0.5-cp37-cp37m-manylinux1_x86_64.whl Collecting blis<0.8.0,>=0.4.0 Using cached https://files.pythonhosted.org/packages/b1/54/b0de9905ee80aebd64c333bc112cacfe06849a9b5a7230a02dfde73e7aad/blis-0.7.4.tar.gz Installing build dependencies: started Installing build dependencies: finished with status 'done' Getting requirements to build wheel: started Getting requirements to build wheel: finished with status 'done' Installing backend dependencies: started Installing backend dependencies: finished with status 'done' Preparing wheel metadata: started Preparing wheel metadata: finished with status 'done' Collecting numpy>=1.15.0 Using cached https://files.pythonhosted.org/packages/3f/03/c3526fb4e79a793498829ca570f2f868204ad9a8040afcd72d82a8f121db/numpy-1.21.0-cp37-cp37m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl Building wheels for collected packages: blis Building wheel for blis (PEP 517): started Building wheel for blis (PEP 517): finished with status 'error' ERROR: Command errored out with exit status 1: command: /home/anaconda3/bin/python /home/anaconda3/lib/python3.7/site-packages/pip/_vendor/pep517/_in_process.py build_wheel /tmp/tmp3na18tlb cwd: /tmp/pip-install-xny4m0tf/blis Complete output (73 lines): BLIS_COMPILER? None running bdist_wheel running build running build_py creating build creating build/lib.linux-x86_64-3.7 creating build/lib.linux-x86_64-3.7/blis copying blis/init.py -> build/lib.linux-x86_64-3.7/blis copying blis/about.py -> build/lib.linux-x86_64-3.7/blis copying blis/benchmark.py -> build/lib.linux-x86_64-3.7/blis creating build/lib.linux-x86_64-3.7/blis/tests copying blis/tests/init.py -> build/lib.linux-x86_64-3.7/blis/tests copying blis/tests/common.py -> build/lib.linux-x86_64-3.7/blis/tests copying blis/tests/test_dotv.py -> build/lib.linux-x86_64-3.7/blis/tests copying blis/tests/test_gemm.py -> build/lib.linux-x86_64-3.7/blis/tests copying blis/cy.pyx -> build/lib.linux-x86_64-3.7/blis copying blis/py.pyx -> build/lib.linux-x86_64-3.7/blis copying blis/init.pxd -> build/lib.linux-x86_64-3.7/blis copying blis/cy.pxd -> build/lib.linux-x86_64-3.7/blis running build_ext gcc: error: unrecognized command line option ‘-fopenmp-simd’ Build options linux unix BUILD ARCH: generic {'NVM_DIR': '/home/matt/.nvm', 'LS_COLORS': 'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:.tar=01;31:.tgz=01;31:.arc=01;31:.arj=01;31:.taz=01;31:.lha=01;31:.lz4=01;31:.lzh=01;31:.lzma=01;31:.tlz=01;31:.txz=01;31:.tzo=01;31:.t7z=01;31:.zip=01;31:.z=01;31:.Z=01;31:.dz=01;31:.gz=01;31:.lrz=01;31:.lz=01;31:.lzo=01;31:.xz=01;31:.zst=01;31:.tzst=01;31:.bz2=01;31:.bz=01;31:.tbz=01;31:.tbz2=01;31:.tz=01;31:.deb=01;31:.rpm=01;31:.jar=01;31:.war=01;31:.ear=01;31:.sar=01;31:.rar=01;31:.alz=01;31:.ace=01;31:.zoo=01;31:.cpio=01;31:.7z=01;31:.rz=01;31:.cab=01;31:.wim=01;31:.swm=01;31:.dwm=01;31:.esd=01;31:.jpg=01;35:.jpeg=01;35:.mjpg=01;35:.mjpeg=01;35:.gif=01;35:.bmp=01;35:.pbm=01;35:.pgm=01;35:.ppm=01;35:.tga=01;35:.xbm=01;35:.xpm=01;35:.tif=01;35:.tiff=01;35:.png=01;35:.svg=01;35:.svgz=01;35:.mng=01;35:.pcx=01;35:.mov=01;35:.mpg=01;35:.mpeg=01;35:.m2v=01;35:.mkv=01;35:.webm=01;35:.ogm=01;35:.mp4=01;35:.m4v=01;35:.mp4v=01;35:.vob=01;35:.qt=01;35:.nuv=01;35:.wmv=01;35:.asf=01;35:.rm=01;35:.rmvb=01;35:.flc=01;35:.avi=01;35:.fli=01;35:.flv=01;35:.gl=01;35:.dl=01;35:.xcf=01;35:.xwd=01;35:.yuv=01;35:.cgm=01;35:.emf=01;35:.ogv=01;35:.ogx=01;35:.aac=00;36:.au=00;36:.flac=00;36:.m4a=00;36:.mid=00;36:.midi=00;36:.mka=00;36:.mp3=00;36:.mpc=00;36:.ogg=00;36:.ra=00;36:.wav=00;36:.oga=00;36:.opus=00;36:.spx=00;36:.xspf=00;36:', 'HOSTTYPE': 'x86_64', 'LESSCLOSE': '/usr/bin/lesspipe %s %s', 'LANG': 'C.UTF-8', 'OLDPWD': '/home/matt/repos/explosion/cython-blis-v0.7', 'NVM_CD_FLAGS': '', 'WSL_DISTRO_NAME': 'Ubuntu', 'VIRTUAL_ENV': '/home/matt/repos/explosion/spaCy/env3.8', 'USER': 'matt', 'PWD': '/home/matt/repos/explosion/cython-blis-v0.7/flame-blis', 'HOME': '/home/matt', 'NAME': 'LAPTOP-OMKOB3VM', 'XDG_DATA_DIRS': '/usr/local/share:/usr/share:/var/lib/snapd/desktop', 'TERM': 'xterm-256color', 'SHELL': '/bin/bash', 'NVM_BIN': '/home/matt/.nvm/versions/node/v10.15.3/bin', 'SHLVL': '2', 'PYTHONPATH': '/home/matt/repos/explosion/cython-blis-v0.7', 'LOGNAME': 'matt', 'PATH': '/home/matt/repos/explosion/spaCy/env3.8/bin:/home/matt/.nvm/versions/node/v10.15.3/bin:/tmp/google-cloud-sdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/mnt/c/Users/matt/Documents/cmder/vendor/conemu-maximus5/ConEmu/Scripts:/mnt/c/Users/matt/Documents/cmder/vendor/conemu-maximus5:/mnt/c/Users/matt/Documents/cmder/vendor/conemu-maximus5/ConEmu:/mnt/c/Python37/Scripts/:/mnt/c/Python37/:/mnt/c/Program Files (x86)/Intel/Intel(R) Management Engine Components/iCLS/:/mnt/c/Program Files/Intel/Intel(R) Management Engine Components/iCLS/:/mnt/c/Windows/system32:/mnt/c/Windows:/mnt/c/Windows/System32/Wbem:/mnt/c/Windows/System32/WindowsPowerShell/v1.0/:/mnt/c/Program Files (x86)/Intel/Intel(R) Management Engine Components/DAL:/mnt/c/Program Files/Intel/Intel(R) Management Engine Components/DAL:/mnt/c/Program Files (x86)/Intel/Intel(R) Management Engine Components/IPT:/mnt/c/Program Files/Intel/Intel(R) Management Engine Components/IPT:/mnt/c/Program Files (x86)/NVIDIA Corporation/PhysX/Common:/mnt/c/ProgramData/chocolatey/bin:/mnt/c/Program Files/Git/cmd:/mnt/c/Program Files/LLVM/bin:/mnt/c/WINDOWS/system32:/mnt/c/WINDOWS:/mnt/c/WINDOWS/System32/Wbem:/mnt/c/WINDOWS/System32/WindowsPowerShell/v1.0/:/mnt/c/WINDOWS/System32/OpenSSH/:/mnt/c/Program Files/nodejs/:/mnt/c/Program Files/Intel/WiFi/bin/:/mnt/c/Program Files/Common Files/Intel/WirelessCommon/:/mnt/c/Users/matt/AppData/Local/Microsoft/WindowsApps:/mnt/c/Users/matt/AppData/Local/Programs/Microsoft VS Code/bin:/mnt/c/Users/matt/AppData/Roaming/npm:/snap/bin', 'NVMINC': '/home/matt/.nvm/versions/node/v10.15.3/include/node', 'WSLENV': '', 'LESSOPEN': '| /usr/bin/lesspipe %s', '': '/home/matt/repos/explosion/spaCy/env3.8/bin/python'} [COMMAND] gcc -c /tmp/pip-install-xny4m0tf/blis/blis/_src/config/generic/bli_cntx_init_generic.c -o /tmp/tmpwe_b8pqk/bli_cntx_init_generic.o -O3 -fPIC -std=c99 -fvisibility=hidden -D_POSIX_C_SOURCE=200112L -DBLIS_VERSION_STRING="0.7.0" -DBLIS_IS_BUILDING_LIBRARY -Iinclude/linux-generic -I./frame/3/ -I./frame/ind/ukernels/ -I./frame/3/ -I./frame/1m/ -I./frame/1f/ -I./frame/1/ -I./frame/include -I/tmp/pip-install-xny4m0tf/blis/blis/_src/include/linux-generic [COMMAND] gcc -c /tmp/pip-install-xny4m0tf/blis/blis/_src/ref_kernels/bli_cntx_ref.c -o /tmp/tmpwe_b8pqk/bli_cntx_generic_ref.o -O3 -fPIC -std=c99 -fvisibility=hidden -D_POSIX_C_SOURCE=200112L -DBLIS_VERSION_STRING="0.7.0" -DBLIS_CNAME=generic -DBLIS_IS_BUILDING_LIBRARY -Iinclude/linux-generic -I./frame/3/ -I./frame/ind/ukernels/ -I./frame/3/ -I./frame/1m/ -I./frame/1f/ -I./frame/1/ -I./frame/include -I/tmp/pip-install-xny4m0tf/blis/blis/_src/include/linux-generic [COMMAND] gcc -c /tmp/pip-install-xny4m0tf/blis/blis/_src/ref_kernels/1/bli_addv_ref.c -o /tmp/tmpwe_b8pqk/bli_addv_generic_ref.o -O3 -funsafe-math-optimizations -ffp-contract=fast -fPIC -std=c99 -fopenmp-simd -fvisibility=hidden -D_POSIX_C_SOURCE=200112L -DBLIS_VERSION_STRING="0.7.0" -DBLIS_CNAME=generic -DBLIS_IS_BUILDING_LIBRARY -Iinclude/linux-generic -I./frame/3/ -I./frame/ind/ukernels/ -I./frame/3/ -I./frame/1m/ -I./frame/1f/ -I./frame/1/ -I./frame/include -I/tmp/pip-install-xny4m0tf/blis/blis/_src/include/linux-generic Traceback (most recent call last): File "/home/anaconda3/lib/python3.7/site-packages/pip/_vendor/pep517/_in_process.py", line 207, in main() File "/home/anaconda3/lib/python3.7/site-packages/pip/_vendor/pep517/_in_process.py", line 197, in main json_out['return_val'] = hook(hook_input['kwargs']) File "/home/anaconda3/lib/python3.7/site-packages/pip/_vendor/pep517/_in_process.py", line 141, in build_wheel metadata_directory) File "/tmp/pip-build-env-6vo0xr6r/overlay/lib/python3.7/site-packages/setuptools/build_meta.py", line 222, in build_wheel wheel_directory, config_settings) File "/tmp/pip-build-env-6vo0xr6r/overlay/lib/python3.7/site-packages/setuptools/build_meta.py", line 207, in _build_with_temp_dir self.run_setup() File "/tmp/pip-build-env-6vo0xr6r/overlay/lib/python3.7/site-packages/setuptools/build_meta.py", line 150, in run_setup exec(compile(code, file, 'exec'), locals()) File "setup.py", line 327, in "Topic :: Scientific/Engineering", File "/tmp/pip-build-env-6vo0xr6r/overlay/lib/python3.7/site-packages/setuptools/init.py", line 153, in setup return distutils.core.setup(attrs) File "/home/anaconda3/lib/python3.7/distutils/core.py", line 148, in setup dist.run_commands() File "/home/anaconda3/lib/python3.7/distutils/dist.py", line 966, in run_commands self.run_command(cmd) File "/home/anaconda3/lib/python3.7/distutils/dist.py", line 985, in run_command cmd_obj.run() File "/tmp/pip-build-env-6vo0xr6r/normal/lib/python3.7/site-packages/wheel/bdist_wheel.py", line 299, in run self.run_command('build') File "/home/anaconda3/lib/python3.7/distutils/cmd.py", line 313, in run_command self.distribution.run_command(command) File "/home/anaconda3/lib/python3.7/distutils/dist.py", line 985, in run_command cmd_obj.run() File "/home/anaconda3/lib/python3.7/distutils/command/build.py", line 135, in run self.run_command(cmd_name) File "/home/anaconda3/lib/python3.7/distutils/cmd.py", line 313, in run_command self.distribution.run_command(command) File "/home/anaconda3/lib/python3.7/distutils/dist.py", line 985, in run_command cmd_obj.run() File "/home/anaconda3/lib/python3.7/distutils/command/build_ext.py", line 340, in run self.build_extensions() File "setup.py", line 105, in build_extensions objects = self.compile_objects(platform_name, arch, OBJ_DIR) File "setup.py", line 221, in compile_objects objects.append(self.build_object(env=env, **spec)) File "setup.py", line 235, in build_object subprocess.check_call(command, cwd=BLIS_DIR) File "/home/anaconda3/lib/python3.7/subprocess.py", line 347, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['gcc', '-c', '/tmp/pip-install-xny4m0tf/blis/blis/_src/ref_kernels/1/bli_addv_ref.c', '-o', '/tmp/tmpwe_b8pqk/bli_addv_generic_ref.o', '-O3', '-funsafe-math-optimizations', '-ffp-contract=fast', '-fPIC', '-std=c99', '-fopenmp-simd', '-fvisibility=hidden', '-D_POSIX_C_SOURCE=200112L', '-DBLIS_VERSION_STRING="0.7.0"', '-DBLIS_CNAME=generic', '-DBLIS_IS_BUILDING_LIBRARY', '-Iinclude/linux-generic', '-I./frame/3/', '-I./frame/ind/ukernels/', '-I./frame/3/', '-I./frame/1m/', '-I./frame/1f/', '-I./frame/1/', '-I./frame/include', '-I/tmp/pip-install-xny4m0tf/blis/blis/_src/include/linux-generic']' returned non-zero exit status 1.

  ERROR: Failed building wheel for blis
  Running setup.py clean for blis
Failed to build blis
ERROR: Could not build wheels for blis which use PEP 517 and cannot be installed directly
----------------------------------------

ERROR: Command errored out with exit status 1: /home/anaconda3/bin/python /home/anaconda3/lib/python3.7/site-packages/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-6cn30opu/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- setuptools 'cython>=0.25,<3.0' 'murmurhash>=0.28.0,<1.1.0' 'cymem>=2.0.2,<2.1.0' 'preshed>=3.0.2,<3.1.0' 'blis>=0.4.0,<0.8.0' 'numpy>=1.15.0' Check the logs for full command output.

ERROR: Command errored out with exit status 1: /home/anaconda3/bin/python /home/anaconda3/lib/python3.7/site-packages/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-h286negy/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- setuptools 'cython>=0.25,<3.0' 'cymem>=2.0.2,<2.1.0' 'preshed>=3.0.2,<3.1.0' 'murmurhash>=0.28.0,<1.1.0' 'thinc>=8.0.7,<8.1.0' 'blis>=0.4.0,<0.8.0' pathy 'numpy>=1.15.0' Check the logs for full command output.

yangheng95 commented 3 years ago

还没有收到过这个错误报告,建议您创建一个新环境再安装

---原始邮件--- 发件人: @.> 发送时间: 2021年7月15日(周四) 上午9:28 收件人: @.>; 抄送: @.***>; 主题: [yangheng95/LCF-ATEPC] pip install -U pyabsa问题 (#37)

您好,为什么我在操作pip install -U pyabsa时一直报错: ERROR: Command errored out with exit status 1: command: /home/anaconda3/bin/python /home/anaconda3/lib/python3.7/site-packages/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-h286negy/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- setuptools 'cython>=0.25,<3.0' 'cymem>=2.0.2,<2.1.0' 'preshed>=3.0.2,<3.1.0' 'murmurhash>=0.28.0,<1.1.0' 'thinc>=8.0.7,<8.1.0' 'blis>=0.4.0,<0.8.0' pathy 'numpy>=1.15.0' cwd: None Complete output (125 lines): Collecting setuptools Using cached https://files.pythonhosted.org/packages/a2/e1/902fbc2f61ad6243cd3d57ffa195a9eb123021ec912ec5d811acf54a39f8/setuptools-57.1.0-py3-none-any.whl Collecting cython<3.0,>=0.25 Downloading https://files.pythonhosted.org/packages/3d/48/bbca549da0b0f636c0f161e84d30172c40aafe99552680f297da7fedf102/Cython-0.29.24-cp37-cp37m-manylinux1_x86_64.whl (2.0MB) Collecting cymem<2.1.0,>=2.0.2 Collecting preshed<3.1.0,>=3.0.2 Using cached https://files.pythonhosted.org/packages/af/6e/0605ffc1c3861cce4d029a9724f302232f993fe9d0dc6c04fb7bc49b7852/preshed-3.0.5-cp37-cp37m-manylinux1_x86_64.whl Collecting murmurhash<1.1.0,>=0.28.0 Using cached https://files.pythonhosted.org/packages/08/82/917eb137b3e85060e4f7c8dc991fccfafb47aa1f6f59fdd63f406159b03e/murmurhash-1.0.5-cp37-cp37m-manylinux1_x86_64.whl Collecting thinc<8.1.0,>=8.0.7 Using cached https://files.pythonhosted.org/packages/dc/09/ec156380f339942a576887fc07ba367080386d2e5166ef70883138da8f4d/thinc-8.0.7.tar.gz Installing build dependencies: started Installing build dependencies: finished with status 'error' ERROR: Command errored out with exit status 1: command: /home/anaconda3/bin/python /home/anaconda3/lib/python3.7/site-packages/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-6cn30opu/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- setuptools 'cython>=0.25,<3.0' 'murmurhash>=0.28.0,<1.1.0' 'cymem>=2.0.2,<2.1.0' 'preshed>=3.0.2,<3.1.0' 'blis>=0.4.0,<0.8.0' 'numpy>=1.15.0' cwd: None Complete output (106 lines): Collecting setuptools Using cached https://files.pythonhosted.org/packages/a2/e1/902fbc2f61ad6243cd3d57ffa195a9eb123021ec912ec5d811acf54a39f8/setuptools-57.1.0-py3-none-any.whl Collecting cython<3.0,>=0.25 Using cached https://files.pythonhosted.org/packages/3d/48/bbca549da0b0f636c0f161e84d30172c40aafe99552680f297da7fedf102/Cython-0.29.24-cp37-cp37m-manylinux1_x86_64.whl Collecting murmurhash<1.1.0,>=0.28.0 Using cached https://files.pythonhosted.org/packages/08/82/917eb137b3e85060e4f7c8dc991fccfafb47aa1f6f59fdd63f406159b03e/murmurhash-1.0.5-cp37-cp37m-manylinux1_x86_64.whl Collecting cymem<2.1.0,>=2.0.2 Collecting preshed<3.1.0,>=3.0.2 Using cached https://files.pythonhosted.org/packages/af/6e/0605ffc1c3861cce4d029a9724f302232f993fe9d0dc6c04fb7bc49b7852/preshed-3.0.5-cp37-cp37m-manylinux1_x86_64.whl Collecting blis<0.8.0,>=0.4.0 Using cached https://files.pythonhosted.org/packages/b1/54/b0de9905ee80aebd64c333bc112cacfe06849a9b5a7230a02dfde73e7aad/blis-0.7.4.tar.gz Installing build dependencies: started Installing build dependencies: finished with status 'done' Getting requirements to build wheel: started Getting requirements to build wheel: finished with status 'done' Installing backend dependencies: started Installing backend dependencies: finished with status 'done' Preparing wheel metadata: started Preparing wheel metadata: finished with status 'done' Collecting numpy>=1.15.0 Using cached https://files.pythonhosted.org/packages/3f/03/c3526fb4e79a793498829ca570f2f868204ad9a8040afcd72d82a8f121db/numpy-1.21.0-cp37-cp37m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl Building wheels for collected packages: blis Building wheel for blis (PEP 517): started Building wheel for blis (PEP 517): finished with status 'error' ERROR: Command errored out with exit status 1: command: /home/anaconda3/bin/python /home/anaconda3/lib/python3.7/site-packages/pip/_vendor/pep517/in_process.py build_wheel /tmp/tmp3na18tlb cwd: /tmp/pip-install-xny4m0tf/blis Complete output (73 lines): BLIS_COMPILER? None running bdist_wheel running build running build_py creating build creating build/lib.linux-x86_64-3.7 creating build/lib.linux-x86_64-3.7/blis copying blis/init.py -> build/lib.linux-x86_64-3.7/blis copying blis/about.py -> build/lib.linux-x86_64-3.7/blis copying blis/benchmark.py -> build/lib.linux-x86_64-3.7/blis creating build/lib.linux-x86_64-3.7/blis/tests copying blis/tests/init.py -> build/lib.linux-x86_64-3.7/blis/tests copying blis/tests/common.py -> build/lib.linux-x86_64-3.7/blis/tests copying blis/tests/test_dotv.py -> build/lib.linux-x86_64-3.7/blis/tests copying blis/tests/test_gemm.py -> build/lib.linux-x86_64-3.7/blis/tests copying blis/cy.pyx -> build/lib.linux-x86_64-3.7/blis copying blis/py.pyx -> build/lib.linux-x86_64-3.7/blis copying blis/init.pxd -> build/lib.linux-x86_64-3.7/blis copying blis/cy.pxd -> build/lib.linux-x86_64-3.7/blis running build_ext gcc: error: unrecognized command line option ‘-fopenmp-simd’ Build options linux unix BUILD ARCH: generic {'NVM_DIR': '/home/matt/.nvm', 'LS_COLORS': 'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:.tar=01;31:.tgz=01;31:.arc=01;31:.arj=01;31:.taz=01;31:.lha=01;31:.lz4=01;31:.lzh=01;31:.lzma=01;31:.tlz=01;31:.txz=01;31:.tzo=01;31:.t7z=01;31:.zip=01;31:.z=01;31:.Z=01;31:.dz=01;31:.gz=01;31:.lrz=01;31:.lz=01;31:.lzo=01;31:.xz=01;31:.zst=01;31:.tzst=01;31:.bz2=01;31:.bz=01;31:.tbz=01;31:.tbz2=01;31:.tz=01;31:.deb=01;31:.rpm=01;31:.jar=01;31:.war=01;31:.ear=01;31:.sar=01;31:.rar=01;31:.alz=01;31:.ace=01;31:.zoo=01;31:.cpio=01;31:.7z=01;31:.rz=01;31:.cab=01;31:.wim=01;31:.swm=01;31:.dwm=01;31:.esd=01;31:.jpg=01;35:.jpeg=01;35:.mjpg=01;35:.mjpeg=01;35:.gif=01;35:.bmp=01;35:.pbm=01;35:.pgm=01;35:.ppm=01;35:.tga=01;35:.xbm=01;35:.xpm=01;35:.tif=01;35:.tiff=01;35:.png=01;35:.svg=01;35:.svgz=01;35:.mng=01;35:.pcx=01;35:.mov=01;35:.mpg=01;35:.mpeg=01;35:.m2v=01;35:.mkv=01;35:.webm=01;35:.ogm=01;35:.mp4=01;35:.m4v=01;35:.mp4v=01;35:.vob=01;35:.qt=01;35:.nuv=01;35:.wmv=01;35:.asf=01;35:.rm=01;35:.rmvb=01;35:.flc=01;35:.avi=01;35:.fli=01;35:.flv=01;35:.gl=01;35:.dl=01;35:.xcf=01;35:.xwd=01;35:.yuv=01;35:.cgm=01;35:.emf=01;35:.ogv=01;35:.ogx=01;35:.aac=00;36:.au=00;36:.flac=00;36:.m4a=00;36:.mid=00;36:.midi=00;36:.mka=00;36:.mp3=00;36:.mpc=00;36:.ogg=00;36:.ra=00;36:.wav=00;36:.oga=00;36:.opus=00;36:.spx=00;36:.xspf=00;36:', 'HOSTTYPE': 'x86_64', 'LESSCLOSE': '/usr/bin/lesspipe %s %s', 'LANG': 'C.UTF-8', 'OLDPWD': '/home/matt/repos/explosion/cython-blis-v0.7', 'NVM_CD_FLAGS': '', 'WSL_DISTRO_NAME': 'Ubuntu', 'VIRTUAL_ENV': '/home/matt/repos/explosion/spaCy/env3.8', 'USER': 'matt', 'PWD': '/home/matt/repos/explosion/cython-blis-v0.7/flame-blis', 'HOME': '/home/matt', 'NAME': 'LAPTOP-OMKOB3VM', 'XDG_DATA_DIRS': '/usr/local/share:/usr/share:/var/lib/snapd/desktop', 'TERM': 'xterm-256color', 'SHELL': '/bin/bash', 'NVM_BIN': '/home/matt/.nvm/versions/node/v10.15.3/bin', 'SHLVL': '2', 'PYTHONPATH': '/home/matt/repos/explosion/cython-blis-v0.7', 'LOGNAME': 'matt', 'PATH': '/home/matt/repos/explosion/spaCy/env3.8/bin:/home/matt/.nvm/versions/node/v10.15.3/bin:/tmp/google-cloud-sdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/mnt/c/Users/matt/Documents/cmder/vendor/conemu-maximus5/ConEmu/Scripts:/mnt/c/Users/matt/Documents/cmder/vendor/conemu-maximus5:/mnt/c/Users/matt/Documents/cmder/vendor/conemu-maximus5/ConEmu:/mnt/c/Python37/Scripts/:/mnt/c/Python37/:/mnt/c/Program Files (x86)/Intel/Intel(R) Management Engine Components/iCLS/:/mnt/c/Program Files/Intel/Intel(R) Management Engine Components/iCLS/:/mnt/c/Windows/system32:/mnt/c/Windows:/mnt/c/Windows/System32/Wbem:/mnt/c/Windows/System32/WindowsPowerShell/v1.0/:/mnt/c/Program Files (x86)/Intel/Intel(R) Management Engine Components/DAL:/mnt/c/Program Files/Intel/Intel(R) Management Engine Components/DAL:/mnt/c/Program Files (x86)/Intel/Intel(R) Management Engine Components/IPT:/mnt/c/Program Files/Intel/Intel(R) Management Engine Components/IPT:/mnt/c/Program Files (x86)/NVIDIA Corporation/PhysX/Common:/mnt/c/ProgramData/chocolatey/bin:/mnt/c/Program Files/Git/cmd:/mnt/c/Program Files/LLVM/bin:/mnt/c/WINDOWS/system32:/mnt/c/WINDOWS:/mnt/c/WINDOWS/System32/Wbem:/mnt/c/WINDOWS/System32/WindowsPowerShell/v1.0/:/mnt/c/WINDOWS/System32/OpenSSH/:/mnt/c/Program Files/nodejs/:/mnt/c/Program Files/Intel/WiFi/bin/:/mnt/c/Program Files/Common Files/Intel/WirelessCommon/:/mnt/c/Users/matt/AppData/Local/Microsoft/WindowsApps:/mnt/c/Users/matt/AppData/Local/Programs/Microsoft VS Code/bin:/mnt/c/Users/matt/AppData/Roaming/npm:/snap/bin', 'NVM_INC': '/home/matt/.nvm/versions/node/v10.15.3/include/node', 'WSLENV': '', 'LESSOPEN': '| /usr/bin/lesspipe %s', '': '/home/matt/repos/explosion/spaCy/env3.8/bin/python'} [COMMAND] gcc -c /tmp/pip-install-xny4m0tf/blis/blis/_src/config/generic/bli_cntx_init_generic.c -o /tmp/tmpwe_b8pqk/bli_cntx_init_generic.o -O3 -fPIC -std=c99 -fvisibility=hidden -D_POSIX_C_SOURCE=200112L -DBLIS_VERSION_STRING="0.7.0" -DBLIS_IS_BUILDING_LIBRARY -Iinclude/linux-generic -I./frame/3/ -I./frame/ind/ukernels/ -I./frame/3/ -I./frame/1m/ -I./frame/1f/ -I./frame/1/ -I./frame/include -I/tmp/pip-install-xny4m0tf/blis/blis/_src/include/linux-generic [COMMAND] gcc -c /tmp/pip-install-xny4m0tf/blis/blis/_src/ref_kernels/bli_cntx_ref.c -o /tmp/tmpwe_b8pqk/bli_cntx_generic_ref.o -O3 -fPIC -std=c99 -fvisibility=hidden -D_POSIX_C_SOURCE=200112L -DBLIS_VERSION_STRING="0.7.0" -DBLIS_CNAME=generic -DBLIS_IS_BUILDING_LIBRARY -Iinclude/linux-generic -I./frame/3/ -I./frame/ind/ukernels/ -I./frame/3/ -I./frame/1m/ -I./frame/1f/ -I./frame/1/ -I./frame/include -I/tmp/pip-install-xny4m0tf/blis/blis/_src/include/linux-generic [COMMAND] gcc -c /tmp/pip-install-xny4m0tf/blis/blis/_src/ref_kernels/1/bli_addv_ref.c -o /tmp/tmpwe_b8pqk/bli_addv_generic_ref.o -O3 -funsafe-math-optimizations -ffp-contract=fast -fPIC -std=c99 -fopenmp-simd -fvisibility=hidden -D_POSIX_C_SOURCE=200112L -DBLIS_VERSION_STRING="0.7.0" -DBLIS_CNAME=generic -DBLIS_IS_BUILDING_LIBRARY -Iinclude/linux-generic -I./frame/3/ -I./frame/ind/ukernels/ -I./frame/3/ -I./frame/1m/ -I./frame/1f/ -I./frame/1/ -I./frame/include -I/tmp/pip-install-xny4m0tf/blis/blis/_src/include/linux-generic Traceback (most recent call last): File "/home/anaconda3/lib/python3.7/site-packages/pip/_vendor/pep517/_in_process.py", line 207, in main() File "/home/anaconda3/lib/python3.7/site-packages/pip/_vendor/pep517/_in_process.py", line 197, in main json_out['return_val'] = hook(hook_input['kwargs']) File "/home/anaconda3/lib/python3.7/site-packages/pip/_vendor/pep517/_in_process.py", line 141, in build_wheel metadata_directory) File "/tmp/pip-build-env-6vo0xr6r/overlay/lib/python3.7/site-packages/setuptools/build_meta.py", line 222, in build_wheel wheel_directory, config_settings) File "/tmp/pip-build-env-6vo0xr6r/overlay/lib/python3.7/site-packages/setuptools/build_meta.py", line 207, in _build_with_temp_dir self.run_setup() File "/tmp/pip-build-env-6vo0xr6r/overlay/lib/python3.7/site-packages/setuptools/build_meta.py", line 150, in run_setup exec(compile(code, file, 'exec'), locals()) File "setup.py", line 327, in "Topic :: Scientific/Engineering", File "/tmp/pip-build-env-6vo0xr6r/overlay/lib/python3.7/site-packages/setuptools/init.py", line 153, in setup return distutils.core.setup(attrs) File "/home/anaconda3/lib/python3.7/distutils/core.py", line 148, in setup dist.run_commands() File "/home/anaconda3/lib/python3.7/distutils/dist.py", line 966, in run_commands self.run_command(cmd) File "/home/anaconda3/lib/python3.7/distutils/dist.py", line 985, in run_command cmd_obj.run() File "/tmp/pip-build-env-6vo0xr6r/normal/lib/python3.7/site-packages/wheel/bdist_wheel.py", line 299, in run self.run_command('build') File "/home/anaconda3/lib/python3.7/distutils/cmd.py", line 313, in run_command self.distribution.run_command(command) File "/home/anaconda3/lib/python3.7/distutils/dist.py", line 985, in run_command cmd_obj.run() File "/home/anaconda3/lib/python3.7/distutils/command/build.py", line 135, in run self.run_command(cmd_name) File "/home/anaconda3/lib/python3.7/distutils/cmd.py", line 313, in run_command self.distribution.run_command(command) File "/home/anaconda3/lib/python3.7/distutils/dist.py", line 985, in run_command cmd_obj.run() File "/home/anaconda3/lib/python3.7/distutils/command/build_ext.py", line 340, in run self.build_extensions() File "setup.py", line 105, in build_extensions objects = self.compile_objects(platform_name, arch, OBJ_DIR) File "setup.py", line 221, in compile_objects objects.append(self.build_object(env=env, **spec)) File "setup.py", line 235, in build_object subprocess.check_call(command, cwd=BLIS_DIR) File "/home/anaconda3/lib/python3.7/subprocess.py", line 347, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['gcc', '-c', '/tmp/pip-install-xny4m0tf/blis/blis/_src/ref_kernels/1/bli_addv_ref.c', '-o', '/tmp/tmpwe_b8pqk/bli_addv_generic_ref.o', '-O3', '-funsafe-math-optimizations', '-ffp-contract=fast', '-fPIC', '-std=c99', '-fopenmp-simd', '-fvisibility=hidden', '-D_POSIX_C_SOURCE=200112L', '-DBLIS_VERSION_STRING="0.7.0"', '-DBLIS_CNAME=generic', '-DBLIS_IS_BUILDING_LIBRARY', '-Iinclude/linux-generic', '-I./frame/3/', '-I./frame/ind/ukernels/', '-I./frame/3/', '-I./frame/1m/', '-I./frame/1f/', '-I./frame/1/', '-I./frame/include', '-I/tmp/pip-install-xny4m0tf/blis/blis/_src/include/linux-generic']' returned non-zero exit status 1.

ERROR: Failed building wheel for blis Running setup.py clean for blis Failed to build blis ERROR: Could not build wheels for blis which use PEP 517 and cannot be installed directly

ERROR: Command errored out with exit status 1: /home/anaconda3/bin/python /home/anaconda3/lib/python3.7/site-packages/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-6cn30opu/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- setuptools 'cython>=0.25,<3.0' 'murmurhash>=0.28.0,<1.1.0' 'cymem>=2.0.2,<2.1.0' 'preshed>=3.0.2,<3.1.0' 'blis>=0.4.0,<0.8.0' 'numpy>=1.15.0' Check the logs for full command output.

ERROR: Command errored out with exit status 1: /home/anaconda3/bin/python /home/anaconda3/lib/python3.7/site-packages/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-h286negy/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- setuptools 'cython>=0.25,<3.0' 'cymem>=2.0.2,<2.1.0' 'preshed>=3.0.2,<3.1.0' 'murmurhash>=0.28.0,<1.1.0' 'thinc>=8.0.7,<8.1.0' 'blis>=0.4.0,<0.8.0' pathy 'numpy>=1.15.0' Check the logs for full command output.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

yangheng95 commented 3 years ago

或者你可以尝试 pip install pyabsa,去掉-U参数