Inside a conda environment running python3.12 and installing from pip:
pip install CAD_to_OpenMC
I get the following error:
File "/home/nuclear/anaconda3/envs/openmc-env/lib/python3.12/site-packages/setuptools/dist.py", line 963, in run_command
super().run_command(command)
File "/home/nuclear/anaconda3/envs/openmc-env/lib/python3.12/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
cmd_obj.run()
File "/tmp/pip-install-nl43z7pg/nlopt_373ac090b3584b99a65e173f5a2539ec/setup.py", line 28, in run
self.build_extension(ext)
File "/tmp/pip-install-nl43z7pg/nlopt_373ac090b3584b99a65e173f5a2539ec/setup.py", line 70, in build_extension
nlopt_py = next(Path(self.build_temp).rglob("nlopt.py"))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
StopIteration
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for nlopt
Running setup.py clean for nlopt
Failed to build nlopt
ERROR: Could not build wheels for nlopt, which is required to install pyproject.toml-based projects
I tried to compile nlopt on its own, but the error persist.
Erik Bergbäck Knudsen suggested to create the conda environment with python3.9 and retry. It did work. However it should be investigated why the nopt library won't install with the newer version of python
Inside a conda environment running python3.12 and installing from pip:
pip install CAD_to_OpenMC
I get the following error:
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for nlopt
Running setup.py clean for nlopt
Failed to build nlopt
ERROR: Could not build wheels for nlopt, which is required to install pyproject.toml-based projects
I tried to compile nlopt on its own, but the error persist.
Erik Bergbäck Knudsen suggested to create the conda environment with python3.9 and retry. It did work. However it should be investigated why the nopt library won't install with the newer version of python