Pypy installation in Windows 10 - Printable Version +- Python Forum (https://python-forum.io) +-- Forum: Python Coding (https://python-forum.io/forum-7.html) +--- Forum: Data Science (https://python-forum.io/forum-44.html) +--- Thread: Pypy installation in Windows 10 (/thread-10882.html) |
Pypy installation in Windows 10 - Frankie - Jun-12-2018 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. RE: Pypy installation in Windows 10 - snippsat - Jun-12-2018 (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.22Should I install numpy or numpypy? For numpy pypy3 -m pip install numpy This will require Microsoft Visual C++ 14.1 build tool is required .
RE: Pypy installation in Windows 10 - Frankie - Jun-13-2018 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.' |