Mac OS X 10.9.4上的Cython安装警告

时间:2014-08-01 23:06:15

标签: python macos install osx-mavericks cython

我正在尝试为Python 2.7.5安装Cython包。我从源代码运行setup.py时得到此输出:(在它发出此警告后冻结)

running install
running bdist_egg
running egg_info
writing Cython.egg-info/PKG-INFO
writing top-level names to Cython.egg-info/top_level.txt
writing dependency_links to Cython.egg-info/dependency_links.txt
writing entry points to Cython.egg-info/entry_points.txt
reading manifest file 'Cython.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching '*.pyx' under directory 'Cython/Debugger/Tests'
warning: no files found matching '*.pxd' under directory 'Cython/Debugger/Tests'
warning: no files found matching '*.h' under directory 'Cython/Debugger/Tests'
warning: no files found matching '*.pxd' under directory 'Cython/Utility'
writing manifest file 'Cython.egg-info/SOURCES.txt'
installing library code to build/bdist.macosx-10.9-intel/egg
running install_lib
running build_py
running build_ext
building 'Cython.Plex.Scanners' extension
cc -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g -Os -pipe 
-fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG 
-Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall 
-Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 
-pipe -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 
-c Cython/Plex/Scanners.c 
-o build/temp.macosx-10.9-intel-2.7/Cython/Plex/Scanners.o
Cython/Plex/Scanners.c:3105:31: warning: implicit conversion loses integer precision: 'long' to 'int'
  [-Wshorten-64-to-32]
__pyx_v_self->input_state = __pyx_v_input_state;
                        ~ ^~~~~~~~~~~~~~~~~~~
1 warning generated.

当我使用pip进行安装时,会发生同样的事情。任何帮助将不胜感激!感谢

0 个答案:

没有答案