Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ModuleNotFoundError: No module named 'typeid' #3

Open
wuzimi opened this issue Mar 17, 2024 · 7 comments
Open

ModuleNotFoundError: No module named 'typeid' #3

wuzimi opened this issue Mar 17, 2024 · 7 comments

Comments

@wuzimi
Copy link

wuzimi commented Mar 17, 2024

C:\Users\Administrator\Documents\GitHub\mindgraph>python main.py
Traceback (most recent call last):
File "C:\Users\Administrator\Documents\GitHub\mindgraph\main.py", line 1, in
from app import create_app
File "C:\Users\Administrator\Documents\GitHub\mindgraph\app_init_.py", line 23, in
from .integrations.database import CurrentDBIntegration
File "C:\Users\Administrator\Documents\GitHub\mindgraph\app\integrations\database_init_.py", line 4, in
from .nexus import NexusDBIntegration
File "C:\Users\Administrator\Documents\GitHub\mindgraph\app\integrations\database\nexus.py", line 15, in
from typeid import TypeID, get_prefix_and_suffix as typeid_prefix
ModuleNotFoundError: No module named 'typeid'

@jerlinn
Copy link

jerlinn commented Mar 17, 2024

Try pip install typeid-python nexus_python, it works.

@feraranas
Copy link
Contributor

The project is using Poetry for dependency management, since it has a pyproject.toml file.

So, to install the missing typeid module using Poetry:

  • ensure you have poetry installed
  • run poetry install . This will install all the required packages

this will create a virtual environment for the project, so now run:

  • poetry run python main.py 

@wuzimi
Copy link
Author

wuzimi commented Mar 18, 2024

Thanks guys! It works now.

@simpleusername96
Copy link

The project is using Poetry for dependency management, since it has a pyproject.toml file.

So, to install the missing typeid module using Poetry:

  • ensure you have poetry installed
  • run poetry install . This will install all the required packages

this will create a virtual environment for the project, so now run:

  • poetry run python main.py

i'm getting this message after this
Current Python version (3.11.3) is not allowed by the project (>=3.10.0,<3.11).

guess i'd just have to use python3.10

@feraranas
Copy link
Contributor

The project is using Poetry for dependency management, since it has a pyproject.toml file.
So, to install the missing typeid module using Poetry:

  • ensure you have poetry installed
  • run poetry install . This will install all the required packages

this will create a virtual environment for the project, so now run:

  • poetry run python main.py

i'm getting this message after this Current Python version (3.11.3) is not allowed by the project (>=3.10.0,<3.11).

guess i'd just have to use python3.10

Also, if you run into other dependency errors run poetry add <name_of_dependency>

@simpleusername96
Copy link

i had to do 'poetry add beautifulsoup4', eventhough beautifulsoup4 was in [tool.poetry.dependencies] under pyproject.toml

@solvaholic
Copy link

guess i'd just have to use python3.10

👍 See also #12 about that requirement.

Thanks guys! It works now.

@wuzimi Since this is resolved, would you close the issue? 🙇

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants