如何使用windows为linux下载pip模块 [英] How to download pip module for linux using windows
本文介绍了如何使用windows为linux下载pip模块的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在尝试在我的 Windows 机器上下载一些模块,通过 FTP 将它们传输到离线 Linux 服务器,其中安装了 Python 3 和 pip.然后使用 pip 在那里安装模块.
I am trying to download some modules on my windows machine, transfer them to offline Linux server via FTP where Python 3 and pip are installed. Then install the modules there using pip.
pip download --platform linux_x86_64 --only-binary=:all: --no-binary=:none: pandas
给出错误:
Could not find a version that satisfies the requirement pandas (from versions: )
No matching distribution found for pandas
我可以使用下面的命令下载,但它是windows版本
I can download using the below command but it is the windows version
pip download pandas
推荐答案
平台 linux_x86_64
现在被命名为 manylinux1_x86_64
.所以运行
The platform linux_x86_64
is now named manylinux1_x86_64
. So run
pip download --platform manylinux1_x86_64 --only-binary=:all: --no-binary=:none: pandas
这篇关于如何使用windows为linux下载pip模块的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文