Unable to load Chatbot application locally on the machine

2025-02-18T15:18:22.17+00:00

Hi,

I am using MS repository to build bot application based on RAG(AI search Engine) and Open AI.
I am trying to load Application locally on my system but it gives me below error:User's image

A few days ago, I uninstalled and installed quart library(it was fluke), it some how worked but afterwards it didn't work. I am facing this issue since start.
Though Team members of mine who are using same repo and system with same specs, application is loading locally but for me it doesn't.
While replying back, please bear in mind I am not application developer but Data scientist.

Thanks,
Sadaf

Azure OpenAI Service
Azure OpenAI Service
An Azure service that provides access to OpenAI’s GPT-3 models with enterprise capabilities.
3,711 questions
GitHub Training
GitHub Training
GitHub: A web-based hosting service for software development and version control using Git. Acquired by Microsoft in 2018.Training: Instruction to develop new skills.
48 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Prakash Komarajula 0 Reputation points
    2025-02-19T09:00:29.5533333+00:00

    Here are a few steps you can take to troubleshoot and potentially solve the issue:

    1. Check Python Version: Ensure you use the same Python version as your team members. You can check your Python version by running python --version in your terminal or command prompt.

    Virtual Environment: It's often useful to create a separate virtual environment for each project to avoid conflicts between package versions. You can create a virtual environment using python -m venv myenv and then activate it (On Windows myenv\Scripts\activate, on MacOS/Linux source myenv/bin/activate).

    Dependancy Installation: After activating your virtual environment, ensure that you reinstall all the project's dependencies. You can usually do this by running pip install -r requirements.txt from your project's root directory, where requirements.txt contains all the necessary packages.

    Check Dependencies Version: Ensure all dependencies are installed to the correct version as used by the rest of your team. You can check installed packages using pip freeze.

    Consult the Logs: When the application fails to load, there should be an error log generated. Review the logs to see if they provide more detailed information about what is specifically failing.

    Environment Variables: Sometimes, applications might depend on environment variables that need to be set up correctly in your system. Check with your team if such settings are required.

    Collaborate with your Team: Since your team members do not face this issue, consider pair-programming with one of them to compare configurations and identify what might be different in your setup.

    Re-Clone the Repository: If configurations and dependencies look correct, try recloning the repository to eliminate any issues caused by changes or corruptions in the local copy of your project files.

    By taking these steps, you should be more likely to identify the source of the issue and get your application running locally. Keep in mind that collaboration with your team can be very helpful, as they may have run into and solved similar issues.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.