import mars.dataframe as mdpip install pymars import datatable as dtpip install datatable
是我安装方法错了吗?
Collecting datatable
Using cached datatable-1.0.0.tar.gz (1.1 MB)
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'done'
Preparing metadata (pyproject.toml): started
Preparing metadata (pyproject.toml): finished with status 'error'
error: subprocess-exited-with-error
Preparing metadata (pyproject.toml) did not run successfully.
exit code: 1
[29 lines of output]
Traceback (most recent call last):
File "D:\量化\pythonProject\venv\lib\site-packages\pip\_vendor\pep517\in_process\_in_process.py", line 156, in prepare_metadata_for_build_wheel
hook = backend.prepare_metadata_for_build_wheel
AttributeError: module 'ext' has no attribute 'prepare_metadata_for_build_wheel'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "D:\量化\pythonProject\venv\lib\site-packages\pip\_vendor\pep517\in_process\_in_process.py", line 363, in <module>
main()
File "D:\量化\pythonProject\venv\lib\site-packages\pip\_vendor\pep517\in_process\_in_process.py", line 345, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
File "D:\量化\pythonProject\venv\lib\site-packages\pip\_vendor\pep517\in_process\_in_process.py", line 160, in prepare_metadata_for_build_wheel
whl_basename = backend.build_wheel(metadata_directory, config_settings)
File "C:\Users\lizy1\AppData\Local\Temp\pip-install-esh2jxv7\datatable_f0b35d39f96d4a8f9fbd7966e058f9e3\ci\ext.py", line 573, in build_wheel
generate_build_info(flavor, strict=not is_source_distribution())
File "C:\Users\lizy1\AppData\Local\Temp\pip-install-esh2jxv7\datatable_f0b35d39f96d4a8f9fbd7966e058f9e3\ci\ext.py", line 467, in generate_build_info
git_hash = shell_cmd(["git", "rev-parse", "HEAD"], strict=strict)
File "C:\Users\lizy1\AppData\Local\Temp\pip-install-esh2jxv7\datatable_f0b35d39f96d4a8f9fbd7966e058f9e3\ci\ext.py", line 437, in shell_cmd
return subprocess.check_output(cmd, universal_newlines=True,
File "D:\Python\Python310\lib\subprocess.py", line 420, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
File "D:\Python\Python310\lib\subprocess.py", line 501, in run
with Popen(*popenargs, **kwargs) as process:
File "D:\Python\Python310\lib\subprocess.py", line 966, in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "D:\Python\Python310\lib\subprocess.py", line 1435, in _execute_child
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
FileNotFoundError: [WinError 2] 系统找不到指定的文件。
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
Encountered error while generating package metadata.
See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.