我正在编写一个需要 pygame 的项目。
我按照 pygame wiki 的说明在 python 中安装了 pygame。
pip install hg+http://bitbucket.org/pygame/pygame
我想将 pygame 添加到我正在创建的 wheel 目录中。我正在尝试使用命令执行此操作
pip wheel --wheel-dir=wheels/linux64 pygame
我尝试添加--no-index
, --find-links=https://bitbucket.org/pygame/pygame
, --allow-unverified pygame
,--allow-external pygame
选项。
输出总是类似于找不到满足 pygame 要求的包。
Downloading/unpacking pygame
Could not find any downloads that satisfy the requirement pygame
Some externally hosted files were ignored (use --allow-external pygame to allow).
Cleaning up...
No distributions at all found for pygame
Storing debug log for failure in /home/eric/.pip/pip.log
我怎样才能轮到我的本地版本的 pygame 并将其添加到我的轮子目录中?