【发布时间】:2021-04-14 18:47:06
【问题描述】:
Building wheels for collected packages: pyarrow
Building wheel for pyarrow (PEP 517) ... error
ERROR: Command errored out with exit status 1:
command: 'c:\users\marcu\appdata\local\programs\python\python38-32\python.exe' 'c:\users\marcu\appdata\local\programs\python\python38-32\lib\site-packages\pip\_vendor\pep517\_in_process.py' build_wheel 'C:\Users\marcu\AppData\Local\Temp\tmpkpasio4h'
cwd: C:\Users\marcu\AppData\Local\Temp\pip-install-u7dfkgy9\pyarrow_98ea7953e43d453181a91fb377b77d2d
Complete output (592 lines):
running bdist_wheel
running build
running build_py
creating build
creating build\lib.win32-3.8
creating build\lib.win32-3.8\pyarrow
copying pyarrow\benchmark.py -> build\lib.win32-3.8\pyarrow
copying pyarrow\cffi.py -> build\lib.win32-3.8\pyarrow
copying pyarrow\compat.py -> build\lib.win32-3.8\pyarrow
copying pyarrow\compute.py -> build\lib.win32-3.8\pyarrow
copying pyarrow\csv.py -> build\lib.win32-3.8\pyarrow
copying pyarrow\cuda.py -> build\lib.win32-3.8\pyarrow
copying pyarrow\dataset.py -> build\lib.win32-3.8\pyarrow
copying pyarrow\feather.py -> build\lib.win32-3.8\pyarrow
copying pyarrow\filesystem.py -> build\lib.win32-3.8\pyarrow
copying pyarrow\flight.py -> build\lib.win32-3.8\pyarrow
copying pyarrow\fs.py -> build\lib.win32-3.8\pyarrow
copying pyarrow\hdfs.py -> build\lib.win32-3.8\pyarrow
copying pyarrow\ipc.py -> build\lib.win32-3.8\pyarrow
copying pyarrow\json.py -> build\lib.win32-3.8\pyarrow
copying pyarrow\jvm.py -> build\lib.win32-3.8\pyarrow
copying pyarrow\orc.py -> build\lib.win32-3.8\pyarrow
copying pyarrow\pandas_compat.py -> build\lib.win32-3.8\pyarrow
copying pyarrow\parquet.py -> build\lib.win32-3.8\pyarrow
copying pyarrow\plasma.py -> build\lib.win32-3.8\pyarrow
copying pyarrow\serialization.py -> build\lib.win32-3.8\pyarrow
copying pyarrow\types.py -> build\lib.win32-3.8\pyarrow
copying pyarrow\util.py -> build\lib.win32-3.8\pyarrow
copying pyarrow\_generated_version.py -> build\lib.win32-3.8\pyarrow
copying pyarrow\tests\strategies.py -> build\lib.win32-3.8\pyarrow\tests
copying pyarrow\tests\test_adhoc_memory_leak.py -> build\lib.win32-3.8\pyarrow\tests
copying pyarrow\tests\test_array.py -> build\lib.win32-3.8\pyarrow\tests
copying pyarrow\tests\test_builder.py -> build\lib.win32-3.8\pyarrow\tests
copying pyarrow\tests\test_cffi.py -> build\lib.win32-3.8\pyarrow\tests
copying pyarrow\tests\test_compute.py -> build\lib.win32-3.8\pyarrow\tests
copying pyarrow\tests\test_convert_builtin.py -> build\lib.win32-3.8\pyarrow\tests
copying pyarrow\tests\test_csv.py -> build\lib.win32-3.8\pyarrow\tests
copying pyarrow\tests\test_cuda.py -> build\lib.win32-3.8\pyarrow\tests
copying pyarrow\tests\test_cuda_numba_interop.py -> build\lib.win32-3.8\pyarrow\tests
copying pyarrow\tests\test_cython.py -> build\lib.win32-3.8\pyarrow\tests
copying pyarrow\tests\test_dataset.py -> build\lib.win32-3.8\pyarrow\tests
copying pyarrow\tests\test_deprecations.py -> build\lib.win32-3.8\pyarrow\tests
copying pyarrow\tests\test_extension_type.py -> build\lib.win32-3.8\pyarrow\tests
copying pyarrow\tests\test_feather.py -> build\lib.win32-3.8\pyarrow\tests
copying pyarrow\tests\test_filesystem.py -> build\lib.win32-3.8\pyarrow\tests
copying pyarrow\tests\test_flight.py -> build\lib.win32-3.8\pyarrow\tests
copying pyarrow\tests\test_fs.py -> build\lib.win32-3.8\pyarrow\tests
copying pyarrow\tests\test_gandiva.py -> build\lib.win32-3.8\pyarrow\tests
3.8\pyarrow\tests\data\orc
copying pyarrow\tests\data\orc\TestOrcFile.testDate1900.orc -> build\lib.win32-3.8\pyarrow\tests\data\orc
copying pyarrow\tests\data\orc\decimal.jsn.gz -> build\lib.win32-3.8\pyarrow\tests\data\orc
copying pyarrow\tests\data\orc\decimal.orc -> build\lib.win32-3.8\pyarrow\tests\data\orc
creating build\lib.win32-3.8\pyarrow\tests\data\parquet
copying pyarrow\tests\data\parquet\v0.7.1.all-named-index.parquet -> build\lib.win32-3.8\pyarrow\tests\data\parquet
copying pyarrow\tests\data\parquet\v0.7.1.column-metadata-handling.parquet -> build\lib.win32-3.8\pyarrow\tests\data\parquet
copying pyarrow\tests\data\parquet\v0.7.1.parquet -> build\lib.win32-3.8\pyarrow\tests\data\parquet
copying pyarrow\tests\data\parquet\v0.7.1.some-named-index.parquet -> build\lib.win32-3.8\pyarrow\tests\data\parquet
running build_ext
creating C:\Users\marcu\AppData\Local\Temp\pip-install-u7dfkgy9\pyarrow_98ea7953e43d453181a91fb377b77d2d\build\temp.win32-3.8
Traceback (most recent call last):
File "c:\users\marcu\appdata\local\programs\python\python38-32\lib\site-packages\pip\_vendor\pep517\_in_process.py", line 280, in <module>
main()
File "c:\users\marcu\appdata\local\programs\python\python38-32\lib\site-packages\pip\_vendor\pep517\_in_process.py", line 263, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
File "c:\users\marcu\appdata\local\programs\python\python38-32\lib\site-packages\pip\_vendor\pep517\_in_process.py", line 204, in build_wheel
return _build_backend().build_wheel(wheel_directory, config_settings,
File "C:\Users\marcu\AppData\Local\Temp\pip-build-env-4dvd2f5a\overlay\Lib\site-packages\setuptools\build_meta.py", line 216, in build_wheel
return self._build_with_temp_dir(['bdist_wheel'], '.whl',
File "C:\Users\marcu\AppData\Local\Temp\pip-build-env-4dvd2f5a\overlay\Lib\site-packages\setuptools\build_meta.py", line 202, in _build_with_temp_dir
self.run_setup()
File "C:\Users\marcu\AppData\Local\Temp\pip-build-env-4dvd2f5a\overlay\Lib\site-packages\setuptools\build_meta.py", line 253, in run_setup
super(_BuildMetaLegacyBackend,
File "C:\Users\marcu\AppData\Local\Temp\pip-build-env-4dvd2f5a\overlay\Lib\site-packages\setuptools\build_meta.py", line 145, in run_setup
exec(compile(code, __file__, 'exec'), locals())
File "setup.py", line 589, in <module>
setup(
File "C:\Users\marcu\AppData\Local\Temp\pip-build-env-4dvd2f5a\overlay\Lib\site-packages\setuptools\__init__.py", line 153, in setup
return distutils.core.setup(**attrs)
File "c:\users\marcu\appdata\local\programs\python\python38-32\lib\distutils\core.py", line 148, in setup
dist.run_commands()
File "c:\users\marcu\appdata\local\programs\python\python38-32\lib\distutils\dist.py", line 966, in run_commands
self.run_command(cmd)
File "c:\users\marcu\appdata\local\programs\python\python38-32\lib\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "C:\Users\marcu\AppData\Local\Temp\pip-build-env-4dvd2f5a\overlay\Lib\site-packages\wheel\bdist_wheel.py", line 299, in run
self.run_command('build')
File "c:\users\marcu\appdata\local\programs\python\python38-32\lib\distutils\cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "c:\users\marcu\appdata\local\programs\python\python38-32\lib\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "c:\users\marcu\appdata\local\programs\python\python38-32\lib\distutils\command\build.py", line 135, in run
self.run_command(cmd_name)
File "c:\users\marcu\appdata\local\programs\python\python38-32\lib\distutils\cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "c:\users\marcu\appdata\local\programs\python\python38-32\lib\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "setup.py", line 92, in run
self._run_cmake()
File "setup.py", line 276, in _run_cmake
raise RuntimeError('Not supported on 32-bit Windows')
RuntimeError: Not supported on 32-bit Windows
----------------------------------------
ERROR: Failed building wheel for pyarrow
Failed to build pyarrow
ERROR: Could not build wheels for pyarrow which use PEP 517 and cannot be installed directly
这是我不断遇到的错误,此时我迷路了。我试过重新安装python,重新启动计算机,阅读其他论坛,我只是迷路了。如果我能在这方面得到一些帮助,那就太好了。
但是,在检查所涉及的软件包时,它显示它是通过 pip list 和 anaconda 安装的。但是当我通过 Vscode 编辑器导入包时,它既没有注册也没有用于 atom。
【问题讨论】:
-
错误消息“RuntimeError: Not supported on 32-bit Windows”准确地告诉您错误是什么。 stackoverflow.com/a/64205790/2394542
标签: debugging installation streamlit