New issue 3057: Can't install numpypy on Windows https://bitbucket.org/pypy/pypy/issues/3057/cant-install-numpypy-on-windows
Ram Rachum: ``` Python 3.6.1 (784b254d6699, Apr 16 2019, 12:10:48) [PyPy 7.1.1-beta0 with MSC v.1910 32 bit] ``` I followed the documentation on the PyPy download page to install Numpypy. I ran this: ``` pypy3 -m pip install git+https://bitbucket.org/pypy/numpy.git ``` And got this: ``` Collecting git+https://bitbucket.org/pypy/numpy.git Cloning https://bitbucket.org/pypy/numpy.git to c:\users\admini~1\appdata\local\temp\pip-req-build-9wlgwy_u Running command git clone -q https://bitbucket.org/pypy/numpy.git 'C:\Users\ADMINI~1\AppData\Local\Temp\pip-req-build-9wlgwy_u' Running command git submodule update --init --recursive -q Installing collected packages: numpy Running setup.py install for numpy: started Running setup.py install for numpy: finished with status 'error' ERROR: Complete output from command 'C:\pypy3\pypy3.exe' -u -c 'import setuptools, tokenize;__file__='"'"'C:\\Users\\ADMINI~1\\AppData\\Local\\Temp\\pip-req-build-9wlgwy_u\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\ADMINI~1\AppData\Local\Temp\pip-record-uxmlc9y8\install-record.txt' --single-version-externally-managed --compile: ERROR: Running from numpy source directory. Traceback (most recent call last): File "<string>", line 1, in <module> File "C:\Users\ADMINI~1\AppData\Local\Temp\pip-req-build-9wlgwy_u\setup.py", line 285, in <module> setup_package() File "C:\Users\ADMINI~1\AppData\Local\Temp\pip-req-build-9wlgwy_u\setup.py", line 277, in setup_package setup(**metadata) File "C:\Users\ADMINI~1\AppData\Local\Temp\pip-req-build-9wlgwy_u\numpy\distutils\core.py", line 135, in setup config = configuration() File "C:\Users\ADMINI~1\AppData\Local\Temp\pip-req-build-9wlgwy_u\setup.py", line 178, in configuration config.add_subpackage('numpy') File "C:\Users\ADMINI~1\AppData\Local\Temp\pip-req-build-9wlgwy_u\numpy\distutils\misc_util.py", line 1001, in add_subpackage caller_level = 2) File "C:\Users\ADMINI~1\AppData\Local\Temp\pip-req-build-9wlgwy_u\numpy\distutils\misc_util.py", line 970, in get_subpackage caller_level = caller_level + 1) File "C:\Users\ADMINI~1\AppData\Local\Temp\pip-req-build-9wlgwy_u\numpy\distutils\misc_util.py", line 907, in _get_configuration_from_setup_py config = setup_module.configuration(*args) File "numpy\setup.py", line 11, in configuration config.add_subpackage('core') File "C:\Users\ADMINI~1\AppData\Local\Temp\pip-req-build-9wlgwy_u\numpy\distutils\misc_util.py", line 1001, in add_subpackage caller_level = 2) File "C:\Users\ADMINI~1\AppData\Local\Temp\pip-req-build-9wlgwy_u\numpy\distutils\misc_util.py", line 970, in get_subpackage caller_level = caller_level + 1) File "C:\Users\ADMINI~1\AppData\Local\Temp\pip-req-build-9wlgwy_u\numpy\distutils\misc_util.py", line 907, in _get_configuration_from_setup_py config = setup_module.configuration(*args) File "numpy\core\setup.py", line 726, in configuration from _parition_build import ffi File "numpy\core\_parition_build.py", line 87, in <module> PARTITION_DEFS += '\n' + generate_declarations() File "numpy\core\_parition_build.py", line 82, in generate_declarations for _suff, _type in itertools.izip(list_suff, list_type): AttributeError: module 'itertools' has no attribute 'izip' ---------------------------------------- ERROR: Command "'C:\pypy3\pypy3.exe' -u -c 'import setuptools, tokenize;__file__='"'"'C:\\Users\\ADMINI~1\\AppData\\Local\\Temp\\pip-req-build-9wlgwy_u\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\ADMINI~1\AppData\Local\Temp\pip-record-uxmlc9y8\install-record.txt' --single-version-externally-managed --compile" failed with error code 1 in C:\Users\ADMINI~1\AppData\Local\Temp\pip-req-build-9wlgwy_u\ ``` _______________________________________________ pypy-issue mailing list pypy-issue@python.org https://mail.python.org/mailman/listinfo/pypy-issue