2014-10-08 68 views
2

我讀到蟒蛇+蒙戈+ monary是快速的極端爲numpy的熊貓處理與MongoDB的上 亞歷克斯高迪奧的博客http://alexgaudio.com/2012/07/07/monarymongopandas.html蟒蛇monary 0.2.3(蒙戈monary司機):錯誤的安裝程序在Windows 64位(蟒蛇分佈)

工作

我想安裝monary驅動程序,我從

https://pypi.python.org/pypi/Monary在Windows 64位拾起。我有Ananconda python 2.7發行版。

python ./setup.py install

我收到以下衝突錯誤。

monary/cmonary.c:46:20: error: conflicting types for 'OBJECTID' 
In file included from e:\anaconda\mingw\bin\../lib/gcc/x86_64-w64-mingw32/4.7.0/ 
../../../../x86_64-w64-mingw32/include/windef.h:137:0, 
       from e:\anaconda\mingw\bin\../lib/gcc/x86_64-w64-mingw32/4.7.0/ 
../../../../x86_64-w64-mingw32/include/windows.h:59, 
       from mongodb-mongo-c-driver-74cc0b8/src/mongo.h:25, 
       from monary/cmonary.c:8: 
e:\anaconda\mingw\bin\../lib/gcc/x86_64-w64-mingw32/4.7.0/../../../../x86_64-w64 
-mingw32/include/winnt.h:457:5: note: previous declaration of 'OBJECTID' was her 
e 
monary/cmonary.c: In function 'monary_load_timestamp_value': 
monary/cmonary.c:247:9: warning: dereferencing type-punned pointer will break st 
rict-aliasing rules [-Wstrict-aliasing] 
monary/cmonary.c: In function 'monary_load_query': 
monary/cmonary.c:519:9: warning: unused variable 'total_values' [-Wunused-variab 
le] 
error: command 'E:\\Anaconda\\Scripts\\gcc.bat' failed with exit status 1 

我可以改變這一切都在monary OBJECTID的參考類似BOBJECTID和擺脫重新定義或民主基金OBJECTID之前,我不知道的相同的副作用?尋找答案或Monary的Windows安裝

回答