potpie-ai / potpie

Prompt-To-Agent : Create custom engineering agents for your codebase
https://potpie.ai
Apache License 2.0
333 stars 33 forks source link

docs: issues while following the getting started on a apple silion mac #191

Open waveywaves opened 5 days ago

waveywaves commented 5 days ago

I followed the getting started guide for potpie development, I noticed that it does not successfully start running on my mac m2 pro. To start off I created a service account in a firebase account and installed it locally. A few packages weren't getting installed locally, got the following error when running pip install -r requirements.txt

pip install -r requirements.txt                                                                       ─╯
Collecting uvicorn (from -r requirements.txt (line 2))
  Using cached uvicorn-0.32.1-py3-none-any.whl.metadata (6.6 kB)
Requirement already satisfied: sqlalchemy in /Users/vibhavbobade/miniconda3/lib/python3.12/site-packages (from -r requirements.txt (line 3)) (2.0.36)
Requirement already satisfied: alembic in /Users/vibhavbobade/miniconda3/lib/python3.12/site-packages (from -r requirements.txt (line 4)) (1.14.0)
Collecting gunicorn (from -r requirements.txt (line 5))
  Using cached gunicorn-23.0.0-py3-none-any.whl.metadata (4.4 kB)
...
ERROR: Ignored the following versions that require a different python version: 0.0.1 Requires-Python <3.12,>=3.10; 0.0.10 Requires-Python <3.12,>=3.9; 0.0.10a0 Requires-Python <3.12,>=3.9; 0.0.11 Requires-Python <3.12,>=3.9; 0.0.12 Requires-Python <3.12,>=3.9; 0.0.13 Requires-Python <3.12,>=3.9; 0.0.14 Requires-Python <3.12,>=3.9; 0.0.15 Requires-Python <3.12,>=3.9; 0.0.16 Requires-Python <3.12,>=3.9; 0.0.17 Requires-Python <3.12,>=3.9; 0.0.18 Requires-Python <3.12,>=3.9; 0.0.19 Requires-Python <3.12,>=3.9; ...
ERROR: Could not find a version that satisfies the requirement blar-graph==1.0.11 (from versions: none)
ERROR: No matching distribution found for blar-graph==1.0.11

Based on the command above I understand that I have the wrong version of python installed which is right, I have

python --version                                                                                      ─╯
Python 3.12.4

a < 3.12 version installed.

The docs is also missing dev dependency on albemic which is used for database migrations.

Maybe, support for devcontainer could help here

dhirenmathur commented 4 days ago

Thanks @waveywaves , will add this in the documentation