[英]pygsl in debian
Is it possible to install pygsl in Debian? 是否可以在Debian中安装pygsl? I am using the package and someone with Debian is not sure how to install it without ruining his packaging (since it's not in apt-get.)
我正在使用该软件包,而Debian的某个人不确定如何在不破坏其包装的情况下安装它(因为它不在apt-get中。)
You should just be able to do a local install. 您应该只能进行本地安装。 /usr/local is the usual place to put it in.
/ usr / local是放入它的通常位置。
$ 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 错误:文件'/usr/local/lib/python2.6/dist-packages/pygsl/matrix_pierre.py'不存在
but maybe you'll be able to figure it out. 但也许你能够搞清楚。 Tested on Debian squeeze.
在Debian上进行测试挤压。
IMPORTANT: run this as user, not root. 重要信息:以用户身份运行此身份,而不是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). 该库应该安装在usr / local / lib / python2.6 /(或者你的默认python版本)。
Regards. 问候。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.