BartSte / khalorg

An interface between org mode and khal cli calendar
https://pypi.org/project/khalorg/
MIT License
23 stars 0 forks source link

No module named khal #4

Closed BartSte closed 3 months ago

BartSte commented 3 months ago

When running khal commands from khalorg, the global interpreter (and its pacakges) is used. As a result, when the user does not have khal installed, we get the "no module found" error. What would be better is to let khalorg use the khal executable that corresponds to the virtual environment of khalorg itself.

In v0.0.1 I thought it was solved by using the sys.executable instead of the global one, but somehow this did not resolve all issues...