Swanson-Hysell-Group / lab_protocols

2 stars 2 forks source link

demag_gui read me #1

Open yuempark opened 7 years ago

yuempark commented 7 years ago

It seems like the demag_gui installation instructions are now out of date (mostly python 2 vs python 3). Having just now tried to get the whole thing running on the main branch, I have a few pointers that might be useful for other people trying to get up and running.

I looked into updating the protocols myself, but there seem to be 3 versions of the same instructions, so I wasn't sure which one to update. Anyway, these are the pointers, which I would be happy to integrate myself if someone could point me to the right file...

The version of wxpython that works with python 3 is known as wxpython pheonix. To install:

pip install --upgrade --pre -f https://wxpython.org/Phoenix/snapshot-builds/ wxPython

Note that the wxpython managed by conda is not the phoenix version, and therefore will not work with python 3.

Unintuitively, to install:

conda install future
yuempark commented 7 years ago

jk on the wxpython issues:

you need a specific version of wxpython for the gui's to work. install using:

pip install wxPython==4.0.0a3