在没有root权限的情况下安装pythondev

2024-09-30 12:20:56 发布

您现在位置:Python中文网/ 问答频道 /正文

我正在尝试安装此软件https://github.com/phoenixding/tbsp/,但它需要python-dev。但是,我没有root权限

我尝试过一些方法,包括创建virtualenv,但没有具体的答案如何安装这个python-dev

我的Linux系统是RedHat

代码如下:

python setup.py install --user

这是错误

pyBigWig.c:1:20: fatal error: Python.h: No such file or directory
 #include <Python.h>
                    ^
compilation terminated.
error: Setup script exited with error: command 'gcc' failed with exit status 1

Tags: 方法答案httpsdevgithubcom权限软件

热门问题