Hi guys,
I tried to follow your procedure, but it does not work. I get the following error when I try to install pysph:
###############################################################################################################
[12/20] Cythonizing pysph/base/point.pyx
Traceback (most recent call last):
File "/home/luca/miniconda3/envs/pysph/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
main()
File "/home/luca/miniconda3/envs/pysph/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/luca/miniconda3/envs/pysph/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 149, in prepare_metadata_for_build_wheel
return hook(metadata_directory, config_settings)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/luca/miniconda3/envs/pysph/lib/python3.11/site-packages/setuptools/build_meta.py", line 368, in prepare_metadata_for_build_wheel
self.run_setup()
File "/home/luca/miniconda3/envs/pysph/lib/python3.11/site-packages/setuptools/build_meta.py", line 497, in run_setup
super().run_setup(setup_script=setup_script)
File "/home/luca/miniconda3/envs/pysph/lib/python3.11/site-packages/setuptools/build_meta.py", line 313, in run_setup
exec(code, locals())
File "<string>", line 782, in <module>
File "<string>", line 723, in setup_package
File "/home/luca/miniconda3/envs/pysph/lib/python3.11/site-packages/Cython/Build/Dependencies.py", line 1115, in cythonize
cythonize_one(*args)
File "/home/luca/miniconda3/envs/pysph/lib/python3.11/site-packages/Cython/Build/Dependencies.py", line 1238, in cythonize_one
raise CompileError(None, pyx_file)
Cython.Compiler.Errors.CompileError: pysph/base/point.pyx
[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.
#################################################################################################################
I also thought that the error was due to the fact that I have not installed pyzoltan. However, if I try to install it using:
I get this error:
######################################################################
error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [11 lines of output]
********************************************************************************
Zoltan Environment variable not set, not using ZOLTAN!
********************************************************************************
Traceback (most recent call last):
File "<string>", line 2, in <module>
File "<pip-setuptools-caller>", line 34, in <module>
File "/tmp/pip-req-build-v9vx_ge_/setup.py", line 423, in <module>
setup_package()
File "/tmp/pip-req-build-v9vx_ge_/setup.py", line 369, in setup_package
raise RuntimeError(
RuntimeError: There are no extension modules, Nothing to do!
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for PyZoltan
Running setup.py clean for PyZoltan
Failed to build PyZoltan
ERROR: Could not build wheels for PyZoltan, which is required to install pyproject.toml-based projects
#########################################################################
Can you tell me how to solve this issue?
Thanks a lot!
Luca