开发者

pygsl in debian

开发者 https://www.devze.com 2023-01-10 18:11 出处:网络
Is it possible to install pygsl in Debian?I am using the package and someone with Deb开发者_运维百科ian is not sure how to install it without ruining his packaging (since it\'s not in apt-get.)You sho

Is it possible to install pygsl in Debian? I am using the package and someone with Deb开发者_运维百科ian is not sure how to install it without ruining his packaging (since it's not in apt-get.)


You should just be able to do a local install. /usr/local is the usual place to put it in.

$ python setup.py build
$ python setup.py -n install --prefix=/usr/local

This ended with an error

error: file '/usr/local/lib/python2.6/dist-packages/pygsl/matrix_pierre.py' does not exist

but maybe you'll be able to figure it out. Tested on Debian squeeze.

IMPORTANT: run this as user, not root. That way it can't install to your system directory if the install is screwed up.

The library should install in usr/local/lib/python2.6/ (or whatever your default python version is).

Regards.

0

精彩评论

暂无评论...
验证码 换一张
取 消