- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我们有一台没有互联网连接的生产服务器机器,我希望能够执行“pip wheel”。
我已经下载了 virtualenv-1.9.tar.gz
复制到 prod 服务器并解压。首先,为什么不能立即使用 pip wheel?
[ihadanny@lvshdc2en0012 ~]$ ./virtualenv-1.9/virtualenv.py venv/v1
New python executable in venv/v1/bin/python
Installing setuptools............done.
Installing pip...............done.
[ihadanny@lvshdc2en0012 ~]$ source venv/v1/bin/activate
(v1)[ihadanny@lvshdc2en0012 ~]$ which pip
~/venv/v1/bin/pip
(v1)[ihadanny@lvshdc2en0012 ~]$ pip wheel
ERROR: unknown command "wheel" - maybe you meant "help"
我已经开始下载并复制 wheel-0.24.0.tar.gz
,但只安装了 wheel
,没有安装 pip wheel
:
(v1)[ihadanny@lvshdc2en0012 ~]$ pip install wheel-0.24.0.tar.gz
Unpacking ./wheel-0.24.0.tar.gz
Running setup.py egg_info for package from file:///x/home/ihadanny/wheel-0.24.0.tar.gz
no previously-included directories found matching 'wheel/test/*/dist'
no previously-included directories found matching 'wheel/test/*/build'
Installing collected packages: wheel
Running setup.py install for wheel
no previously-included directories found matching 'wheel/test/*/dist'
no previously-included directories found matching 'wheel/test/*/build'
Installing wheel script to /x/home/ihadanny/venv/v1/bin
Successfully installed wheel
Cleaning up...
(v1)[ihadanny@lvshdc2en0012 ~]$ pip wheel
ERROR: unknown command "wheel" - maybe you meant "help"
编辑:我也试过 pip install wheel
没有用
(v1)[ihadanny@lvshdc2en0012 ~]$ pip install wheel
Requirement already satisfied (use --upgrade to upgrade): wheel in ./venv/v1/lib/python2.6/site-packages
Cleaning up...
(v1)[ihadanny@lvshdc2en0012 ~]$ pip wheel
ERROR: unknown command "wheel" - maybe you meant "help"
当然 upgrade
无法工作(没有互联网连接...)
(v1)[ihadanny@lvshdc2en0012 ~]$ pip install --upgrade wheel 无法获取索引基 URL https://pypi.python.org/simple/
我错过了什么?
最佳答案
如果您更新 pip,您仍然可以使用该虚拟环境,但最好将 a 更新到最新的 virtualenv。如果您没有连接,请下载 wheel源码包,解压使用:
pip install wheel-0.24.0/
不要省略最后的斜杠。
关于python - 如何在没有互联网连接的机器上安装 "pip wheel"?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27255965/
我正在尝试安装 mysqlclient 但出现错误请帮助谢谢。 C:/desktop>pip install mysqlclient-1.4.2-cp35-cp35m-win_amd64.whl
看来 pip 现在可以自动缓存轮子: http://pip.readthedocs.org/en/stable/reference/pip_install/#wheel-cache 我正在尝试收集轮子
我想创建一个风车(如 msnbc 应用程序)。请看下图。我如何创建一个风车。是否有可用的示例代码或教程?请指导我如何实现这一点? Sample Image http://www.freeimageho
我在 Mac OSX 10.9.5 上使用 Python 2.7.10 运行 Anaconda。我正在尝试安装一个名为“Fiona”的软件包。 我输入了: sudo pip install Fiona
我一直在尝试使用 Yosemite 和全新安装的 ActiveState Python 3.4 在 MacBook Pro 上安装 numpy、pysci 等。我已经尝试了很多轮文件,但它们都失败了“
我正在做一个项目,但我已经停滞不前了。目前,我正在创建一个会旋转的轮盘式轮盘,我遇到的问题是为轮盘创建 n' 个多边形。我希望最后能够设置 n' 号并使用 for 循环来创建多边形的点。我尝试使用那个
我正在使用 Jquery mousewheel插件,我希望能够检测用户何时完成使用轮子。与可拖动内容中的 stop: 事件类似的功能。有人能指出我正确的方向吗? 最佳答案 这里确实没有“停止”事件 -
好的,公平的警告:这是我的 ridiculous question 的后续行动从上周开始。虽然我认为这个问题并不那么荒谬。无论如何,这里是: 上一个荒谬的问题: 假设我有一些基本特征 T带有子类 A
我正在尝试创建一个实用程序类,它将能够处理可运行程序包并以不同的组合(同步、异步)执行它们。 例如:想象这是一个类似 json 的复合任务表示。 “[]”保持异步任务,“{}”保持同步任务。 [
我有以下 javascript 代码,当用户想要查看大图像时触发: var divOverlay = document.getElementById ("overlay"); divOverlay.s
Google map 令人印象深刻地展示了您可以使用 JavaScript 和 Ajaxy 的优势做什么。甚至我的鼠标滚轮和右键单击都可以提供特定功能。 在标准 HTML 规范中,我没有看到鼠标滚轮的
我正在尝试包含我的 android studio 项目中提到的项目。问题是,除了控制台中的 0 错误之外,每次使用该模块时我都会得到“找不到类”。我去了项目结构,。比导入模块,添加依赖项。有什么想法吗
我需要为示例网站设计主页。 我的计划是将图标排列成半圆。我如何在android中实现布局? 有人可以为 iOS 推荐相同的设计吗?我的样本设计 最佳答案 您可以使用卫星菜单作为显示圆形排列菜单的选项。
我正在尝试更新位于 http://code.google.com/p/android-wheel/ 的项目就像 iPhone 微调器/Urban Spoon 应用程序一样。 我想为滚动添加加速/减速,
我们有一台没有互联网连接的生产服务器机器,我希望能够执行“pip wheel”。 我已经下载了 virtualenv-1.9.tar.gz 复制到 prod 服务器并解压。首先,为什么不能立即使用 p
我想编写一个脚本遍历 pypi 存储库中的所有包,以检查它们是否使用 wheel 或 egg。 我知道根据新标准,所有包都必须使用 wheel 而不是 egg。我在 this 上找到了这个信息网站。他
我有一个 Python 包,我想把它做成一个轮子。在 Python 2 上,该包使用 ipaddr 库。在 Python 3 上,它使用内置的 ipaddress 库。对于sdist 包,我检查了se
我有一个自定义库/包(比如 my_utils),它有一些库依赖项,例如 pandas、numpy、boto 等。我创建了相同的 wheel (my_utils.whl),但它不包括我上面提到的依赖项。
This python wheel 网站说,只有 300 个顶级 360 软件包使用 wheel。我进一步分析了 Python 生态系统,发现前 5000 个包中约有 2961 个包使用了 wheel
我有一个需要预编译扩展模块的库。考虑以下文件布局: lib |--- win32_py32 | |--- _lib.py |---- win32_py32
我是一名优秀的程序员,十分优秀!