We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I was following this notebook: https://github.com/anthropics/courses/blob/cf2979dc88626f15c760ce83bc9e9e21015fcac5/prompt_engineering_interactive_tutorial/Anthropic%201P/00_Tutorial_How-To.ipynb
I cloned the repo and started the notebook like this, which was delightfully fast:
uv run jupyter-notebook .
But I got an error trying to import anthropic. It turns out this was because I was running Jupyter from a different environment, so this line:
import anthropic
!pip install anthropic
Installed the package into my default system environment, not the one for the notebook.
The fix is to use this instead:
%pip install anthropic
courses/prompt_engineering_interactive_tutorial/Anthropic 1P/00_Tutorial_How-To.ipynb
Lines 29 to 31 in cf2979d
The text was updated successfully, but these errors were encountered:
Use %pip install not !pip install, refs anthropics#30
d6dac6c
No branches or pull requests
I was following this notebook: https://github.com/anthropics/courses/blob/cf2979dc88626f15c760ce83bc9e9e21015fcac5/prompt_engineering_interactive_tutorial/Anthropic%201P/00_Tutorial_How-To.ipynb
I cloned the repo and started the notebook like this, which was delightfully fast:
But I got an error trying to
import anthropic
. It turns out this was because I was running Jupyter from a different environment, so this line:!pip install anthropic
Installed the package into my default system environment, not the one for the notebook.
The fix is to use this instead:
courses/prompt_engineering_interactive_tutorial/Anthropic 1P/00_Tutorial_How-To.ipynb
Lines 29 to 31 in cf2979d
The text was updated successfully, but these errors were encountered: