- Clone this repository using
git clone https://github.com/Nisarg851/HumberChatbotBackend.git
- Move into project folder
- run
pip install -r requirements.txt
to install all the required dependencies. - run
fastapi run dev
to run the application in developer mode.
ModuleNotFoundError: No module named 'distutils'
- The error indicates that Python is unable to find the distutils module, which is essential for package installation and management. This issue often arises due to changes in Python versions or environment configurations.
distutils
is now part of thesetuptools
package. Try updating setuptools to the latest version by run the following command:
pip install --upgrade setuptools
- The error indicates that Python is unable to find the distutils module, which is essential for package installation and management. This issue often arises due to changes in Python versions or environment configurations.
AttributeError: module 'pkgutil' has no attribute 'ImpImporter'. Did you mean: 'zipimporter'?
-
This error points to an inconsistency or potential issue with the pkgutil module, another standard library module used for package management.
-
Option 1: Upgrade pip
python -m pip install --upgrade pip
-
Option 2: These packages are fundamental for Python package management. Try reinstalling them:
python -m pip install --force-reinstall setuptools wheel
- now re-install the dependencies again with:
pip install -r requirements.txt
- now re-install the dependencies again with:
-
If the problem persists, try out different versions of dependencies in the requirements.txt file or install the dependencies manually.