Minor refinements and more comments
This commit is contained in:
@@ -58,13 +58,20 @@
|
||||
"# Setting up the modal tokens\n",
|
||||
"\n",
|
||||
"The first time you run this, please uncomment the next line and execute it. \n",
|
||||
"This is the same as running `modal setup` from the command line. It connects with Modal and installs your tokens.\n",
|
||||
"This is the same as running `modal setup` from the command line. It connects with Modal and installs your tokens. \n",
|
||||
"\n",
|
||||
"A student on Windows mentioned that on Windows, you might also need to run this command from a command prompt afterwards: \n",
|
||||
"## Debugging some common problems on Windows\n",
|
||||
"\n",
|
||||
"If this command fails in the next cell, or if any of the modal commands with the `!` fail, please try running them directly on the command line in an activated environment (without the `!`)\n",
|
||||
"\n",
|
||||
"A student on Windows mentioned that on Windows, you might also need to run this command from a command prompt in an activated environment afterwards: \n",
|
||||
"`modal token new` \n",
|
||||
"(Thank you Ed B. for that!)\n",
|
||||
"\n",
|
||||
"And I've also heard that in some situations, you might need to restart the Kernel of this jupyter notebook after running this. (Kernel menu >> Restart Kernel and Clear Outputs of All Cells)."
|
||||
"Also, a student David S. mentioned the following: \n",
|
||||
"> In case anyone else using Windows hits this problem: Along with having to run `modal token new` from a command prompt, you have to move the generated token file. It will deploy the token file (.modal.toml) to your Windows profile folder. The virtual environment couldn't see that location (strangely, it couldn't even after I set environment variables for it and rebooted). I moved that token file to the folder I'm operating out of for the lab and it stopped throwing auth errors.\n",
|
||||
"\n",
|
||||
"Finally: I've also heard that in some situations, you might need to restart the Kernel of this jupyter notebook after running this. (Kernel menu >> Restart Kernel and Clear Outputs of All Cells)."
|
||||
]
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user