pkg-config --exists fuse fails
I am trying to install fuse-pytho开发者_运维知识库n package, when I run
python setup.py build
It fails, when I checked the contents of setup.py I found this line
if os.system('pkg-config --exists fuse 2> /dev/null') == 0
this line fails. Also when I check PKG_CONFIG_PATH
echo $PKG_CONFIG_PATH
it prints nothing. Any sort of help is appreciated. Thanks in advance
In Ubuntu the package is libfuse-dev
, so to install sudo apt-get install libfuse-dev
should do the trick.
Most likely you haven't got the fuse development package installed. You don't say which OS you are using, but on openSuSE
zypper install fuse-devel
should do the trick.
I used sudo apt-get install libfuse-dev
and it worked
I had a similar problem. If you have a 64 bit ubuntu like me just install pkg-config via
sudo apt install pkg-config
The problem was, that the 32 bit Version of pkg-config was installed. By installing pkg-config again it installs the 64bit version
精彩评论