Skip to content

ModuleNotFoundError: No module named 'mobileclip' #16

Description

@Yavuplogu

Hi,

I went through the whole installation process and some errors occurred. If you're not a developer like me, some dependencies are not listed and it will cause problems like not having Microsoft Visual C++. Anyway, I solved all the problems except for one that I don't understand.

First of all, after running the pip install -e . command several times, there is only one error left (but it doesn't break the installation process):

ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
streamlit 1.32.0 requires tenacity<9,>=8.1.0, but you have tenacity 9.0.0 which is incompatible. 

And then, after running the CLIPPyX command, I have this:

Traceback (most recent call last):
  File "C:\CLIPPyX\create_index.py", line 1, in <module>
    from Index.create_db import *
  File "C:\CLIPPyX\Index\create_db.py", line 21, in <module>
    from CLIP.mobile_clip import get_clip_image, get_clip_text
  File "C:\CLIPPyX\CLIP\mobile_clip.py", line 6, in <module>
    import mobileclip
ModuleNotFoundError: No module named 'mobileclip'
Traceback (most recent call last):
  File "C:\CLIPPyX\server.py", line 3, in <module>
    from Index.create_db import (
  File "C:\CLIPPyX\Index\create_db.py", line 21, in <module>
    from CLIP.mobile_clip import get_clip_image, get_clip_text
  File "C:\CLIPPyX\CLIP\mobile_clip.py", line 6, in <module>
    import mobileclip
ModuleNotFoundError: No module named 'mobileclip'
Traceback (most recent call last):
  File "\\?\C:\Users\USER1\anaconda3\Scripts\CLIPPyX-script.py", line 33, in <module>
    sys.exit(load_entry_point('CLIPPyX', 'console_scripts', 'CLIPPyX')())
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: 'module' object is not callable

I guess mobileclip is missing and I found nothing online to solve this issue. Maybe it is related to the first error, I don't know. Can you help me with this?

Thanks!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions