Open alexisyslau opened 3 years ago
Hi @alexisyslau - this is interesting. The only place i can find this is in the pyqtgraph sub-module. Could you post the trace-back from where its gone wrong? I can certainly update the packaged version of pyqtgraph though, which should hopefully fix it
c:\users\jretoreynal\anaconda3\lib\site-packages\soapy-198d33e870f6e22b0d66a14b53d4627cf7e07d01-py3.9.egg\EGG-INFO\scripts\soapy:16: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
import imp
Loading configuration file...
Pixel Scale: 12.50 pxls/m
subScreenSize: 102 simulation pixels
Loading configuration file... success!
Traceback (most recent call last):
File "C:\Users\jretoreynal\Anaconda3\Scripts\soapy", line 4, in
Just in case this is useful for anybody else (probably this is not the place and sorry about that in advance): Soapy – Installation Tutorial for Windows 64 bits (I would suggest to create a new python environment..):
Install Anaconda3-5.1.0-Windows-x86_64.exe --> link: https://repo.anaconda.com/archive/Anaconda3-5.1.0-Windows-x86_64.exe
Open a terminal
conda install pyyaml
pip install pyfftw
conda install numba
conda install –c aotools aotools
Go to the soapy directory in the terminal
python setup.py install
conda install numpy==1.15
How to run soapy:
open a cmd
cd C:\Users...\soapy-master\conf. --> (... := complete the path)
soapy –g placeholder.yaml
example for 3: soapy –g sh_8x8.yaml
On a macbook the installation process was really straight forward!
Thanks very much @juanretoreynal10 for this workaround, I'm wondering if we can just replace the ptime.py
in the pyqtgraph shipped with soapy and it will fix this in the short term. I don't have a windows machine to test on at the moment. Could you try a fresh install of my fork (https://github.com/ojdf/soapy/tree/ptime-fix, specifically the ptime-fix branch) and see if it is fixed on windows?
Hi,
time.clock() function is removed. Would you mind looking into this issue?