在
请问这个选项的正确语法是什么?“Wheel”具体是指什么?
在加密文档中,它列出了各种受支持的Linux发行版。有人知道如何在Windows机器上获取cryptography.so文件吗?https://cryptography.io/en/latest/installation/
pip -install
的帮助文档中,我注意到了安装选项--platform。该选项是“仅使用与平台兼容的wheels。默认为运行系统的平台。” 我曾考虑使用这个选项在我的Windows机器上获取Linux二进制文件,但似乎无法按预期工作。请问这个选项的正确语法是什么?“Wheel”具体是指什么?
pip install --platform ubuntu --only-binary=:all: cryptography
返回错误:
编辑: 感谢您的回复。当我尝试在Windows机器上安装Linux .so文件时,无论使用何种版本的命令,都会出现相同的错误。ERROR: Could not find a version that satisfies the requirement cryptography (from versions: none)
ERROR: No matching distribution found for cryptography
pip install --platform linux_x86_64 --only-binary=:all: cryptography
在加密文档中,它列出了各种受支持的Linux发行版。有人知道如何在Windows机器上获取cryptography.so文件吗?https://cryptography.io/en/latest/installation/