qpython3如何安装numpy_如何编译numpy以安装在64位平台上?

这篇博客讲述了如何在64位Windows环境下,使用mingw64编译并安装numpy库,避免使用Visual Studio 2013。作者在尝试使用pip安装numpy时遇到了'vcvarsall.bat'找不到的错误,寻求通过mingw64进行编译安装的方法。
摘要由CSDN通过智能技术生成

我的系统是:win7 64 ultimate + python34(64)+ intel 64芯片。

我已经安装了mingw64,请参阅:如何编译numpy以安装在64位平台上?

C:\Users\pengsir>d:\mingw\bin\gcc -v

Reading specs from d:/mingw/bin/../lib64/gcc/x86_64-w64-mingw32/4.8.2/specs

COLLECT_GCC=d:\mingw\bin\gcc

COLLECT_LTO_WRAPPER=d:/mingw/bin/../libexec/gcc/x86_64-w64-mingw32/4.8.2/lto-wra

pper.exe

Target: x86_64-w64-mingw32

Configured with: ../gcc-4.8.2/configure --prefix=/opt/windows_64 --with-sysroot=

/opt/windows_64 --libdir=/opt/windows_64/lib64 --mandir=/opt/windows_64/man --in

fodir=/opt/windows_64/info --enable-shared --disable-bootstrap --disable-multili

b --enable-threads=posix --enable-languages=c,c++ --enable-checking=release --wi

th-system-zlib --with-python-dir=/lib64/python2.7/site-packages --disable-libunw

ind-exceptions --enable-__cxa_atexit --enable-libssp --with-gnu-ld --verbose --e

nable-java-home --with-java-home=/opt/windows_64/lib64/jvm/jre --with-jvm-root-d

ir=/opt/windows_64/lib64/jvm --with-jvm-jar-dir=/opt/windows_64/lib64/jvm/jvm-ex

ports --with-arch-directory=amd64 --with-antlr-jar='/home/adrien/projects/win-bu

ilds-1.4/slackware64-current/d/gcc/antlr-*.jar' --disable-java-awt --disable-gtk

test --build=x86_64-slackware-linux --host=x86_64-w64-mingw32 --target=x86_64-w6

4-mingw32

Thread model: posix

gcc version 4.8.2 (GCC)

当我安装使用以下命令:

d:\Python34\Scripts\pip.exe install numpy

(other message ommitted)

error: Unable to find vcvarsall.bat

如何编译安装在python34的numpy的?

我不想安装vs2013,我喜欢免费软件,没有钱支付VS2013,请教我编写numpy安装在64位平台mingw64上。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值