mindgraph
mindgraph copied to clipboard
ModuleNotFoundError: No module named 'typeid'
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
Try pip install typeid-python nexus_python, it works.
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
Thanks guys! It works now.
The project is using Poetry for dependency management, since it has a
pyproject.tomlfile.So, to install the missing typeid module using Poetry:
- ensure you have poetry installed
- run
poetry install. This will install all the required packagesthis 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
The project is using Poetry for dependency management, since it has a
pyproject.tomlfile. So, to install the missing typeid module using Poetry:
- ensure you have poetry installed
- run
poetry install. This will install all the required packagesthis will create a virtual environment for the project, so now run:
poetry run python main.pyi'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>
i had to do 'poetry add beautifulsoup4', eventhough beautifulsoup4 was in [tool.poetry.dependencies] under pyproject.toml
guess i'd just have to use python3.10
:+1: See also https://github.com/yoheinakajima/mindgraph/issues/12 about that requirement.
Thanks guys! It works now.
@wuzimi Since this is resolved, would you close the issue? :bow: