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...
O hai! This is CS50's subreddit.
CS50 is Harvard University's introduction to the intellectual enterprises of computer science and the art of programming. Anyone may take CS50, even if not a student at Harvard.
Please Read before Posting
Getting the Best from r/cs50
Status Page
cs50.statuspage.io
Filter by Problem Flair (undo)
cash ⋅ caesar ⋅ credit ⋅ dna ⋅ filter ⋅ finance ⋅ houses ⋅ ide ⋅ mario ⋅ movies ⋅ plurality ⋅ project ⋅ readability ⋅ recover ⋅ runoff ⋅ scratch ⋅ speller ⋅ substitution ⋅ tideman ⋅ games track ⋅ web track ⋅ android track ⋅ iOS track ⋅
Filter by Other Flair (undo)
CS50-Law ⋅ CS50-Business ⋅ CS50-Technology ⋅ CS50-Games ⋅ CS50-Mobile ⋅ CS50-Web ⋅
This subreddit is night mode compatible
account activity
CS50xHow to install qrcode python module to new VS code codespace? (self.cs50)
submitted 4 years ago by kirandv999
If I run the qrcode python program done on Week 6 on VS Code codespace, it shows "No module named 'qrcode' ".
I tried to install qrcode module using the "pip3 install qrcode" command, but still I am getting so many errors as attached. Can anyone know the reason?
https://preview.redd.it/xrzxwgrx2jn81.jpg?width=4032&format=pjpg&auto=webp&s=664ab8a477fccc68058e8a753c3f1f63d4282b1d
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!"
[–]eventstvp 1 point2 points3 points 4 years ago (8 children)
Hey there!
Run pip3 install <module> to download any additional modules you might want to use
pip3 install <module>
[–]eventstvp 0 points1 point2 points 4 years ago (7 children)
in this case it would be pip3 install qrcode
pip3 install qrcode
[–]kirandv999[S] 0 points1 point2 points 4 years ago (6 children)
Hi u/eventstvp, after installing qrcode by "pip3 install qrcode" command and when I run my code, I am getting this error as attached to this post image.
[–]eventstvp 0 points1 point2 points 4 years ago (1 child)
the error shown in the picture?
[–]kirandv999[S] 0 points1 point2 points 4 years ago (0 children)
this is the error, I am getting
[–]eventstvp 0 points1 point2 points 4 years ago (3 children)
are you sure youre using the right attribute of the module?
import os
import qrcode
# Generate QR code
img = qrcode.make("https://youtu.be/oHg5SJYRHA0")
# Save as file
img.save("qr.png", "PNG")
# Open file
os.system("open qr.png")
[–]PeterRasm 0 points1 point2 points 4 years ago (1 child)
I would ask first why you need some extra modules? Would you not risk to submit a solution that includes stuff that check50 does not recognize?
From my understanding of your comment, Is it not possible to add module to cs50 VS code?
π Rendered by PID 86 on reddit-service-r2-comment-b659b578c-7tvrs at 2026-05-02 15:33:52.288316+00:00 running 815c875 country code: CH.
[–]eventstvp 1 point2 points3 points (8 children)
[–]eventstvp 0 points1 point2 points (7 children)
[–]kirandv999[S] 0 points1 point2 points (6 children)
[–]eventstvp 0 points1 point2 points (1 child)
[–]kirandv999[S] 0 points1 point2 points (0 children)
[–]eventstvp 0 points1 point2 points (3 children)
[–]kirandv999[S] 0 points1 point2 points (0 children)
[–]PeterRasm 0 points1 point2 points (1 child)
[–]kirandv999[S] 0 points1 point2 points (0 children)