Closed sudo-nano closed 1 month ago
I'm having the same issue on Ubuntu 23.10, with x86_64 architecture.
Workaround: go to $PYNE_SRC_DIR/build/pyne
and execute python3 pyne_version.py
; then the build process can be resumed.
I expect there is an error earlier in the build process that you are missing. This file should be generated by running a python script during the build configuration.
This script is run by invoking python
but on some systems this doesn't exist and only python3
exists.
We'll have to find a more robust solution, but in the meantime, in addition to the workaround suggested by @sturmk, one can also ensure that the python
command exists with either a symlink or update-alternatives
on Ubuntu.
Describe the Bug
PyNE build fails during compilation of
endftod.f90.o
due toutils.cpp
not being able to findpyne_version.h
To Reproduce
python3.11 setup.py install --user -j $(nproc) --slow
Expected Behavior
PyNE builds and installs
Screenshots or Code Snippets
Please complete the following information regarding your system:
Additional Context
Building with
--slow
is required for me because I'm on Apple silicon (ARM).