Dear Oleg,
Thank you for your quick response.
I will try your suggestions.
Jobi

On Sat, Jan 18, 2025, 9:26 AM Oleg Sobolev <osobolev@lbl.gov> wrote:
Dear Jobi,

Looks like you installed the Python 3 version of Phenix on a Windows machine.
The full functionality on Windows can be achieved by installing Python2 Linux version under WSL, as outlined on the download page here:
https://phenix-online.org/download/phenix/release/

If you cannot use WSL at all, I would encourage you to try release candidate here:
https://phenix-online.org/download/phenix/nightly/?version=2.0rc1-5555
which has native Windows installer. Note that we are still ironing out some GUI issues so you may encounter errors.

Please let us know if you have any questions.

Best regards,
Oleg Sobolev.

On Fri, Jan 17, 2025 at 1:32 PM Jobichen Chacko <jobichenc@gmail.com> wrote:
ImportError : __import__("gltbx_glu_ext"): DLL load failed while importing gltbx_glu_ext: A dynamic link library (DLL) initialization routine failed.
  sys.path:
    C:\ProgramData\phenix-1.21.2-5419\lib\site-packages\libsvm
    C:\ProgramData\phenix-1.21.2-5419\lib\site-packages\phenix\wxGUI2\command_line
    C:\ProgramData\phenix-1.21.2-5419\python39.zip
    C:\ProgramData\phenix-1.21.2-5419\DLLs
    C:\ProgramData\phenix-1.21.2-5419\lib
    C:\ProgramData\phenix-1.21.2-5419
    C:\ProgramData\phenix-1.21.2-5419\lib\site-packages
    C:\ProgramData\phenix-1.21.2-5419\lib\site-packages\mmtbx\suitename

Traceback (most recent call last):
  File "C:\ProgramData\phenix-1.21.2-5419\lib\site-packages\boost_adaptbx\boost\python.py", line 22, in import_ext
    try: mod = __import__(name)
ImportError: DLL load failed while importing gltbx_glu_ext: A dynamic link library (DLL) initialization routine failed.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\ProgramData\phenix-1.21.2-5419\lib\site-packages\wxGUI2\MainWindow.py", line 745, in <lambda>
    menu.add_command("Run now", lambda evt: self.run())
  File "C:\ProgramData\phenix-1.21.2-5419\lib\site-packages\wxGUI2\Programs\Refine\Main.py", line 426, in run
    self.start_process(config_file, output_dir, process_type)
  File "C:\ProgramData\phenix-1.21.2-5419\lib\site-packages\wxGUI2\Templates.py", line 701, in start_process
    run_notebook = self.create_run_notebook()
  File "C:\ProgramData\phenix-1.21.2-5419\lib\site-packages\wxGUI2\Programs\Refine\Main.py", line 532, in create_run_notebook
    from wxGUI2.Programs.Refine import Output
  File "C:\ProgramData\phenix-1.21.2-5419\lib\site-packages\wxGUI2\Programs\Refine\Output.py", line 5, in <module>
    from wxGUI2 import GLViewer, AdvancedWidgets, Buttons
  File "C:\ProgramData\phenix-1.21.2-5419\lib\site-packages\wxGUI2\GLViewer.py", line 10, in <module>
    from crys3d.wx_combined_viewer import viewer_phil
  File "C:\ProgramData\phenix-1.21.2-5419\lib\site-packages\crys3d\wx_combined_viewer.py", line 4, in <module>
    from crys3d.wx_selection_editor import selection_editor_mixin
  File "C:\ProgramData\phenix-1.21.2-5419\lib\site-packages\crys3d\wx_selection_editor.py", line 6, in <module>
    from crys3d.wx_model_viewer import model_scene, model_viewer_mixin
  File "C:\ProgramData\phenix-1.21.2-5419\lib\site-packages\crys3d\wx_model_viewer.py", line 10, in <module>
    from gltbx.wx_viewer import wxGLWindow
  File "C:\ProgramData\phenix-1.21.2-5419\lib\site-packages\gltbx\wx_viewer.py", line 8, in <module>
    from gltbx.glu import *
  File "C:\ProgramData\phenix-1.21.2-5419\lib\site-packages\gltbx\glu.py", line 3, in <module>
    ext = bp.import_ext("gltbx_glu_ext")
  File "C:\ProgramData\phenix-1.21.2-5419\lib\site-packages\boost_adaptbx\boost\python.py", line 31, in import_ext
    raise ImportError(
Dear All,
I am getting this error when trying to run Phenix-refine. Any idea how to fix this?
Thank you.
Jobi


ImportError: __import__("gltbx_glu_ext"): DLL load failed while importing gltbx_glu_ext: A dynamic link library (DLL) initialization routine failed.
  sys.path:
    C:\ProgramData\phenix-1.21.2-5419\lib\site-packages\libsvm
    C:\ProgramData\phenix-1.21.2-5419\lib\site-packages\phenix\wxGUI2\command_line
    C:\ProgramData\phenix-1.21.2-5419\python39.zip
    C:\ProgramData\phenix-1.21.2-5419\DLLs
    C:\ProgramData\phenix-1.21.2-5419\lib
    C:\ProgramData\phenix-1.21.2-5419
    C:\ProgramData\phenix-1.21.2-5419\lib\site-packages
    C:\ProgramData\phenix-1.21.2-5419\lib\site-packages\mmtbx\suitename

_______________________________________________
phenixbb mailing list -- phenixbb@phenix-online.org
To unsubscribe send an email to phenixbb-leave@phenix-online.org
Unsubscribe: phenixbb-leave@%(host_name)s