Why can't use external libraries or local modules be used in tab_bar.py? #8363
Replies: 2 comments 2 replies
-
Because kitty has its own copy of python. It doesnt use the system
python unless you build it against the system python. Use sys.path to
make pure python deps importables.
|
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
dr-iroh
-
On Sun, Jun 29, 2025 at 07:17:34AM -0700, Thomas Langé wrote:
Hello @kovidgoyal,
Can you clarify which option to use when building Kitty to make it use the system python instead of its own copy? It's not clear to me what drives that in the setup.py
Run make
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to use my custom module from ~/.config/kitty/mpd_bar.py
But it tells me that the mpd_bar module does not exist, I even tried with libraries like numpy or paramiko and I get the same error
Beta Was this translation helpful? Give feedback.
All reactions