简体   繁体   English

__init__.py中的导入错误:PyVlfeat中没有名为_vlfeat的模块

[英]Import Error in __init__.py : No Module named _vlfeat in PyVlfeat

I am trying to run this python rewrite of Vlfeat library. 我正在尝试运行Vlfeat库的python重写。 https://github.com/shackenberg/phow_caltech101.py . https://github.com/shackenberg/phow_caltech101.py I am trying to run the application phow_caltech101. 我正在尝试运行应用程序phow_caltech101。

This is throwing 这是扔

File "/A/B/C/pyvlfeat-0.1.1a3/vlfeat/__init__.py", line 1, in <module>
import _vlfeat
ImportError: No module named _vlfeat

In the corresponding " init .py" file, I can see it is mentioned as "import _vlfeat". 在相应的“ init .py”文件中,我可以看到它被称为“ import _vlfeat”。 I am new to python, please let me know what is causing this error? 我是python的新手,请让我知道导致此错误的原因是什么?

You need to download and install PyVlfeat module. 您需要下载并安装PyVlfeat模块。

https://pypi.python.org/pypi/pyvlfeat/ https://pypi.python.org/pypi/pyvlfeat/

As I see, pyvlfeat has some dependencies, so be sure to download these too: 如我所见,pyvlfeat有一些依赖项,因此请确保也下载这些依赖项:

Boost.Python (tested against version 1.35.0-5) NumPy (tested against version 1.5.1) Matplotlib (tested against version 0.99.3) Boost.Python(针对1.35.0-5版进行了测试)NumPy(针对1.5.1版进行了测试)Matplotlib(针对0.99.3版进行了测试)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM