Skip to content

Instantly share code, notes, and snippets.

@mberman84
Last active March 13, 2025 20:59
Show Gist options
  • Save mberman84/c565061fef57b692919d8856f8e30ffa to your computer and use it in GitHub Desktop.
Save mberman84/c565061fef57b692919d8856f8e30ffa to your computer and use it in GitHub Desktop.
ChatDev Installation
# need to have conda installed
# these are instructions for macOS
git clone https://github.com/OpenBMB/ChatDev.git
conda create -n ChatDev_conda_env python=3.9 -y
conda activate ChatDev_conda_env
cd ChatDev
pip3 install -r requirements.txt
set OPENAI_API_KEY=your_key
python run.py --task "[description_of_your_idea]" --name "[project_name]"
python3 online_log/app.py
@Gl1tchblade
Copy link

Looks like your system isn’t recognizing Python. Here’s a few things you can try:

  1. Check if Python is Installed

Open Command Prompt (cmd) or PowerShell and type:

python --version

or

python3 --version

If it says something like "Python not found," then you need to install it from python.org.

  1. Check If Python is in Your System Path

If Python is installed but still not recognized, it might not be in your system’s PATH.

Search for "Edit the system environment variables" in Windows.

Click "Environment Variables", scroll down to System Variables, find Path, and click Edit.

Click New and add the path to where Python is installed. It’s usually something like:

C:\Users\YourUsername\AppData\Local\Programs\Python\Python39\

  1. Enable Python Execution Aliases

Go to Settings > Apps > Advanced App Settings > App execution aliases.

Make sure Python.exe and Python3.exe are turned ON.

  1. Try Running Python with Full Path

Instead of python3 online_log/app.py, try running:

C:\Users\YourUsername\AppData\Local\Programs\Python\Python39\python.exe online_log/app.py

Replace the path with your actual Python installation directory.

After trying all this tell me if you have more errors this should fix it though

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