python库安装在哪里?

Luc*_*cio 4 python install-from-source

当我尝试./configure通过AWN v0.4进行操作时,出现此错误:

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.
Run Code Online (Sandbox Code Playgroud)

所以也许我可以解决这个问题,将 python 库的路径添加到命令中。但我不知道它在哪里。

此处查看完整输出

Jav*_*era 10

此消息不是要求 python 库本身,而是要求头链接到它们。然后您可以安装:

sudo apt-get install python-dev
Run Code Online (Sandbox Code Playgroud)

您可能缺少其他一些依赖项。


Has*_*ken 5

您应该可以在以下位置找到它

/usr/lib/
/usr/local/lib/