tobixen / calendar-cli

Simple command-line CalDav client, for adding and browsing calendar items, todo list items
GNU General Public License v3.0
247 stars 23 forks source link

ImportError: No module named tzlocal #46

Open Pupo1 opened 5 years ago

Pupo1 commented 5 years ago

When I try to start calendar-cli on Linux Mint 17 Qiana, I get the error "ImportError: No module named tzlocal". I can fix this with "sudo pip install tzlocal", but I think the error should not happen at all. Having fixed the error, I run into the next error "ImportError: No module named icalendar". I can fix that with "sudo pip install icalendar", but most people would probably have given up there already. Having fixed that error, I run into the next error "ImportError: No module named caldav", which makes me think about trying khal instead. I was able to fix the error with "sudo pip install caldav", though.

tobixen commented 5 years ago

How did you install it? Both icalendar and tzlocal is listed as requirements in the setup.py file

Pupo1 commented 5 years ago

I think I didn't install it at all but just started calendar-cli.py

tobixen commented 4 years ago

I think that if following the instructions in INSTALL.md this shouldn't be an issue at all :-)

huoshanwei commented 2 years ago

Traceback (most recent call last): File "run.py", line 4, in from vnpy.trader.engine import MainEngine File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/vnpy-2.6.0-py3.7.egg/vnpy/trader/engine.py", line 45, in from .setting import SETTINGS File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/vnpy-2.6.0-py3.7.egg/vnpy/trader/setting.py", line 7, in from tzlocal import get_localzone ModuleNotFoundError: No module named 'tzlocal'

tobixen commented 2 years ago

Oh. In setup.py, tzlocal is not installed when using python3, because with python3 "batteries are included". So this is a bug, indeed.