make后失败
来源:6-13 TensorFlow-ssd环境搭建(2)

慕九州4344896
2019-09-06
ubuntu@VM-0-5-ubuntu:~/models/cocoapi/PythonAPI$ make
python3 setup.py build_ext --inplace
running build_ext
cythoning pycocotools/_mask.pyx to pycocotools/_mask.c
/home/ubuntu/.local/lib/python3.5/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: /home/ubuntu/models/cocoapi/PythonAPI/pycocotools/_mask.pyx
tree = Parsing.p_module(s, pxd, full_module_name)
error: [Errno 13] Permission denied: '/home/ubuntu/models/cocoapi/PythonAPI/pycocotools/_mask.c'
Makefile:3: recipe for target 'all' failed
make: *** [all] Error 1
尝试安装了Cython依然失败(pip3 install Cython),请教老师如何解决。
写回答
1回答
-
会写代码的好厨师
2019-09-09
这样安装不能直接装么?sudo apt-get install cython
cython不是用pip装吧?
00
相似问题