Unisens / pyunisens

Python library to handle Unisens data
MIT License
4 stars 3 forks source link

ModuleNotFoundError: No module named 'stimer' #2

Closed devhci closed 4 years ago

devhci commented 4 years ago

Hi ,

I am getting error No module named 'stimer'

File "/Users/deku/PycharmProjects/createData/venv/lib/python3.7/site-packages/unisens/__init__.py", line 2, in <module> from .main import Unisens File "/Users/deku/PycharmProjects/createData/venv/lib/python3.7/site-packages/unisens/main.py", line 32, in <module> import stimer

installed pyunisens via pip install git+https://github.com/Unisens/pyunisens python 3.7

skjerns commented 4 years ago

My bad. just uncomment the line or reinstall, I've fixed it. That is just some debugging package

devhci commented 4 years ago

@skjerns I tried doing commenting the line but then it gives below error

Traceback (most recent call last): File "/Users/deku/PycharmProjects/createData/main.py", line 23, in <module> print(u) File "/Users/deku/PycharmProjects/createData/venv/lib/python3.7/site-packages/unisens/main.py", line 109, in __str__ duration = str(datetime.timedelta(seconds=int(duration))) ValueError: invalid literal for int() with base 10: '324481.0'

PS: On reinstall also it has the save error

skjerns commented 4 years ago

Ok. That should be a harmless incompatability, try again, I've updated

devhci commented 4 years ago

Its fixed now. :) Thanks