OSError:[Errno 8] osm-bundler的exec格式错误

时间:2017-03-29 21:50:08

标签: python macos-sierra

我正在尝试让osm-bundler工作,但我遇到了这个问题:

.nav__primary {
  display: flex;
  flex-direction: column-reverse;
}

这是在我运行此命令时引起的:

Traceback (most recent call last):
  File "RunBundler.py", line 9, in <module>
    manager.preparePhotos()
  File "/Users/PeterE/Downloads/osm-bundler/osmbundler/__init__.py", line 121, in preparePhotos
    self._preparePhoto(photoInfo)
  File "/Users/PeterE/Downloads/osm-bundler/osmbundler/__init__.py", line 176, in _preparePhoto
    self.extractFeatures(photo)
  File "/Users/PeterE/Downloads/osm-bundler/osmbundler/__init__.py", line 244, in extractFeatures
    self.featureExtractor.extract(photo, self.photoDict[photo])
  File "/Users/PeterE/Downloads/osm-bundler/osmbundler/features/siftvlfeat.py", line 16, in extract
    subprocess.call([self.executable, "%s.jpg.pgm" % photo, "-o", "%s.key" % photo])
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 523, in call
    return Popen(*popenargs, **kwargs).wait()
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 711, in __init__
    errread, errwrite)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 1343, in _execute_child
    raise child_exception
OSError: [Errno 8] Exec format error

我可以从Python脚本中输入任何相关的行,但我不知道它现在是哪一行。错误之前的输出是:

python RunBundler.py --photos="/Users/PeterE/Desktop/osmbundlertest"

0 个答案:

没有答案