colmap / pycolmap

Python bindings for COLMAP
BSD 3-Clause "New" or "Revised" License
858 stars 125 forks source link

AttributeError: module 'pycolmap' has no attribute 'Database' #247

Closed fdengmark closed 5 months ago

fdengmark commented 5 months ago

All I have done is pip install pycolmap on an Ubuntu machine. I'm trying to run the example.py script and it looks like I didn't install pycolmap appropriately.

sarlinpe commented 5 months ago

The database bindings were added after v0.5.0 was released on PyPI, we'll push a new release soon. In the meantime you'll have to build from source.

sarlinpe commented 5 months ago

We have pushed a new release: https://github.com/colmap/pycolmap/releases/tag/v0.6.0