Hello Yvan,
Thank you for your answer.
/opt/local/syrthes/syrthes5.0/arch/Linux_x86_64/lib/syrthes-GUI_exe/SyrthesMain is a binary file.
I followed the compilation steps from the attached README_build_GUI.txt file to recompile it.
At the build step with cx_freeze, I got some errors without any indication:
Installation : generation with cxfreeze …
Erreur : Aucune correspondance trouvée
Erreur : Aucune correspondance trouvée
Erreur : Aucune correspondance trouvée
Erreur : Aucune correspondance trouvée
Erreur : Aucune correspondance trouvée
running build
running build_exe
After that, the build apparently is done without any problem (see the Install_output.txt attached for more information if needed).
To test the syrthes GUI, I type in the ex.linux-x86_64 directory (as described in Readme file) ./SyrtesMain. But I got the following error:
[root@hotcell exe.linux-x86_64]# ./SyrthesMain
Traceback (most recent call last):
File “bit_generator.pyx”, line 40, in numpy.random.bit_generator
ModuleNotFoundError: No module named ‘secrets’
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “/usr/local/lib64/python3.6/site-packages/cx_Freeze/initscripts/startup.py”, line 120, in run
module_init.run(name + “main”)
File “/usr/local/lib64/python3.6/site-packages/cx_Freeze/initscripts/Console.py”, line 16, in run
exec(code, module_main.dict)
File “SyrthesMain.py”, line 29, in
File “”, line 971, in _find_and_load
File “”, line 955, in _find_and_load_unlocked
File “”, line 656, in _load_unlocked
File “”, line 626, in _load_backward_compatible
File “/opt/local/syrthes/syrthes5.0/src/syrthes-gui/src/install/calcView.py”, line 21, in
import numpy
File “/usr/local/lib64/python3.6/site-packages/numpy/init.py”, line 151, in
from . import random
File “/usr/local/lib64/python3.6/site-packages/numpy/random/init.py”, line 179, in
from . import _pickle
File “/usr/local/lib64/python3.6/site-packages/numpy/random/_pickle.py”, line 1, in
from .mtrand import RandomState
File “mtrand.pyx”, line 1, in init numpy.random.mtrand
File “bit_generator.pyx”, line 43, in init numpy.random.bit_generator
File “”, line 971, in _find_and_load
File “”, line 955, in _find_and_load_unlocked
File “”, line 656, in _load_unlocked
File “”, line 626, in _load_backward_compatible
File “/usr/lib64/python3.6/random.py”, line 46, in
from hashlib import sha512 as _sha512
File “”, line 971, in _find_and_load
File “”, line 955, in _find_and_load_unlocked
File “”, line 656, in _load_unlocked
File “”, line 626, in _load_backward_compatible
File “/usr/lib64/python3.6/hashlib.py”, line 219, in
globals()[__func_name] = __get_hash(__func_name)
File “/usr/lib64/python3.6/hashlib.py”, line 124, in __get_openssl_constructor
if not _hashlib.get_fips_mode():
AttributeError: module ‘_hashlib’ has no attribute ‘get_fips_mode’
It look that the “secrets” module is not found. But when I type pthon in the terminal and “import secrets”, I have no error:
[root@hotcell exe.linux-x86_64]# python
Python 3.6.8 (default, Jun 23 2022, 19:01:59)
[GCC 8.5.0 20210514 (Red Hat 8.5.0-13)] on linux
Type “help”, “copyright”, “credits” or “license” for more information.
import secrets
secrets.token_hex(16)
‘fd8b171488c1960560c4a7ad237e3d33’
Any idea what went wrong?
Best regards,
Kanssoune
Install_output.txt (454 KB)
README_build_GUI.txt (1.73 KB)