-
-
Save mberman84/c565061fef57b692919d8856f8e30ffa to your computer and use it in GitHub Desktop.
# 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 |
Looks like your system isn’t recognizing Python. Here’s a few things you can try:
- 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.
- 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\
- Enable Python Execution Aliases
Go to Settings > Apps > Advanced App Settings > App execution aliases.
Make sure Python.exe and Python3.exe are turned ON.
- 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
Hey thanks man!
I was trying to install this ChatDev AI app. And got this error while running this command - python3 online_log/app.py
I'm using this tutorial for reference - https://www.youtube.com/watch?v=yoAWsIfEzCw&ab_channel=MatthewBerman
I've pasted the error in the old comment. And I tried checking this online & in a discord server too, but no luck.
Please let me know if you know how to resolve this.