reddit / emacs

Elpy load so-library

tengisCC · 2022-09-21 16:18
It seems that Flycheck can not find a library I created, although in init.el I initialized the path to the library as follows: `(setenv "LD_LIBRARY_PATH" "/absolute/path/to/lib/")` Any idea what I'm doing wrong? ​ Thanks! https://preview.redd.it/p0hxj4yxl8p91.png?width=1032&format=png&auto=webp&s=14bfa4dee5070a9b48cb3a7bafa6eb89068afe68
gnieheh · 2022-09-21 17:47
I think you are looking to the `PYTHONPATH` environment variable: https://docs.python.org/3/using/cmdline.html#envvar-PYTHONPATH