- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我目前正在尝试使用 pypy,但遗憾的是无法使用 python 包管理器 pip。
我将以下镜像添加到我的 source.list 中:
deb http://ftp.de.debian.org/debian jessie main
然后我使用 apt-get 安装了 pypy 包:
apt-get install pypy
然后我按照pypy文档给出的步骤安装pip:
curl -O http://python-distribute.org/distribute_setup.py
curl -O https://raw.github.com/pypa/pip/master/contrib/get-pip.py
pypy distribute_setup.py
pypy get-pip.py
但我找不到 pypy 的 pip 可执行文件。
pypy 的 pip 的唯一痕迹是这个:
root@computer:/usr/local/lib/pypy2.7/dist-packages# ll
total 24
drwxr-sr-x 6 root staff 4096 mars 1 19:29 distribute-0.6.49-py2.7.egg
-rw-r--r-- 1 root staff 215 févr. 26 03:43 easy-install.pth
drwxr-sr-x 7 root staff 4096 mars 1 18:07 pip
drwxr-sr-x 3 root staff 4096 févr. 26 03:44 pip-1.5.4.dist-info
-rw-r--r-- 1 root staff 144 févr. 26 03:43 setuptools-0.6c11-py2.7.egg-info
-rw-r--r-- 1 root staff 30 mars 1 19:29 setuptools.pth
但没有 pip 可执行文件。
有人知道解决方案吗?
编辑:
在pip文件中有:
root@superswag:/usr/local/lib/pypy2.7/dist-packages/pip# ll
total 292
drwxr-sr-x 3 root staff 4096 févr. 26 03:44 backwardcompat
-rw-r--r-- 1 root root 6578 févr. 26 03:44 basecommand.py
-rw-r--r-- 1 root root 8162 févr. 26 03:44 baseparser.py
-rw-r--r-- 1 root root 9507 févr. 26 03:44 cmdoptions.py
drwxr-sr-x 3 root staff 4096 févr. 26 03:44 commands
-rw-r--r-- 1 root root 22580 févr. 26 03:44 download.py
-rw-r--r-- 1 root root 1086 févr. 26 03:44 exceptions.py
-rw-r--r-- 1 root root 40403 févr. 26 03:44 index.py
-rw-r--r-- 1 root root 9450 févr. 26 03:44 __init__.py
-rw-r--r-- 1 root root 6202 févr. 26 03:44 locations.py
-rw-r--r-- 1 root root 9455 févr. 26 03:44 log.py
-rw-r--r-- 1 root root 116 févr. 26 03:44 __main__.py
-rw-r--r-- 1 root root 2969 févr. 26 03:44 pep425tags.py
drwxr-sr-x 2 root staff 4096 févr. 26 03:44 __pycache__
-rw-r--r-- 1 root root 83557 févr. 26 03:44 req.py
-rw-r--r-- 1 root root 431 févr. 26 03:44 runner.py
-rw-r--r-- 1 root root 116 févr. 26 03:44 status_codes.py
-rw-r--r-- 1 root root 24172 févr. 26 03:44 util.py
drwxr-sr-x 3 root staff 4096 févr. 26 03:44 vcs
drwxr-sr-x 8 root staff 4096 févr. 26 03:44 _vendor
-rw-r--r-- 1 root root 20120 févr. 26 03:44 wheel.py
最佳答案
似乎 pypy 刚刚安装了 plain 模块。不过,您应该能够使用
运行 pippypy -m pip install <some package>
并为它起别名。
关于debian - 无法在 Debian 上为 Pypy 安装 Pip,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22119136/
在Debian的最新稳定版本中似乎没有/etc/rc.local Debian Stretch 。它在哪里? /etc/rc.local已过时吗? 最佳答案 rc.local已弃用。 看来您仍然可以拥
尝试从未签名的存储库将 Debian 软件包安装到 Debian 9: # apt-get --allow-unauthenticated update Get:1 http://files.free
我尝试打开 5431 端口,这样输入: sudo iptables -A INPUT -p tcp --dport 5431 --jump ACCEPT iptables-save 当我在链 ipta
我正在尝试为我的应用程序构建一个预编译的 debian 包。我的包中存在一些二进制文件(编译模块)。现在,我收到有关将二进制文件添加到 debian/source/include-binaries 的
Debian 站点很棒 http://www.debian.org/distrib/packages ,我知道搜索工具,但我真的想要一个完整的包/文件/架构目录,采用某种可使用的格式 - xml、js
Debian 如何管理软件包名称的冲突?例如,当不同的存储库中有许多同名的包时。 最佳答案 当有很多同名的包时,APT 怎么知道它们是不同的呢? 不能。所以它会安装版本号最高的版本。 关于debian
我正在构建一个 Debian 软件包,它通过将许多其他紧密相关的软件包声明为依赖项来收集它们。我希望这些依赖项与包的版本完全相同。 Debian 构建系统中有没有办法避免在控制文件中硬编码(除了自己预
我有一个持续集成服务器构建一些软件,这些软件依赖于比 debian squeeze 中提供的 apt 包更新的 libqt4-dev 版本。该版本在 debian wheezy 中可用。我如何告诉 a
关闭。这个问题不符合Stack Overflow guidelines .它目前不接受答案。 这个问题似乎不是关于 a specific programming problem, a softwar
我在 debian 上安装了一个带有 xfce4 的新系统。我的问题是如何让 xfce 在启动时运行?现在我只能用 exec ck-launch-session startxfce4 运行它。 谢谢
我听说我可以使用 apt-get install libc6 来完成此操作,但我需要向/etc/apt/sources.list 添加一些内容才能接收最新的 glibc 版本。 我应该做什么? 最佳答
嗨,我正在尝试在运行 rasbian wheezy 的树莓派上安装 geos,以便我可以在我的 python 脚本中包含 shapely 模块。我尝试使用: git clone git://git.d
您好,我正在尝试在运行 rasbian wheezy 的树莓派上安装 geos,这样我就可以在我的 python 脚本中包含 shapely 模块。我尝试使用:git clone git://git.
我正在尝试在 Debian 8.5.0 上安装 GitLab。我关注installation guide但最后一步失败了,我在文档中找不到任何信息。 gitlab-ctl 重新配置完成 Running
我已经安装了 jetty 9,但我无法将它作为服务启动/停止。 从命令行运行有效。 root@backend:/opt/jetty# service jetty start Job for jetty
我正在寻找一种快速方法来验证 debian/control我的项目文件在将它们发送到构建服务器之前在语法上是有效的。 (即等效于 apache2ctl configtest 但对于 debian 控制
[相关部分] 我的 bitbucket-pipeline 看起来像这样: - step: image: python:3.5.1 name: upload to s3
当我下载一些包源时,(例如foo-[ver].orig.tar.gz、foo-[ver].dsc),我在使用dpkg-source -x foo-[ver].dsc时经常遇到依赖问题。和 dpkg-b
我有一台旧的专用服务器,想将其升级到最新的操作系统版本。 我正在寻找从 升级的最佳方式Debian 6 Squeeze => Debian 8.6 杰西 . 最佳答案 首先,请记住,从一个 Debia
我正在尝试使用 Cpack 构建一个正确命名的 Debian 包。我的 CMakeLists.txt 中有以下内容: set(CPACK_PACKAGE_NAME "something") set(C
我是一名优秀的程序员,十分优秀!