Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
waveywaves opened this issue Nov 23, 2024 · 1 comment
Open

Comments

@waveywaves
Copy link
Contributor

waveywaves commented Nov 23, 2024

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
Copy link
Contributor

Thanks @waveywaves , will add this in the documentation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants