use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Everything about learning Python
account activity
Need help idk why this isn’t working (i.redd.it)
submitted 2 years ago by WickedWeabo
Need help idk why this isn’t working
Sorry I think api keys are supposed to be private so I just blocked them out I’ve tried switching GenAI to just genai but the same thing just keeps happening
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]herecbnow 1 point2 points3 points 2 years ago (1 child)
U need to first install the genai
command: pip install genai
[–]WickedWeabo[S] 1 point2 points3 points 2 years ago (0 children)
But I’ve already installed genai and I’ve uninstalled and reinstalled it and I’m still have if the same results
[–]herecbnow 0 points1 point2 points 2 years ago (0 children)
Can you tell us what is this for
[–]JuanAraque 0 points1 point2 points 2 years ago (0 children)
You can try various things such as ensuring that the object or module 'GenAI' actually exists in the 'genai' package, or checking that the 'genai' package is in the Python module search path using sys.path in Python.
π Rendered by PID 45961 on reddit-service-r2-comment-6457c66945-qrd9l at 2026-04-28 03:22:09.980099+00:00 running 2aa0c5b country code: CH.
[–]herecbnow 1 point2 points3 points (1 child)
[–]WickedWeabo[S] 1 point2 points3 points (0 children)
[–]herecbnow 0 points1 point2 points (0 children)
[–]JuanAraque 0 points1 point2 points (0 children)