Updates to guides and troubleshooting
This commit is contained in:
@@ -23,11 +23,18 @@
|
||||
"\n",
|
||||
"Try running the next cell (click in the cell under this one and hit shift+return).\n",
|
||||
"\n",
|
||||
"If this doesn't work, then you're likely not running in an \"activated\" environment. Please check back in the [README](../README.md) for setting up the Anaconda (or virtualenv) environment and activating it, before running `jupyter lab`.\n",
|
||||
"If this gives an error, then you're likely not running in an \"activated\" environment. Please check back in Part 5 of the SETUP guide for [PC](../SETUP-PC.md) or [Mac](../SETUP-mac.md) for setting up the Anaconda (or virtualenv) environment and activating it, before running `jupyter lab`.\n",
|
||||
"\n",
|
||||
"If you look in the Anaconda window (on PC) or the Terminal window (on Mac), you should see `(llms)` in your prompt where you launch `jupyter lab` - that's your clue that the llms environment is activated.\n",
|
||||
"If you look in the Anaconda prompt (PC) or the Terminal (Mac), you should see `(llms)` in your prompt where you launch `jupyter lab` - that's your clue that the llms environment is activated.\n",
|
||||
"\n",
|
||||
"You might also need to restart the \"Kernel\" (the python process used to run this notebook). To do that, go to the Kernel menu and select \"Restart Kernel and Clear Outputs Of All Cells..\""
|
||||
"If you are in an activated environment, the next thing to try is to restart everything:\n",
|
||||
"1. Close down all Jupyter windows, like this\n",
|
||||
"2. Exit all command prompts / Terminals / Anaconda\n",
|
||||
"3. Repeat Part 5 from the SETUP instructions to begin a new activated environment and launch jupyter lab\n",
|
||||
"4. Kernel menu >> Restart Kernel and Clear Outputs of All Cells\n",
|
||||
"5. Come back to this notebook and try the cell below again.\n",
|
||||
"\n",
|
||||
"If **that** doesn't work, then please contact me! I'll respond quickly, and we'll figure it out."
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -37,7 +44,8 @@
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"# This should run with no output - no import errors:\n",
|
||||
"# This should run with no output - no import errors.\n",
|
||||
"# Import errors might indicate that you started jupyter lab without your environment activated? See SETUP part 5.\n",
|
||||
"\n",
|
||||
"from openai import OpenAI"
|
||||
]
|
||||
@@ -200,7 +208,7 @@
|
||||
"Then there's something up with your API key!\n",
|
||||
"\n",
|
||||
"First check this webpage to make sure you have a positive credit balance.\n",
|
||||
"OpenAI requires that you have a positive credit balance and it has minimums. My salespitch for OpenAI is that this is well worth it for your education: for less than the price of a music album, you will build so much valuable commercial experience. But it's not required for this course at all; you can watch me running OpenAI code, and then wait until we get to open source models in week 3.\n",
|
||||
"OpenAI requires that you have a positive credit balance and it has minimums. My salespitch for OpenAI is that this is well worth it for your education: for less than the price of a music album, you will build so much valuable commercial experience. But it's not required for this course at all; you can watch me running OpenAI code, and then wait until we get to open source models in week 3. Also, I'll show you how to use Ollama to run open-source models locally.\n",
|
||||
"\n",
|
||||
"https://platform.openai.com/settings/organization/billing/overview\n",
|
||||
"\n",
|
||||
@@ -208,7 +216,7 @@
|
||||
"\n",
|
||||
"https://platform.openai.com/api-keys\n",
|
||||
"\n",
|
||||
"And note that sometimes OpenAI seems to take a few minutes to give you access after you try.\n",
|
||||
"Sometimes OpenAI may take a few minutes to give you access after you try.\n",
|
||||
"\n",
|
||||
"## If all else fails:\n",
|
||||
"\n",
|
||||
|
||||
Reference in New Issue
Block a user