Open quantumphysicist opened 3 years ago
Thanks for letting us know. I'm in the process of updating the code to replace instances of time.clock() which is deprecated in python 3.8. Unfortunately python 3.8 isn't compatible with many versions of wxpython, so still won't allow ElecSus to be used with python 3.8 for now.
I've created a dev branch that works with python 3.8 now, but I've not tested all functionality yet. I'm using wxpython version 4.1.0 and python 3.8.1 (64-bit) and it seems to be running fine.
In python 3.8, there is some issue with the "time" module.
I got it working by installing ElecSus into a python 3.5 conda environment.
To install ElecSus, first do the following: conda create -n python3.1 python=3.5 conda activate python3.1
conda install -c anaconda wxpython=2.8 conda install -c anaconda scipy conda install -c anaconda numpy conda install -c conda-forge matplotlib conda install -c anaconda psutil conda install -c conda-forge lmfit