Python Forum
Pypy installation in Windows 10
Thread Rating:
  • 1 Vote(s) - 2 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Pypy installation in Windows 10
#1
I want to install Pypy to my 64-bit Windows 10

I am now using Python 3.6.

First, I downloaded the zip file from the official website.

Second, I downloaded and installed Build Tools for Visual Studio 2017 and Team Explorer.

Then, I ran:

"C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars64.bat"

editbin /largeaddressaware "C:\Program Files\Python36\pypy3-v6.0.0-win32\pypy3.exe"

So far so good.

Then, I typed:

"C:\Program Files\Python36\pypy3-v6.0.0-win32\bin\easy_install-3.5.exe" numpy

"C:\Program Files\Python36\pypy3-v6.0.0-win32\bin\easy_install-3.5.exe" pandas

In both cases, an error appeared:

SystemError: Cannot compile 'Python.h'. Perhaps you need to install pypy-dev|pypy-devel.

Can anyone please help?

Thank you very much.
Reply
#2
(Jun-12-2018, 03:52 AM)Frankie Wrote: First, I downloaded the zip file from the official website.
The .zip pypy3-v6.0.0-win32 is already a finish build.
Which mean that pypy3 my_prog.py will work.
G:\pypy3-v6.0.0-win32
λ pypy3 -V
Python 3.5.3 (fdd60ed87e94, Apr 24 2018, 06:27:13)
[PyPy 6.0.0 with MSC v.1910 32 bit]

G:\pypy3-v6.0.0-win32
λ pypy3
Python 3.5.3 (fdd60ed87e94, Apr 24 2018, 06:27:13)
[PyPy 6.0.0 with MSC v.1910 32 bit] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>>> 2 + 2
4
>>>> exit()
To get pip,do not use easy_install.
G:\pypy3-v6.0.0-win32
λ pypy3 -m ensurepip
Collecting setuptools
Collecting pip
Installing collected packages: setuptools, pip
Successfully installed pip-9.0.1 setuptools-28.8.0
G:\pypy3-v6.0.0-win32
λ pypy3 -m pip install requests
Collecting requests
.............
Successfully installed certifi-2018.4.16 chardet-3.0.4 idna-2.6 requests-2.18.4 urllib3-1.22
Should I install numpy or numpypy?
For numpy pypy3 -m pip install numpy
This will require Microsoft Visual C++ 14.1 build tool is required.
Reply
#3
Thank you, snippsat. I can install requests but not numpy in my Windows. It says 'SystemError: Cannot compile 'Python.h'. Perhaps you need to install pypy-dev|pypy-devel.'
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Cannot use pypy on Python3 code ErnestTBass 11 10,405 May-24-2018, 02:01 PM
Last Post: ErnestTBass

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020