PyRIT icon indicating copy to clipboard operation
PyRIT copied to clipboard

Python 3.11.x compatible pip install

Open afsilva opened this issue 1 year ago • 3 comments

pip install pyrit ERROR: Ignored the following versions that require a different python version: 0.1.0 Requires-Python <3.11,>=3.10; 0.1.1 Requires-Python <3.11,>=3.10 ERROR: Could not find a version that satisfies the requirement pyrit (from versions: none) ERROR: No matching distribution found for pyrit

afsilva avatar Feb 23 '24 14:02 afsilva

Thanks, @afsilva, for opening this issue. We're aware that PyRIT currently supports only Python 3.10 and will add support for newer versions in the near future. I'll update when I have an ETA. In the meantime, I suggest creating a conda environment with Python 3.10 to work around the issue:

conda create -n pyrit-env Python=3.10

romanlutz avatar Feb 23 '24 14:02 romanlutz

Is support for later versions of Python planned ? By the way, as one option to install without conda is to use Pyenv.

wearetyomsmnv avatar Feb 23 '24 19:02 wearetyomsmnv

Hi @wearetyomsmnv! Yes, we are planning to support additional Python versions in the near future. We also considered using Poetry for installing PyRIT but ultimately reached a consensus that conda was preferred by the team.

dlmgary avatar Feb 24 '24 17:02 dlmgary