cvg / pixel-perfect-sfm

Pixel-Perfect Structure-from-Motion with Featuremetric Refinement (ICCV 2021, Best Student Paper Award)
Apache License 2.0
1.29k stars 132 forks source link

Installation issue: No module named 'pixsfm._pixsfm._base' #60

Closed manasi9610 closed 2 years ago

manasi9610 commented 2 years ago

I'm facing an issue while importing pixsfm . Following is the error-

>>> from pixsfm.util.visualize import init_image, plot_points2D Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/home/ubuntu/pixelperf/pixel-perfect-sfm/pixsfm/__init__.py", line 18, in <module> from . import ( # noqa F403 File "/home/ubuntu/pixelperf/pixel-perfect-sfm/pixsfm/base/__init__.py", line 1, in <module> from .._pixsfm._base import * # noqa F403 ModuleNotFoundError: No module named 'pixsfm._pixsfm._base'

guijuzhejiang commented 2 years ago

cd pixel-perfect-sfm && pip install .. seems like you need to install pixsfm

manasi9610 commented 2 years ago
Screenshot 2022-05-26 at 8 42 21 PM

It is installed, still getting this error

manasi9610 commented 2 years ago

The error - from .._pixsfm._base import * # noqa F403 , its trying to import the <_base module. However, I checked the _pixsfm folder, there is no _base file

TITAINc commented 1 year ago

Hi @manasi9610 , How did you solve this problem?

woshiluozhi commented 1 year ago

Hello @manasi9610 , I also met the same problem. How to solve ”No module named 'pixsfm._pixsfm._base“?