I can't count the amount of times I get asked how to fix this, so i decided to make a video about it! To clarify once again, there are a ton of reasons why this may not work for you. This video simply contains the most common fixes. PLEASE have mercy on me in the comments :0
can't find '__main__' module it keeps showing this error I don't know what to do... I've been at this for a whole day yesterday and just gave up so is their any way to fix this?
I installed dlib using conda. It shows successfully installed. But when I try to add it to pycharm the package does not show up in the list. I'm stuck. Please help
@@mastershooter64 bro but when we make a game and it consume such long time and energy and we found that we cant run a programe then it hurts the most :( but we have to never loose a hope and keep working ;)
I've been trying to solve this problem for two days. And then I found 3-year old video. You're the only person that helped. Thanks man. Appriciate your work.
For anyone still trying to install Pygame and this still hasn't worked go to file, settings, project interpretor, click on pip, scroll down till you find Pygame, click install This video may not have showed me this but it did help me find it thank you
I seriously have no idea how to thank you, you're a life saver.
Před 4 lety+4
another one way to solve this, first run CMD and use pip to install the package you want by typing: "pip (or pip3 if you're on Python 3) install [the package you want]", once you done, search for the "include" folder in your Python folders (for example my one is: C:\Users\FLvME\AppData\Local\Programs\Python\Python38\include) , copy the name of the file you installed, next is open Files/Settings, go to Your Project: YourProjectName, click on Project Structure, find the venv/Libs/site-packages folder (while venv is marked as your excluded folder), access it via Explorer and paste the package file you copied in there, then go back to PyCharm, apply the setting. Hope this might help. you can upvote this method to tell the others if they still cannot install the package in pyCharm.
It was not in "include" folder, but in "C:\Users\\AppData\Local\Programs\Python\Python38-32\Lib\site-packages" and basically had to put it in the folder you showed (in my case it was "venv\Lib\site-packages")
Here's what I did: 1. typed pip3 install pygame in cmd, which told me: requirement already satisfied pygame in C:\Users\mike\AppData\Roaming\Python\Python38\site-packages 2. I opened the site-packages folder and copied pygame 3. go to File> settings> project: project name> project structure . You will see the location of the project file and a venv folder inside of it. Go to site-packages inside of it. C:\Users\mike\PycharmProjects\Namaste\venv\Lib\site-packages 4. Pasted the pygame folder there and ran import pygame and it worked.
are you a god ? a prophet ? I've been trying to fix this problem for 7+ hours and I couldn't fix it till I watched your video I only needed to change the interpreter to the default one THANKS A LOT
I've been trying to get this to work for ages! those having trouble getting pygame to work with pycharm, go into cmd and do pip install pygame, and then set the pygame interpreter to the pythonw inside your python directory.
Good. It did not work for me, but it gave a hint on how to solve my problem. Basically, I couldn't import PIL from Pillow. Windows prompt kept reporting that Pillow is installed, and my pip is the latest version, by PyCharm did not see PIL anyway. What I did is I set my configuration as you showed in your video and used PyCharm terminal to force the reinstallation of the pip using this command python -m pip install -U --force-reinstall pip. It solved my problem. I am new to Python (2 months) and could be wrong, but I previously had issues when I wanted to pip install anything through PyCharm terminal and used instead windows prompt and had no problem, but this time I run into the problem that it did not see the PIL and the above mentioned approached helped me. So, take away for me or a lesson is that we should have our configuration set up as you showed in your video. Thanx.
even though this video doesn't work with me but I think that is half of the solution for me to makes me don't return again to show what happens and makes me think if the path of python has some errors. I wish if you have more tutorials about this real issue because it's really annoying. thank you, Tim.
it took for me 3 days to solve this i watched more than 20 video tutorials to solve this problem but at last video (your video) is made my day bro thanks a lot maan!!
this was my error project interpreter.. and it solved now.. i was searching for a solution of this error for 2 weeks. it helped me a lot... thank you so much..!!!!
I followed your video, realised pycharm couldnt find my scripts. Realised I could just reinstall the packages using pycharm instead of pip and did that. Things work now. Thank you!!!
There is another thing that can trip you up. If you get import errors with your own modules (in the same project), especially when you get them when you run your app from PyCharm but not when you run it from the terminal or vice versa, you probably need to set the correct root directory for your application in PyCharm. You can do this from the context menu in the project pane.
I dunno if you are going to read this comment, but THANK YOU SO MUCH!! you don't know how much you have helped me..I had this problem for two days and I watched 100 videos but I couldn't find the answer except in your video..really thank you so so much
I think the most common errors we all make are (as you say in the video): 1) we have 2 versions of python installed (sometimes we forget where we install packages with pip) 2) pay attention how you create your project if you do it with venv, it will not work. Just use the system interpreter. At least this worked out for me.
I'm kind of confused about this. I'm new to programming so forgive my ignorance but I've been reading that you should use a new venv everytime you start a new project. But that means that every time I wanna do a new project I have to manually install numpy, matplotlib, ect... into my interpreter? That just doesn't seem right. Is there a way to have a nice preset/template so that every time I want to make a new venv, I can just start coding and be able to import things quickly?
Thanks for the guide here. I was spending like 2 hours install / uninstall python / pycharm and pip all kind of things but it doesnt' work till i follow your video. Thumb up !
If you're using Pycharm IDE make sure that it's installed to your interpreter. I went to File --> Settings --> double click Project: "Project_Name" --> Python interpreter From there you're gonna see what packages are installed, click on them to bring up a menu where you can search for all your packages. Search for "Pygame" click install. stackoverflow.com/questions/28453854/add-pygame-module-in-pycharm-ide This helped me.
Thanks a lot Tim! Your slow and steady explanations made me point out the mistake I was making Actually I am not good in the concept of VirtualEnv as I am at school level and I pointed out that all I was creating was new virtual environments so I selected the base environment this time and the pip installed modules worked like charm for me
Thank you so much, I've had this issue for a while and was on the verge of giving up as I couldn't work on my projects. This video helped me fix the issue.
The Anaconda one worked flawlessly. As long as I use that one environment it will work on whatever project I have set up. Really save me here, Tim. Thank you.
I'm a new student trying to learn, so I can become a programmer with python I see this video tutorial, it is very good. Furthermore, I would like to ask for your advice if you can and if you can guide me on how or what I need to do to add this 3 in a Python script, I have:
3. If the Ports is open, it should create a file and add an entry for port number 4. In case of any exception for instance “host is not available”, “host name could not be resolved” or due to any other error, you need to write that exception into the same file. I already have the script make, and it works very well so far it has to be done internal network but the only problem I have is to make number 3 and 4. This has been done in Pycharm. Thank you and Merry Christmas and happy new year.
My biggest frustration with programming is constantly running into problems like this. Companies that are centered around programming can't even get everything right. It's truly amazing. The longer you have been programming, the more frustrating....20 years later and still no big free software and or documentation.
thanks for showing how to fix these errors, i uninstalled pycharm because pygame didnt show up there even though i installed it so then i started coding in sublime but wanted a new ide but couldnt find one that good like pycharm. and i saw this video, and finally after wasting several days of researching the best python ide works with pygame
DUDE CRAZY, I was just following one of your longer tutorials on flask and had this problem and in the last minute of this video you show how to fix this stupid 'unresolved' thing. THANK YOU
Thank you so much!!! Two years later this still helps me. I had to switch my interpreter version, you were right. You're awesome and keep up the great work Tim!!!
Tim plz tell me how should I thank you......I spent around 4 hours looking for the solution. Man thank you....may success be always ur companion in life....I'm joining ur community for sure
Nice, helps. One point - my issue was not resolved. So - I found - if package has '_' (alpha_vantage), you need to search with - in PyCharm(alpha-vantage) - and it will find. You still need to 'import alpha_vantage'
OMG!! I now officially declare you as The Ultimate GIGACHAD of Python!! Your videos are really detailed and DEEEEEEP! Thanks a lot you really helped me in solving the problem, which I had spent about 2 days trying to solve, even asking research assistant at my university, but unfortunately, no success.
Thank you THANK YOU so much! I’ve spent hours to solve this problem, nothing worked. This video literally saved my life. I can’t thank you enough. I also appreciate immensely your slow pace and patience. You’ve gained a new subscriber!
Man Thanks so much. I was not able to find any tutorial working in 2021 on Python3.9 but even after a year this is still relevant tutorial and you saved me so much. Thank you Man
Dude, CZcams is just amazing! I am Brazilian and I was looking for a long time how to fix this error and CZcams recommended me your channel and now my problem has been solved! Even though I don't understand what you said, I had my problem solved thanks to you! Thank you very much friend or Thank you very much muito obrigado!
This video did not fix the issue for me but I finally was able to figure it out and just want to leave a comment as to how I fixed mine. So for me even though I added the package I want and it appeared in my list in settings->project->interpreter, the import did not work. I went into my venv->lib->site-packages and discovered that somehow the package was not even there. so I downloaded it with pip command on terminal and then copied my package from the base installation folder (something like C:\users ame\AppData\Local\Programs\Python\Python39\lib\site-packages) to my venv site-packages folder and it worked. That took me hours to figure out, hope this saves someone else some time one day
ERROR: Could not find a version that satisfies the requirement tkinter (from versions: none) ERROR: No matching distribution found for tkinter this error what coulde be done
i didn't watch the whole video because at the start I found out that under the pycharm console pycharm has python packages option Edit: but i still gave a like and a sub
Thank You So Much Brother For Making This Video. I was Facing This Issue since 2 Days and was damn tired by searching the solution and finally you solved my Problem. Again Thank You So Much Brother 🙏
Damn dude! you helped! I had to change my interpreter and I had installed multiple versions of python. I had to make sure the settings were back to default settings on pycharm and I choose the right interpreter and just like that the problem was no more.
GOOD GOD IN HEAVEN UP ABOVE! thank you, sir! I've been trying to install PyAudio for 3 days to use in your voice assistant program. this video finally gave me the answer!
Just started programming recently. Been procrastinating for weeks, since I just can't get this to work, partially due to my lack of experience, so I stumbled upon this video. But, I couldn't follow along after the visual studio settings, as my visual studio settings doesn't have a project tab. Not sure what to do next.
I had to remove all my versions of python, removed pycharm and visual studio. Then reinstalled only one version of python with two code editors and now everything works
OMG THANK YOU SO MUCH THIS REALLY WORKED I WASN'T ABLE TO USE PYCHARM FOR ANACONDA THIS WHOLE YEAR I'M GLAD I FOUND YOUR VIDEO So I was using an empty env inside the carpet env in anaconda3 (because I didn't have any env) instead of the anaconda env which had all the packages I needed already installed, so I did what it said in 7:43
Omg, thank you so much for the solution dude. I've been stuck with IDLE to create games with pygame because for some reason, pygame doesn't work on my pycharm. But now, it does. Keep up the good work man.
While this unfortunately didn't solve my problem I eventually got a fix. Perhaps this will save someone else the headache. From the 'welcome to pycharm' / project select screen (so when you close your current project), go to configuration and then reset to default. I'm sure it's something I borked at some point or another, but in the end I never did find out what I broke, but seeing as reinstalls and the like didn't help until the reset to default, I probably broke something at some point or another. And perhaps resetting it to default is such an obvious solution that it usually is assumed to have been tried already so it doesn't pop up in answers (that I could find). So hopefully it helps someone
Steps I took after the video: 1. C:\Users\%username%: pip install virtualenv pip install requests 2. project folder: pyinstaller --hidden-import=pkg_resources.py2_warn example.py 3. pip uninstall pyinstaller pip install github.com/pyinstaller/pyinstaller/archive/develop.zip 4.pip install --upgrade google-api-python-client oauth2client 5. added a root.mainloop() at end of file then ran again: pyinstaller --onefile filename.py and it worked
Wow! I've been struggling with something else altogether and after watching your video and fixing this basic has actually resolved my problem. Thanks a tonne.
Omg I'm soooo thankful for this video, thanks soooo much Tim!! I had been searching all over the bet but then I finally stumbled across your video and it solved my problem!! Thanks sooooo muchhhh!! 🖤✨
idk what happened, but I kinda used the video, and also just did some things, and now it works lmao. Thanks for te video! Would never have got it working without it.
Ok so I don't know if this will work for anyone else because I'm still a beginner, however if you type import *software here* and get the error message you can click the red circle on the top right which will point out there is no module under that name which will show up at the bottom which you can then right click and open a menu from this select quick fixes next to the lightbulb and then select the "Install package *software name*
Hi. To all those who are facing the error "This app can't run on your PC. To find a version for your PC, check with the software publisher", - try following these steps: 1. Before clicking the download option for pycharm from jetbrains, select ".exe (Windows)" from the drop-down menu 2. Then proceed with normal installation
I can't count the amount of times I get asked how to fix this, so i decided to make a video about it! To clarify once again, there are a ton of reasons why this may not work for you. This video simply contains the most common fixes. PLEASE have mercy on me in the comments :0
can't find '__main__' module it keeps showing this error I don't know what to do...
I've been at this for a whole day yesterday and just gave up so is their any way to fix this?
Please can you do the same video for python Django and Pygame . Thank You
.
Trying import discord py not working
I installed dlib using conda. It shows successfully installed. But when I try to add it to pycharm the package does not show up in the list. I'm stuck. Please help
BRO YOU JUST SOLVED MY PROBLEM WHICH I STRUGGLED FOR THE PAST DAYS MAN. I WAS ABOUT TO QUIT PROGRAMMING SIOT AHAHAHAHAHAHHAHAHAHAHHAAH
Same dude xdd
were you about to quit PROGRAMMING just because a specific thing in one IDE wasn't working?
@@mastershooter64 bro but when we make a game and it consume such long time and energy and we found that we cant run a programe then it hurts the most :( but we have to never loose a hope and keep working ;)
atleast I learned it from naruto XD
I've been trying to solve this problem for two days. And then I found 3-year old video. You're the only person that helped. Thanks man. Appriciate your work.
For anyone still trying to install Pygame and this still hasn't worked go to file, settings, project interpretor, click on pip, scroll down till you find Pygame, click install
This video may not have showed me this but it did help me find it thank you
this worked for me after trying to get pygame to work for multiple hours. Thank you!
I seriously have no idea how to thank you, you're a life saver.
another one way to solve this, first run CMD and use pip to install the package you want by typing: "pip (or pip3 if you're on Python 3) install [the package you want]", once you done, search for the "include" folder in your Python folders (for example my one is: C:\Users\FLvME\AppData\Local\Programs\Python\Python38\include) , copy the name of the file you installed, next is open Files/Settings, go to Your Project: YourProjectName, click on Project Structure, find the venv/Libs/site-packages folder (while venv is marked as your excluded folder), access it via Explorer and paste the package file you copied in there, then go back to PyCharm, apply the setting. Hope this might help.
you can upvote this method to tell the others if they still cannot install the package in pyCharm.
thanks. it helped me
It was not in "include" folder, but in "C:\Users\\AppData\Local\Programs\Python\Python38-32\Lib\site-packages" and basically had to put it in the folder you showed (in my case it was "venv\Lib\site-packages")
Here's what I did:
1. typed pip3 install pygame in cmd, which told me: requirement already satisfied pygame in C:\Users\mike\AppData\Roaming\Python\Python38\site-packages
2. I opened the site-packages folder and copied pygame
3. go to File> settings> project: project name> project structure .
You will see the location of the project file and a venv folder inside of it. Go to site-packages inside of it.
C:\Users\mike\PycharmProjects\Namaste\venv\Lib\site-packages
4. Pasted the pygame folder there and ran import pygame and it worked.
Dear Tim,
I'm from India, very new to coding. Your video has helped me ID the issue & fix it.
Thanks Brother, you are very good at it.
CK
are you a god ? a prophet ?
I've been trying to fix this problem for 7+ hours and I couldn't fix it till I watched your video
I only needed to change the interpreter to the default one
THANKS A LOT
I spent literally 4 hours trying to open up 2 different projects ... its annoying
yea me too
It seems that I am not alone in the fight hahahahaha
I was searching and trying from 3 days Numpyerror issue...and your vidro solved it....thanks a lot....its very helpful ...and explained so well👏👏👏👏👏
Thanks for this, got 99% of the problem fixed, but in the end I just ended up uninstalling both python and pycharm, then reinstalling them
I've been trying to get this to work for ages!
those having trouble getting pygame to work with pycharm, go into cmd and do pip install pygame, and then set the pygame interpreter to the pythonw inside your python directory.
Good. It did not work for me, but it gave a hint on how to solve my problem. Basically, I couldn't import PIL from Pillow. Windows prompt kept reporting that Pillow is installed, and my pip is the latest version, by PyCharm did not see PIL anyway. What I did is I set my configuration as you showed in your video and used PyCharm terminal to force the reinstallation of the pip using this command python -m pip install -U --force-reinstall pip. It solved my problem.
I am new to Python (2 months) and could be wrong, but I previously had issues when I wanted to pip install anything through PyCharm terminal and used instead windows prompt and had no problem, but this time I run into the problem that it did not see the PIL and the above mentioned approached helped me. So, take away for me or a lesson is that we should have our configuration set up as you showed in your video. Thanx.
THANK YOU- your final tip of closing out of pycharm and restarting it fixed it....unbelievable...
even though this video doesn't work with me but I think that is half of the solution for me to makes me don't return again to show what happens and makes me think if the path of python has some errors.
I wish if you have more tutorials about this real issue because it's really annoying.
thank you, Tim.
It was really helpful man. You saved a lot of time I nearly spent 2 hrs trying to find what was wrong. Thanks for the help.
Dude.. 5 Hours of searching on millions of sites and the you happened
I LOVE YOU!!!!!!!!!!!!!!!!
Thank you
it took for me 3 days to solve this i watched more than 20 video tutorials to solve this problem but at last video (your video) is made my day bro thanks a lot maan!!
this was my error project interpreter.. and it solved now.. i was searching for a solution of this error for 2 weeks. it helped me a lot... thank you so much..!!!!
Brooo thank you for his video after 2 hours watching diffrent tutorials I realized that I have wrong interpreter 🤣
I followed your video, realised pycharm couldnt find my scripts. Realised I could just reinstall the packages using pycharm instead of pip and did that. Things work now. Thank you!!!
I recommend checking the dependencies in the interpreter and reinstalling django and venv from manually (all dependencies have been removed from me)
There is another thing that can trip you up. If you get import errors with your own modules (in the same project), especially when you get them when you run your app from PyCharm but not when you run it from the terminal or vice versa, you probably need to set the correct root directory for your application in PyCharm. You can do this from the context menu in the project pane.
I dunno if you are going to read this comment, but THANK YOU SO MUCH!! you don't know how much you have helped me..I had this problem for two days and I watched 100 videos but I couldn't find the answer except in your video..really thank you so so much
Thank you so much. I spend two hour and could not find the problem until I see this video.
I think the most common errors we all make are (as you say in the video): 1) we have 2 versions of python installed (sometimes we forget where we install packages with pip) 2) pay attention how you create your project if you do it with venv, it will not work. Just use the system interpreter. At least this worked out for me.
I'm kind of confused about this. I'm new to programming so forgive my ignorance but I've been reading that you should use a new venv everytime you start a new project. But that means that every time I wanna do a new project I have to manually install numpy, matplotlib, ect... into my interpreter? That just doesn't seem right. Is there a way to have a nice preset/template so that every time I want to make a new venv, I can just start coding and be able to import things quickly?
Thanks for the guide here. I was spending like 2 hours install / uninstall python / pycharm and pip all kind of things but it doesnt' work till i follow your video. Thumb up !
Man. you advice with anaconda was really helpful. Thanks from Russia!
If you're using Pycharm IDE make sure that it's installed to your interpreter.
I went to File --> Settings --> double click Project: "Project_Name" --> Python interpreter
From there you're gonna see what packages are installed, click on them to bring up a menu where you can search for all your packages. Search for "Pygame" click install.
stackoverflow.com/questions/28453854/add-pygame-module-in-pycharm-ide
This helped me.
Wasn't any of theas but watching this video flipped a switch and I figured it out. Thank you 🔥🔥
Thanks a lot Tim!
Your slow and steady explanations made me point out the mistake I was making
Actually I am not good in the concept of VirtualEnv as I am at school level and I pointed out that all I was creating was new virtual environments so I selected the base environment this time and the pip installed modules worked like charm for me
Thank you so much, I've had this issue for a while and was on the verge of giving up as I couldn't work on my projects. This video helped me fix the issue.
The Anaconda one worked flawlessly. As long as I use that one environment it will work on whatever project I have set up. Really save me here, Tim. Thank you.
I'm a new student trying to learn, so I can become a programmer with python
I see this video tutorial, it is very good.
Furthermore, I would like to ask for your advice if you can and if you can guide me on how or what I need to do to add this 3
in a Python script, I have:
3. If the Ports is open, it should create a file and add an entry for port number
4. In case of any exception for instance “host is not available”, “host name could not be resolved” or
due to any other error, you need to write that exception into the same file.
I already have the script make, and it works very well so far it has to be done internal network but the only problem I have is to make number 3 and 4.
This has been done in Pycharm.
Thank you and Merry Christmas and happy new year.
GREAT JOB! I called my computer programmer cousin for help and he couldn't explain, but you did PERFECT! Thanks!
Thank You So Much!!! The only useful video on CZcams is this..... I was stuck on this for hours until I found this video. Thanks A Lot
I've just recently started learning programming. If it weren't for you, I'd probably had quit. Thank you for your help, Tim!
My biggest frustration with programming is constantly running into problems like this. Companies that are centered around programming can't even get everything right. It's truly amazing. The longer you have been programming, the more frustrating....20 years later and still no big free software and or documentation.
thanks for showing how to fix these errors, i uninstalled pycharm because pygame didnt show up there even though i installed it so then i started coding in sublime but wanted a new ide but couldnt find one that good like pycharm. and i saw this video, and finally after wasting several days of researching the best python ide works with pygame
Thanks for the video! Still works even 3 years after you made the video.
DUDE CRAZY, I was just following one of your longer tutorials on flask and had this problem and in the last minute of this video you show how to fix this stupid 'unresolved' thing. THANK YOU
bruuuuh u literally saved my life
that's the appreciated like i've ever given to anyone
holy fucking shit why can't all tutorials be like this
Thank you so much
Thank you so much!!! Two years later this still helps me. I had to switch my interpreter version, you were right. You're awesome and keep up the great work Tim!!!
I have spent so many times and tried to solve this problem, this is a legend video.
Tim plz tell me how should I thank you......I spent around 4 hours looking for the solution. Man thank you....may success be always ur companion in life....I'm joining ur community for sure
Thanks so much this video is still relevant in 2023!
Nice, helps. One point - my issue was not resolved. So - I found - if package has '_' (alpha_vantage), you need to search with - in PyCharm(alpha-vantage) - and it will find. You still need to 'import alpha_vantage'
Thank you!! I was having trouble installing a module called "clipboard" but I realised I had 2 versions of python!
This resolved my issue! Thank you, Tim! Much appreciated mate!
OMG!!
I now officially declare you as The Ultimate GIGACHAD of Python!!
Your videos are really detailed and DEEEEEEP!
Thanks a lot you really helped me in solving the problem, which I had spent about 2 days trying to solve, even asking research assistant at my university, but unfortunately, no success.
Thank you so much! I hope you know how frustrating it can be if your modules you installed simply don't work. Thank you again!
Thought I was going to be troubleshooting for the rest of my days... lmao. Thank you so much for the fixes.
You can also just install the module from pycharm directly (under "modules").
CTRL+ALT+S to open up the settings page.
What a great video!
Thank you THANK YOU so much! I’ve spent hours to solve this problem, nothing worked. This video literally saved my life. I can’t thank you enough. I also appreciate immensely your slow pace and patience. You’ve gained a new subscriber!
Nice. I had an issue with the interpreter menu not showing my packages but once i downloaded setuptools with pip working, it worked out
Man Thanks so much. I was not able to find any tutorial working in 2021 on Python3.9 but even after a year this is still relevant tutorial and you saved me so much. Thank you Man
Cheers, realised I had different versions of python and deleted one of em, fixed my import errors 😁
Dude, CZcams is just amazing!
I am Brazilian and I was looking for a long time how to fix this error and CZcams recommended me your channel and now my problem has been solved! Even though I don't understand what you said, I had my problem solved thanks to you! Thank you very much friend or Thank you very much muito obrigado!
if you have problems in vsc click the down arrow besides the run button and select run python file
This video did not fix the issue for me but I finally was able to figure it out and just want to leave a comment as to how I fixed mine. So for me even though I added the package I want and it appeared in my list in settings->project->interpreter, the import did not work. I went into my venv->lib->site-packages and discovered that somehow the package was not even there. so I downloaded it with pip command on terminal and then copied my package from the base installation folder (something like C:\users
ame\AppData\Local\Programs\Python\Python39\lib\site-packages) to my venv site-packages folder and it worked. That took me hours to figure out, hope this saves someone else some time one day
Bro the issue got solved within 2 min of this video, really really thanks for this ....idk what to say, it took 1 day to do this...🤗🤗🤗
ERROR: Could not find a version that satisfies the requirement tkinter (from versions: none)
ERROR: No matching distribution found for tkinter
this error what coulde be done
Make sure you have not named your file tkinter.py
i didn't watch the whole video because at the start I found out that under the pycharm console pycharm has python packages option
Edit: but i still gave a like and a sub
Thank you, you saved my life i would never start without it.
i feel stupid i didn't watch the whole thing but it turned out I had to switch to the 3.10 i kept going onto 3.9 something thank you a lot
Thank You So Much Brother For Making This Video. I was Facing This Issue since 2 Days and was damn tired by searching the solution and finally you solved my Problem. Again Thank You So Much Brother 🙏
Thanks Tim Tim i uninstall my python 3.8 and install 3.7.0 now i install all the packages easily
Spent hours just trying to solve this problem and finally this worked. Thanks a lot!
Thank you buddy, I finally resolved my issue. I watched many videos but couldnt find the sol. Now, I learned some extra info as well.
I was very literally annoying wasting my hours wasting to fix this error and now i fixed thx you saved my 4 lakh laptop 😁😁
Thanks! Uninstalled my python 3.7, switched my interpreter from 3.7 to 3.8 in pyCharm and suddenly my import cx_Oracle works. Woo!
Damn dude! you helped! I had to change my interpreter and I had installed multiple versions of python.
I had to make sure the settings were back to default settings on pycharm and I choose the right interpreter and just like that the problem was no more.
Thank you so much for this thorough tutorial. I end up fixing my python interpreter and it is working now.
Thankyou. I had tried to fix this problem spending hours but could not. Finally, this video helped me fix that.
Thanks, it worked for me. Now Modules are connected
GOOD GOD IN HEAVEN UP ABOVE!
thank you, sir! I've been trying to install PyAudio for 3 days to use in your voice assistant program.
this video finally gave me the answer!
Just started programming recently. Been procrastinating for weeks, since I just can't get this to work, partially due to my lack of experience, so I stumbled upon this video.
But, I couldn't follow along after the visual studio settings, as my visual studio settings doesn't have a project tab. Not sure what to do next.
I had to remove all my versions of python, removed pycharm and visual studio. Then reinstalled only one version of python with two code editors and now everything works
OMG THANK YOU SO MUCH THIS REALLY WORKED
I WASN'T ABLE TO USE PYCHARM FOR ANACONDA THIS WHOLE YEAR I'M GLAD I FOUND YOUR VIDEO
So I was using an empty env inside the carpet env in anaconda3 (because I didn't have any env) instead of the anaconda env which had all the packages I needed already installed, so I did what it said in 7:43
Thank you a lot bro without i can't my project thank you for your help and yes this video is still good for 2023 thanksss
Omg, thank you so much for the solution dude. I've been stuck with IDLE to create games with pygame because for some reason, pygame doesn't work on my pycharm. But now, it does. Keep up the good work man.
You.
Are.
The.
Best.
I was searching for hours non stop. THANK you.
Just to let you know I was using Anaconda, and I did not load any virtual environments. So thank you for covering that too.
While this unfortunately didn't solve my problem I eventually got a fix. Perhaps this will save someone else the headache.
From the 'welcome to pycharm' / project select screen (so when you close your current project), go to configuration and then reset to default.
I'm sure it's something I borked at some point or another, but in the end I never did find out what I broke, but seeing as reinstalls and the like didn't help until the reset to default, I probably broke something at some point or another. And perhaps resetting it to default is such an obvious solution that it usually is assumed to have been tried already so it doesn't pop up in answers (that I could find). So hopefully it helps someone
Steps I took after the video:
1. C:\Users\%username%:
pip install virtualenv
pip install requests
2. project folder:
pyinstaller --hidden-import=pkg_resources.py2_warn example.py
3. pip uninstall pyinstaller
pip install github.com/pyinstaller/pyinstaller/archive/develop.zip
4.pip install --upgrade google-api-python-client oauth2client
5. added a root.mainloop() at end of file
then ran again: pyinstaller --onefile filename.py
and it worked
finally, someone who knows what my problem is, and how to fix it. I wish I could pin a blue ribbon here. Thanks a lot for the help!!!
Thanks so much for your help. The fix just required altering the file path. What a life saver you are!!!
Worked well for me. This only worked when I downloaded 3.7.0. It was your last topic that did the job. Thanks !
5:00 worked for, edit configuration changed the interpeter, n it worked thanks man
After 3hours of search i found the best video
Wow! I've been struggling with something else altogether and after watching your video and fixing this basic has actually resolved my problem. Thanks a tonne.
Omg I'm soooo thankful for this video, thanks soooo much Tim!! I had been searching all over the bet but then I finally stumbled across your video and it solved my problem!! Thanks sooooo muchhhh!! 🖤✨
thanks, i uninstalled python and all the time i hadnt noticed i was on the wrong version
idk what happened, but I kinda used the video, and also just did some things, and now it works lmao. Thanks for te video! Would never have got it working without it.
You're the 🐐
I've had sleepless nights over this
Thanks man
2 hours wasted untill Ive got this video !! thx mate
You saved me I can now graduate finally😀
Ok so I don't know if this will work for anyone else because I'm still a beginner, however if you type import *software here* and get the error message you can click the red circle on the top right which will point out there is no module under that name which will show up at the bottom which you can then right click and open a menu from this select quick fixes next to the lightbulb and then select the "Install package *software name*
Been trying to make this work for hours, thanks
Hi. To all those who are facing the error "This app can't run on your PC. To find a version for your PC, check with the software publisher", - try following these steps:
1. Before clicking the download option for pycharm from jetbrains, select ".exe (Windows)" from the drop-down menu
2. Then proceed with normal installation