#๐ beginner needs help with QR code generator
89 messages ยท Page 1 of 1 (latest)
@fathom wedge
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.
oh I totally didn't notice you already made a thread ๐ญ
๐ญ
is my pc broken or something cuz I followed the tutorial step by step after it didn't work for the first and second try
and then it still doesn't work so I am kinda cooked rn
have you activated your virtual environment? I can't remember if the windows shell puts a little '(venv)' before the terminal prompt
I know lua so I learn python really fast
yea I had bugs activating it
but I figured it out
and activated it with powershell
cuz it wasn't working with normal terminals
visual code told me to get this thing
and I tried and it worked
it looks like the requirements of your package aren't installed for some reason
have a look inside the 'Lib' folder of your virtual environment
that's okay
I am a complete idiot ngl so I have no clue what's going on
just an idiot for python tho
yet
since PIL is in there I imagine that your virtual environment hasn't been activated properly
dang
ok so like
I'm unsure how it works on windows but try typing in '.\venv\bin\Activate.ps1' into the terminal
no since you've got the '(venv)' thing at the start of your prompt it should be okayy
I did that in terminal and it worked
your program runs now?
uhh were you pressing the run button before?
I have to run it from the terminal I think
like this
let me try again
I never tried running it from the termnial
I just noticed that your qrcodegenerator.py file is in the same directory as the virtual environment. Generally we keep source files outside of the virtual environment
nice
yay
ignore the fact that its not an image
idc since it didn't give me an error
lol
YOO coding is so cool
do you know lua?
I started with lua
I made a whole rpg game
roblox lua
lol
do you know why it didn't make it a image file tho?
I only know about it cause I never learned it
because you told it to make a file called youtube.img
you typed in youtube.img
oops I replied to the wrong message...
something like youtube.png
I don't know if that library infers the file type of your image
mb I'm actually dumb hahaha
I was too happy with the fact that I got no error
it worked
ty so much guys
lemme scan it rq lol
ty @fringe charm
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.
๐ beginner needs help with QR code generator