diff --git a/pyproject.toml b/pyproject.toml index fc8112c..1816c34 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,7 @@ [project] name = "llm-engineering" version = "0.1.0" -requires-python = ">=3.12" +requires-python = ">=3.10" dependencies = [ "anthropic>=0.69.0", "beautifulsoup4>=4.14.2", diff --git a/setup/SETUP-new.md b/setup/SETUP-new.md index 605b148..8838de6 100644 --- a/setup/SETUP-new.md +++ b/setup/SETUP-new.md @@ -139,15 +139,25 @@ One thing to watch for: if you've used Anaconda before, make sure that your Anac And if you still have any problems with conda and python versions, it's possible that you will need to run this too: `conda config --set auto_activate_base false` -And now simply run: +And now simply run this: `uv sync` -And marvel at the speed and reliability! If necessary, uv should install python 3.12, and then it should install all the packages. -If you get an error about "invalid certificate" while running `uv sync`, then please check Gotcha 6 above, and try this instead: +uv should install everything blazingly fast. If you hit any installation errors: + +- First thing to try is this: +`uv python pin 3.11` and then `uv sync` again. +- If you get an error about missing wheels for torch (Intel Mac people, you might get this), then: +`uv python pin 3.11` then `uv add torch==2.2.2 torchvision==0.17.2 torchaudio==2.2.2` then `uv sync` +- If none of these work, then try: +`uv python pin 3.10` and then `uv sync` + +- If you get an error about "invalid certificate" while running `uv sync`, then please check Gotcha 6 above, and try this instead: `uv --native-tls sync` -And also try this instead: +- And also try this instead: `uv --allow-insecure-host github.com sync` -And you now have a full spec environment!! +And other problems - message me. + +But if no problems - you now have a full spec environment!! ___