![]() Output, unused_err = municate()Įrror = subprocess.CalledProcessError( retcode, command ) Process = subprocess.Popen( stdout=subprocess.PIPE, *popen_args, **kwargs ) Return ( ''.format( prefix, name ) )ĭef CheckOutput( *popen_args, **kwargs ): # Python 3 has an 'm' suffix on Unix platforms, for instance libpython3.3m.so.ĭef GetStandardPythonLocationsOnUnix( prefix, name ): ![]() Python_name = 'python' + str( PY_MAJOR ) + '.' + str( PY_MINOR ) 'your version of Python is ' + sys.version ) Sys.exit( 'ycmd requires Python >= 2.6 or >= 3.3 ' If not ( ( PY_MAJOR = 2 and PY_MINOR >= 6 ) or NO_PYTHON_LIBRARY_ERROR = 'ERROR: unable to find an appropriate Python library.' You can run just the part of script that's causing you problems by creating a file called youcompletemetest.py and fill it with the following code: import sys ![]() The error you're seeing is probably being returned by function FindPythonLibrariesOnLinux() on line 149 in ~/.vim/bundle/YouCompleteMe/third_party/ycmd/build.py You might want to make sure you have setuptools installed before you do the following: Makefile:1501: recipe for target 'Modules/signalmodule.The script isn't finding the path to your python libraries. Makefile:1501: recipe for target `Modules/signalmodule.o' failed Modules/signalmodule.c:745:5: note: in expansion of macro `PyStructSequence_SET_ITEM' #define PyTuple_SET_ITEM(op, i, v) (((PyTupleObject *)(op))->ob_item = v) Include/tupleobject.h:62:75: note: in definition of macro `PyTuple_SET_ITEM' PyStructSequence_SET_ITEM(result, 6, PyLong_FromLong(si->si_band)) ![]() Modules/signalmodule.c:745:60: error: `siginfo_t' has no member named `si_band' Modules/signalmodule.c: In function `fill_siginfo': In file included from Include/Python.h:84:0, Modules/signalmodule.c -o Modules/signalmodule.o IInclude -I./Include -DPy_BUILD_CORE -c. I've tried installing from source, but make returns: gcc -Wno-unused-result -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I. I'm having trouble installing Python 3.3 on Cygwin. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |