Compiler problems with pip during numpy install under Windows 8.1, 7 Enterprise and 7 Home Editions

前端 未结 4 722
夕颜
夕颜 2020-12-09 09:19

I am unable to install numpy via pip install numpy on my computer running Python 3.4 due to various errors I receive linked to compilation issues (This is only the case on a

4条回答
  •  长情又很酷
    2020-12-09 09:49

    I was able to reproduce all these errors in Windows 7 Professional (64 bit).

    Your final issue (Broken toolchain) is caused by more manifest related issues. I was able to work around this by changing the following line (in msvc9compiler.py):

    mfinfo = self.manifest_get_embed_info(target_desc, ld_args)
    

    to

    mfinfo = None
    

    thus bypassing the if statement which immediately follows. After this change numpy successfully compiled for me.

提交回复
热议问题