hunto / LocalMamba

Code for paper LocalMamba: Visual State Space Model with Windowed Selective Scan
Apache License 2.0
193 stars 10 forks source link

ModuleNotFoundError: No module named 'packaging' #4

Closed xaswq closed 6 months ago

xaswq commented 6 months ago

Dear Author,

First of all, I would like to extend my sincerest gratitude for your awesome work. I am currently facing a challenge that I hope you could help me with. Despite having successfully installed the 'packaging' module using both pip and conda, I continue to encounter the error: ModuleNotFoundError: No module named 'packaging'. This issue persists and leaves me puzzled as to what the next steps should be to resolve it. Your expertise and advice on this matter would be greatly appreciated. Thank you once again for your invaluable support.

Best regards

image

hunto commented 6 months ago

Hi @xaswq ,

I think this issue is related to your environment. You can try python -m pip show packaging to see if the package is installed and whether it's installed in the correct directory that can be found by python or not.

If you still cannot find the issue, a tricky way is setting the location of packaging into your PYTHONPATH like export PYTHONPATH=xxx/location/xxx:$PYTHONPATH

xaswq commented 6 months ago

thx!

hunto commented 6 months ago

I close this issue as it was solved.