nickmckay / LiPD-utilities

Input/output and manipulation utilities for LiPD files in Matlab, R and Python
http://nickmckay.github.io/LiPD-utilities/
GNU General Public License v2.0
29 stars 9 forks source link

Python: Conflict with PyQT. #75

Closed khider closed 3 years ago

khider commented 3 years ago

Installing lipd creates environment conflict with Spyder, which is a widely used IDE. Can we find a replacement for this dependency?

michaelerb commented 3 years ago

I have this problem too, and I think this is going to cause issues with lots of python/lipd users, so it should be looked into.

chrismheiser commented 3 years ago

PyQT5 only had one requirement in viewLipd(). I removed the dependency for the lipd package and the occurrences as of 0.2.8.3

CommonClimate commented 3 years ago

Hallelujah! Thanks @chrismheiser !

michaelerb commented 3 years ago

Great! However, when I try to use this version, I get this error:

Traceback (most recent call last): File "", line 1, in File "/projects/pd_lab/mpe32/conda/envs/python3/lib/python3.8/site-packages/lipd/init.py", line 19, in from time import clock ImportError: cannot import name 'clock' from 'time' (unknown location)

The command "from time import clock" doesn't seem to work. When I look at my older version of the code, uses the command "from time import process_time as clock" instead.