#๐Ÿ”’ ModuleNotFoundError

13 messages ยท Page 1 of 1 (latest)

twin charm
#

i tried to copy the Ticker from https://youtu.be/AB4pBWgmToc?si=rVOimPf8w3xZZCDv, but there is a problem with "import requests"

leo@MacBook-Pro-von-Leo test % /usr/local/bin/python3 /Users/leo/Desktop/test/test.py
Traceback (most recent call last):
File "/Users/leo/Desktop/test/test.py", line 1, in <module>
import requests
ModuleNotFoundError: No module named 'requests'

forest shoreBOT
#

@twin charm

Python help channel opened

Remember to:

  • Ask your Python question, not if you can ask or if there's an expert who can help.
  • Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
  • Explain what you expect to happen and what actually happens.

:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.

glad echo
#

have you already installed the module?

#

else you can use pip install requests in your local console/shell

late warren
#

i recommend installing it globally as its a quite commanly used package

glad echo
#

thats already what pip install does tho?

glad echo
olive garnet
late warren
#

well thats truwe

twin charm
late warren
#

i personally dont use venvs

forest shoreBOT
#
Python help channel closed

This help channel has been closed and it's no longer possible to send messages here. If your question wasn't answered, feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.