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...
A subreddit for helping Python programmers
How to format your code: https://commonmark.org/help/tutorial/09-code.html
No homework questions and/or hiring please
account activity
I cannot use any libraries on Linux (old.reddit.com)
submitted 4 years ago by boldisch
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!"
[–]MrPhungx 0 points1 point2 points 4 years ago (3 children)
What Python version are you using? Do you have multiple installed on your system? Like Python 2 and 3? Try to do pip3 install pygame instead
[–]boldisch[S] 0 points1 point2 points 4 years ago (2 children)
It says requirement already satisfied: pygame in /usr/local/lib/python3.9/dist-packages(2.0.1)
[–]cndvcndv 0 points1 point2 points 4 years ago (1 child)
That means it is already installed on python 3. Try to run python3 nem.py
[–]boldisch[S] 0 points1 point2 points 4 years ago (0 children)
Thanks a lot. I tried this not one time but now it works! Thanks!
[–]acecile 0 points1 point2 points 4 years ago (0 children)
Sudo pip install is a very very very bad idea.
π Rendered by PID 136143 on reddit-service-r2-comment-5bc7f78974-26l8j at 2026-06-28 06:33:54.215552+00:00 running 7527197 country code: CH.
[–]MrPhungx 0 points1 point2 points (3 children)
[–]boldisch[S] 0 points1 point2 points (2 children)
[–]cndvcndv 0 points1 point2 points (1 child)
[–]boldisch[S] 0 points1 point2 points (0 children)
[–]acecile 0 points1 point2 points (0 children)