Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to fix the error? #37

Open
ucasiggcas opened this issue Oct 20, 2020 · 0 comments
Open

how to fix the error? #37

ucasiggcas opened this issue Oct 20, 2020 · 0 comments

Comments

@ucasiggcas
Copy link

hi,dear
When I
$ python3 setup.py build_ext --inplace

Warning: passing language='c++' to cythonize() is deprecated. Instead, put "# distutils: language=c++" in your .pyx or .pxd file(s)
Compiling apt_evaluate_foldout.pyx because it depends on /data/logs/xulm1/myconda/lib/python3.7/site-packages/Cython/Includes/cpython/buffer.pxd.
[1/1] Cythonizing apt_evaluate_foldout.pyx
/data/logs/xulm1/myconda/lib/python3.7/site-packages/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /data/logs/xulm1/LightGCN/evaluator/cpp/apt_evaluate_foldout.pyx
  tree = Parsing.p_module(s, pxd, full_module_name)
running build_ext
building 'apt_evaluate_foldout' extension
gcc -pthread -B /data/logs/xulm1/myconda/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/data/logs/xulm1/myconda/lib/python3.7/site-packages/numpy/core/include -I/data/logs/xulm1/myconda/include/python3.7m -c apt_evaluate_foldout.cpp -o build/temp.linux-x86_64-3.7/apt_evaluate_foldout.o -std=c++11
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
error: command 'gcc' failed with exit status 1

help me,please

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant