How does one install py-spy on windows 10?

Viewed 495

I wanted to install py-spy on my Windows 10 (64-bit) machine but I always seem to end up with the following errors:

F:\downloads>python --version
Python 3.8.3

F:\downloads>python -m pip install py-spy
ERROR: Could not find a version that satisfies the requirement py-spy
ERROR: No matching distribution found for py-spy

This is quite strange, since the py-spy website and another post on this forum said that using pip was correct. Since the pip method didn't work, I decided to try to install the package from the pre-built wheel available on the py-spy website. However, i keep getting the following error message:

F:\downloads>pip install py_spy-0.3.3-py2.py3-none-win_amd64.whl
ERROR: py_spy-0.3.3-py2.py3-none-win_amd64.whl is not a supported wheel on this platform.

Is there something that I am missing?

Thanks in advance.

Note: I tried to install py-spy using both cmd.exe and powershell.exe as a regular user and as an administrator with no luck.

1 Answers

If you running in a 32bit OS then it is not supported; check paragraph: Does py-spy support 32-bit Windows? Integrate with PyPy? Work with USC2 versions of Python2?

Not yet =).

If there are features you’d like to see in py-spy either thumb up the appropiate issue or create a new one that describes what functionality is missing.

EDIT

Also try to download Python in 64 Bit!

To check which version of Python you are running (32 bit or 64 bit) run Python in any shell, the first line should say:

Python 3.8.6 (tags/v3.8.6:db45529, Sep 23 2020, 15:52:53) [MSC v.1927 64 bit (AMD64)] 

Where [MSC v.1927 64 bit (AMD64)] means 64-bit Python.

Related