eriksandstroem / Loopy-SLAM

Apache License 2.0
135 stars 9 forks source link

Issue with opencv-python=4.6.0.66 #6

Open aadilakhtar3402 opened 1 month ago

aadilakhtar3402 commented 1 month ago

In the env.yaml file, it installs opencv version 4.6.0.66 with pip, but When I run dbow.sh for PyDbow3, it cannot find opencv, so I tried uninstalling opencv using pip and install the same version using conda, but it shows conflict with other packages and doesn't install opencv. What to do in this case, how to install pydbow3?

eriksandstroem commented 1 month ago

Hi, I suggest trying to install pydbow3 first in a clean environment and make that work first and then install the remaining dependencies. Regarding that pydbow3 cannot find opencv, did you add the path to where opencv is to the environment variable "path"?

aadilakhtar3402 commented 1 month ago

Dear sir,

Thank you so much for your reply.

What I eventually did was, I uninstalled all the conflicting packages, then installed OpenCV using conda and then reinstalled the other packages with compatible versions.

PyDBoW3 was not able to find OpenCV as Loopy-Slam env file, install OpenCV using pip which does not include cmake files, installing OpenCV using conda fixed this issue.

Thanks and regards, Aadil

On Sat, 21 Sep, 2024, 8:47 pm Erik Sandström, @.***> wrote:

Hi, I suggest trying to install pydbow3 first in a clean environment and make that work first and then install the remaining dependencies. Regarding that pydbow3 cannot find opencv, did you add the path to where opencv is to the environment variable "path"?

— Reply to this email directly, view it on GitHub https://github.com/eriksandstroem/Loopy-SLAM/issues/6#issuecomment-2365223416, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASR4RVHHEQ5MN6AYCPS2LYLZXWEYJAVCNFSM6AAAAABOR5TQMSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNRVGIZDGNBRGY . You are receiving this because you authored the thread.Message ID: @.***>