我试图在我的 Windows 机器上下载一些模块,通过 FTP 将它们传输到离线 Linux 服务器,其中安装了 Python 3 和 pip。然后使用 pip 在那里安装模块。
pip download --platform linux_x86_64 --only-binary=:all: --no-binary=:none: pandas
Run Code Online (Sandbox Code Playgroud)
给出错误:
Could not find a version that satisfies the requirement pandas (from versions: )
No matching distribution found for pandas
Run Code Online (Sandbox Code Playgroud)
我可以使用以下命令下载,但它是 Windows 版本
pip download pandas
Run Code Online (Sandbox Code Playgroud) 我正在尝试编写 Selenium 测试,但问题是我了解到该页面是使用 PrimeFaces 生成的,因此元素 ID 会不时随机更改。不使用 ID 不是很可靠。有什么我可以做的吗?