Ubuntuの仮想環境でプログラムを実行しています。これにより、Webページを介してサーバーに接続し、Webカメラの写真を撮ることができます。私はpygameを使って写真を撮っています.venvの外では完全に動作します. 次のようにしてvenvにインストールしようとすると:
pip install 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/mmalkin/.pip/pip.log