前提・実現したいこと
cyvlfeatをpipでインストールしなくてはいけない状況になり、以下サイトを参考にgithubからcyvlfeatをローカルにダウンロードして使おうと思ったのですが、リンクのサイトの「インストール」を行った際にエラーになってしまいました。
https://qiita.com/knok/items/598052d17d0f1b26f77a
こちらをインストールしたいです。
発生している問題・エラーメッセージ
/usr/local/lib/python3.6/dist-packages/setuptools/dist.py:470: UserWarning: The version specified ('unknown') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details. "details." % version running install running bdist_egg running egg_info writing cyvlfeat.egg-info/PKG-INFO writing dependency_links to cyvlfeat.egg-info/dependency_links.txt writing top-level names to cyvlfeat.egg-info/top_level.txt reading manifest template 'MANIFEST.in' warning: no files found matching 'versioneer.py' writing manifest file 'cyvlfeat.egg-info/SOURCES.txt' installing library code to build/bdist.linux-x86_64/egg running install_lib running build_py running build_ext building 'cyvlfeat.fisher.cyfisher' extension x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Icyvlfeat -I./cyvlfeat -I/usr/local/lib/python3.6/dist-packages/numpy/core/include -I/usr/include/python3.6m -c cyvlfeat/fisher/cyfisher.c -o build/temp.linux-x86_64-3.6/cyvlfeat/fisher/cyfisher.o -Wno-unused-function In file included from /usr/local/lib/python3.6/dist-packages/numpy/core/include/numpy/ndarraytypes.h:1830:0, from /usr/local/lib/python3.6/dist-packages/numpy/core/include/numpy/ndarrayobject.h:12, from /usr/local/lib/python3.6/dist-packages/numpy/core/include/numpy/arrayobject.h:4, from cyvlfeat/fisher/cyfisher.c:639: /usr/local/lib/python3.6/dist-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp] #warning "Using deprecated NumPy API, disable it with " \ ^~~~~~~ In file included from cyvlfeat/fisher/cyfisher.c:641:0: cyvlfeat/cy_util.h:2:10: fatal error: vl/generic.h: No such file or directory #include "vl/generic.h" ^~~~~~~~~~~~~~ compilation terminated. error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
試したこと
sudo apt-get install python3-dev
を試しました
補足情報(FW/ツールのバージョンなど)
Google Colaboratory
あなたの回答
tips
プレビュー