python库安装在哪里?
当我尝试通过AWN v0.4执行./configure
时出现此错误:
configure: error: in `/home/desktop/Software/avant-window-navigator-0.4.0': configure: error: Could not link test program to Python. Maybe the main Python library has been installed in some non-standard library path. If so, pass it to configure, via the LDFLAGS environment variable. Example: ./configure LDFLAGS="-L/usr/non-standard-path/python/lib" ============================================================================ ERROR! You probably have to install the development version of the Python package for your distribution. The exact name of this package varies among them.
所以也许我可以解决这个问题,将python库的路径添加到命令中。 但我不知道它在哪里。
请在此处查看完整输出
这条消息不是要求python库本身,而是要求标题链接它们。 您可以安装:
sudo apt-get install python-dev
您可能缺少其他依赖项。
您应该能够在以下位置找到它
/usr/lib/
/usr/local/lib/
我发现自己与VAMOS汽车模拟器的情况相同。 Python版本在配置文件中是硬编码的,所以我不得不安装该版本,在我的情况下:
apt-get install python3.4-dev