You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Even though some python virtual enviroment like Conda provides PC file for pkg-config, we cannot confirm users' virtual enviroment installation path, thus, it's hard to get the real python lib path from pkg-config.
The easy solution is that using python command to get it, like that:
LLGo uses pkg-config to look up python lib path, however, when user is in virtual environment, the pkg-config result may not be acurate.
Example:
There's multi python version in my laptop.
Main: Python 3.13
Conda: Python 3.12.
The pkg-config result:
After i switch environment:
It remains the same.
Even though some python virtual enviroment like Conda provides PC file for pkg-config, we cannot confirm users' virtual enviroment installation path, thus, it's hard to get the real python lib path from pkg-config.
The easy solution is that using python command to get it, like that:
python -c "import os; print('-L%s' % os.path.dirname(os.path.dirname(os.__file__)));"
The text was updated successfully, but these errors were encountered: