Better uv troubleshooting
This commit is contained in:
@@ -11,7 +11,9 @@
|
||||
"\n",
|
||||
"Setting up a Data Science environment can be challenging because there's a lot going on under the hood. But we will get there.\n",
|
||||
"\n",
|
||||
"And please remember - I'm standing by to help out. Message me or email ed@edwarddonner.com and I'll get on the case. The very last cell in this notebook has some diagnostics that will help me figure out what's happening.\n"
|
||||
"And please remember - I'm standing by to help out. Message me or email ed@edwarddonner.com and I'll get on the case. The very last cell in this notebook has some diagnostics that will help me figure out what's happening.\n",
|
||||
"\n",
|
||||
"You might want to have a quick look at the [faq](https://edwarddonner.com/faq) on my homepage in case your problem is specifically addressed.\n"
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -46,21 +48,9 @@
|
||||
"3. In the field \"Path to folder with a list of Virtual Environments\" put the path to the project root, like C:\\Users\\username\\projects\\llm_engineering (on a Windows PC) or /Users/username/projects/llm_engineering (on Mac or Linux). \n",
|
||||
"And then try again.\n",
|
||||
"\n",
|
||||
"## 3. Anaconda interference and Python version horrors\n",
|
||||
"## 3. Any uv problems\n",
|
||||
"\n",
|
||||
"Having problems with missing Python versions? Have you ever used Anaconda before? It might be interferring. Quit Cursor, bring up a new command line, and make sure that your Anaconda environment is deactivated: \n",
|
||||
"`conda deactivate` \n",
|
||||
"And if you still have any problems with conda and python versions, it's possible that you will need to run this too: \n",
|
||||
"`conda config --set auto_activate_base false` \n",
|
||||
"And then start a new Terminal / Powershell. \n",
|
||||
"and then from within the agents directory, you should be able to run `uv python list` and see the Python 3.12 version. \n",
|
||||
"And this shouldn't be required, but if you want to be absolutely careful, then now: \n",
|
||||
"1. Delete the folder called '.venv' in the project root directory \n",
|
||||
"2. `uv python uninstall 3.12`\n",
|
||||
"3. `uv python install 3.12`\n",
|
||||
"4. `uv python list`\n",
|
||||
"5. `uv sync` \n",
|
||||
"And surely that is bulletproof!"
|
||||
"Please check out this comprehensive guide on my [FAQ Q11](https://edwarddonner.com/faq/#11)"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user