Hi Edward,
Thanks for your reply. The error was due to the "minfx module" which was 
missing on my Windows 10. After "minfx module" installation,  " relax " has 
loaded on my desktop command terminal but without GUI initialisation. Its 
giving me following error:-
C:\>relax --guiUsage: relax.py [options] [script_file]
RelaxError: To use the GUI, the wxPython module must be installed.

Although Anaconda or Python 3.7.3 has in-built wxPython module 4.0.4 . But to 
ensure that its installed I used   " pip install -U wxPython "  for again 
installation. 

Requirement already satisfied, skipping upgrade: six in 
c:\users\u1870527\anaconda3\lib\site-packages (from wxPython) 
(1.12.0)Installing collected packages: wxPythonSuccessfully installed 
wxPython-4.0.4
C:\>wxpython --version'wxpython' is not recognized as an internal or external 
command,operable program or batch file.
C:\>wxPython --version'wxPython' is not recognized as an internal or external 
command,operable program or batch file.
C:\>relax --guiTraceback (most recent call last):  File "C:\Program Files 
(x86)\relax-4.1.1\multi\processor.py", line 494, in run    
self.callback.init_master(self)  File "C:\Program Files 
(x86)\relax-4.1.1\multi\__init__.py", line 318, in default_init_master    
self.master.run()  File "C:\Program Files (x86)\relax-4.1.1\\relax.py", line 
203, in run    import gui  File "C:\Program Files 
(x86)\relax-4.1.1\gui\__init__.py", line 39, in <module>    from gui.uf_objects 
import Uf_storage; uf_store = Uf_storage()  File "C:\Program Files 
(x86)\relax-4.1.1\gui\uf_objects.py", line 35, in <module>    from 
gui.components.free_file_format import Free_file_format  File "C:\Program Files 
(x86)\relax-4.1.1\gui\components\free_file_format.py", line 31, in <module>    
from gui.icons import relax_icons  File "C:\Program Files 
(x86)\relax-4.1.1\gui\icons.py", line 46, in <module>    relax_icons = 
Relax_icons()wx._core.PyNoAppError: The wx.App object must be created first!

I think now I am getting wxPython not configured  with relax errors. Can you 
suggest solution.
Regards
Arun Gupta 


    On Tuesday, April 16, 2019, 2:41:23 PM GMT+1, Edward d'Auvergne 
<[email protected]> wrote:  
 
 On Mon, 15 Apr 2019 at 21:24, Arun Gupta via nmr-relax-users
<[email protected]> wrote:
>
> Hi Edward,
>
> I recently upgraded my Windows O.S  &  installed the relax 4.1.1 on my 
> upgraded Windows10. However I am getting below mentioned error message during 
> GUI initialisation. I have installed Anaconda3.7 for the dependencies.
>
> C:\>relax --gui
> Traceback (most recent call last):
>  File "C:\Program Files (x86)\relax-4.1.1\\relax.py", line 28, in <module>
>    import dep_check
>  File "C:\Program Files (x86)\relax-4.1.1\dep_check. py", line 95, in <module>
>    if not minfx.__version__ == 'trunk' and version_comparison(minfx.__ 
>version__, min_version) == -1:
> AttributeError: module 'minfx' has no attribute '__version__'
>
> Can you suggest solution for the " GUI " initialisation issue.

Hi Arun,

Welcome to the relax mailing lists!  For the record, during the 2 year
period the lists were down Arun and I have had a few discussions in
private.  I've been experimenting a little but this error makes no
sense to me.  The dep_check module will throw a RelaxError if minfx is
not installed.  But if minfx is installed, the minfx.__version__
variable must exist.  This is very confusing.  So I am wondering if
this also happens in the default prompt mode?  This error happens
before any GUI code is touched.

One thing it could be is that the minfx installation is corrupted.
For testing this, could you try typing:

C:\>python -c "import minfx"
C:\>python -c "import minfx; print(dir(minfx))"
C:\>python -c "import minfx; print(minfx.__version__)"

This should give no errors.  I might have to modify the
./devel_scripts/python_seek.py script to work on Windows.

Regards,

Edward
  
_______________________________________________
nmr-relax-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nmr-relax-users

Reply via email to