Debian 中的 pygsl

发布于 2024-09-13 10:29:55 字数 88 浏览 1 评论 0原文

可以在 Debian 中安装 pygsl 吗?我正在使用该软件包,而使用 Debian 的人不确定如何安装它而不破坏他的软件包(因为它不在 apt-get 中。)

Is it possible to install pygsl in Debian? 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.)

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

机场等船 2024-09-20 10:29:55

您应该只能进行本地安装。 /usr/local 是通常放置它的位置。

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

这以错误结束

:文件 '/usr/local/lib/python2.6/dist-packages/pygsl/matrix_pierre.py' 不存在,

但也许你'就能弄清楚。在 Debian scrape 上测试。

重要提示:以用户身份运行此命令,而不是 root。这样,如果安装失败,它就无法安装到您的系统目录。

该库应安装在 usr/local/lib/python2.6/ (或任何默认的 python 版本)中。

问候。

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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文