How to Fix "No Module Named..." Error in Python | Python Tutorial

Поділитися
Вставка

КОМЕНТАРІ • 599

  • @philparisi_
    @philparisi_  2 роки тому +4

    No module named SEABORN ua-cam.com/video/O3QWgpkR23s/v-deo.html
    No module named MATPLOTLIB ua-cam.com/video/xdRSuuO-7Ps/v-deo.html
    No module named PANDAS ua-cam.com/video/nd5IbIPTXxA/v-deo.html
    No module named NUMPY ua-cam.com/video/vIR6utJ7S4U/v-deo.html
    No module named SKLEARN ua-cam.com/video/aelHmjwETqU/v-deo.html

  • @gabrielgarcia7554
    @gabrielgarcia7554 2 роки тому +23

    For others that are still having the error, the problem is that you could have selected the wrong interpreter. I highly recommend the video: "Selecting the correct Python interpreter in VSCode's Python Extension" that goes over on how to solve the issue. While the YT channel uses a Mac, the same exact process can occur with a Windows PC.

    • @philparisi_
      @philparisi_  2 роки тому +5

      Gabriel, this is excellently written. Thank you for sharing so others will be able to benefit from your experience! Have a good one.

    • @katiak74
      @katiak74 2 роки тому +4

      You save me today! Loosing hours trying to fix it. Super thanks!

    • @philparisi_
      @philparisi_  2 роки тому +4

      @@katiak74 woop woop glad to hear it Katiak!! Have a great day!

    • @rabiukhalid3907
      @rabiukhalid3907 2 роки тому

      Thanks so very much man. This was the problem I was facing.

    • @fzf404
      @fzf404 2 роки тому

      What if it still occurs in cmd?

  • @jameswaweru5234
    @jameswaweru5234 3 роки тому +41

    2 minutes into the video and I had already solved my problem. You sir, are a lifesaver!

    • @philparisi_
      @philparisi_  3 роки тому

      @james woohoo glad it worked for ya! Thank you for watching!

  • @glacialyx
    @glacialyx 2 роки тому +4

    FIX THAT WORKED FOR ME: when creating a new project in Pycharm you need to check the box that says 'inherit global site-packages'. Making a new project and choosing that option fixed the problem for me (if you have some files in your current project, make a new project as I explained above and move the files into the new project). If it doesn't work try restarting your pc. Hope this helps

    • @philparisi_
      @philparisi_  2 роки тому

      Thanks for adding this Glacialyx! Happy coding :)

  • @pointblank722
    @pointblank722 Рік тому +2

    I get the same error but when I want to install is says "Requirement already satisfied:xxx"
    So I can not use the modules that I installed

    • @philparisi_
      @philparisi_  Рік тому

      Are you using an IDE? What may be happening is that you have the packes on your computer, but the IDE can’t find em.
      Try googling how to install packages for your specific IDE!

  • @billyparham630
    @billyparham630 2 роки тому +1

    one minute in, problem solved. my problem was i installed the packages via terminal that was external to pycharm, the mac terminal. once i installed the packages via terminal in the pycharm bottom bar, they were instantly recognized. thank you so much, Phil!

    • @philparisi_
      @philparisi_  2 роки тому

      This is the best news I’ve heard all day! Glad it worked for you Impertiv XVII, have a great weekend!

  • @VtojeC
    @VtojeC 2 роки тому +2

    Thank you sir. I was getting depressed or frustrated more than ever by that error message. I tried everything, even reading weird-ass topics on StackOverflow I couldn't even understand. This whole problem was a real pan in the ass. I somehow repaired it using the last method, by adding a python to the path manually as by CMD it just didn't do a job. When I didnt have a required 'import' I was clicking a red bulb in PyCharm and installing missing modules by that, instead of pip. This is because it worked for some time while pip was installing stuff, but system was not able to see installed things at all.
    Now, after so much wasted time, I am terrified to modify anything, because I'm scared I will have to go through it once again. I really hope that stuff won't show up again. Thank you for helping me. I am really grateful. It may sound stupid, but looks like you saved my future, heh.

    • @philparisi_
      @philparisi_  2 роки тому +1

      Hi Visione, I am so glad that I could save you from the Hell that installing packages in Python can be. Especially if you’re new, it can be super confusing as many online sources do not teach this part of the language well. Do not worry and think your troubles are because you are inadequate - this video have 200,000+ views for a reason!!
      There’s a saying I really like that applies here: “Everything is faster the second time.” Resetting everything up may seem scary, but I believe in you! If you are concerned, try something simple, like replicating the PyCharm project you are currently using (and keep your current one as a backup!).
      You got this, keep going strong and things will be easier 🙌🏽🙌🏽

  • @ragemax8852
    @ragemax8852 6 місяців тому +1

    Okay, that last one worked going into the variables to edit in that command, so I would suggest people do that first then go back into command prompt to enter that path in. Thank you for the help, Phil!

    • @philparisi_
      @philparisi_  6 місяців тому

      Awesome, thank you for the feedback!!

  • @tung1411
    @tung1411 2 роки тому +1

    Wasted hours surfing Google and try several solutions but failed. Finally, you save me. Thank you so much.

    • @philparisi_
      @philparisi_  2 роки тому +1

      This is so great to hear Tung Le :) sorry you had a hard time with this issue, but I’m thrilled it is fixed!

  • @apoorvthedude
    @apoorvthedude 3 роки тому +1

    Hi,I have installed it,but in my VScode it is showing Importe error no module name pywhatkit.I opened python idle,wrote import pywhatkit error showing there to.Help me

    • @apoorvthedude
      @apoorvthedude 3 роки тому

      After writing pywhatkit --version,showing pywhatkit: command not found.

    • @philparisi_
      @philparisi_  3 роки тому

      Hey Apoorv, if you are getting the error in both VS code and in IDLE then the package has not been installed yet on your machine at all!
      Try running: pip3 install pywhatkit
      in a terminal!

    • @apoorvthedude
      @apoorvthedude 3 роки тому

      @@philparisi_ Hi Phils,when i installed pywhatkit using terminal,it downloaded but after checking its version by pywhatkit --version.Command not found is showing.
      Plus in vscode the code is running if i type python3 file_name.py.
      I am using ubuntu

    • @apoorvthedude
      @apoorvthedude 3 роки тому

      Why in vscode by clicking on run code button code is not running,plus why command not found is showing after checking its version.
      I typed in terminal:
      pip3 install pywhatkit to download it.

    • @philparisi_
      @philparisi_  3 роки тому

      @@apoorvthedude I am losing track a bit of what the error is, but to check your versions of installed python packages run:
      pip freeze
      or
      pip3 freeze

  • @sagarjainmp
    @sagarjainmp 3 роки тому +1

    Spent hours trying to fix the problem: "ModuleNotFoundError: No module named openpyxl". And I then was able to fix it by just watching the first 35 seconds of this video. Man, you are awesome!

    • @philparisi_
      @philparisi_  3 роки тому +1

      Sweeeet happy it worked Sagar! Have an awesome week.

  • @NCR_22
    @NCR_22 2 роки тому +5

    I was trying to fix it for like a hour and a half, following some tutorials, but didn't work, but suddenly found your tutorial, and finally I was able to fix it. It was in the last way you showed, which I hadn't seen before, so thank you so much!

    • @philparisi_
      @philparisi_  2 роки тому +1

      Heck yeah NCR, glad it finally worked out for you! Happy programming - cheers!!

  • @ashishbohara9151
    @ashishbohara9151 2 роки тому +1

    Sir while I install requirements there is no error but when I run the demo code I get error matplotlib not found
    I tried installing Microsoft vs tools but still same

    • @philparisi_
      @philparisi_  2 роки тому

      Hi Ashish, are you using an IDE or straight from command line? Check out a couple of the below comment threads, there are a few very productive conversations about your exact issue!

    • @ashishbohara9151
      @ashishbohara9151 2 роки тому

      @@philparisi_ pls can u solve my problem and provide me a solution

    • @philparisi_
      @philparisi_  2 роки тому

      @@ashishbohara9151 it is hard to solve your problem without more information. Are you using an IDE or straight from command line?
      1.) Open up your command line
      2.) type: python
      3.) type: import package_name
      Does that work? If it does work, then the problem is with your IDE.

    • @ashishbohara9151
      @ashishbohara9151 2 роки тому

      @@philparisi_ yes it works

    • @ashishbohara9151
      @ashishbohara9151 2 роки тому

      @@philparisi_ I m using vscode

  • @arifabdi5220
    @arifabdi5220 2 роки тому +1

    just using "terminal" and it work. my 2hours searching to fix the problem. thanks a lot sir apreciate

    • @philparisi_
      @philparisi_  2 роки тому

      Perfect Arif! Glad it could solve your problem. Have a great week.

  • @ludmiladias9346
    @ludmiladias9346 2 роки тому +1

    MOÇO OBRIGADA SÉRIO, EU TAVA SURTANDO JÁ AQUI, EU TENTEI DE TUDO. JÁ TINHA FEITO OS PRIMEIROS MÉTODOS AI FIZ OS DOIS ÚLTIMOS E OIA DEU CERTO!!!! MEO DEOS Q ALEGRIA. EU TAVA ENTRANDO EM DEPRESSÃO JÁ. OBRIGADA MOÇO VC LACROU.

    • @philparisi_
      @philparisi_  2 роки тому

      excelente! feliz por poder ajudar. a programação deve ser alegre, não deprimente!

  • @aleksanderklimczyk7879
    @aleksanderklimczyk7879 3 роки тому +2

    Bro please help... so I need to import numpy, when I do pip3 install numpy, I get a message saying 'Requirement already satisfied:', but when I try to import numpy in a python file, I still get an error saying numpy module not found.

    • @philparisi_
      @philparisi_  3 роки тому +1

      Hi Aleksander, ok let's try a few things (I also recommended peeking at some of the other comment threads).
      Open up IDLE and 'import numpy'. Does that succeed? If so your problem is with the IDE.
      Also, what IDE are you using? If it's PyCharm, start a new project and check the box in the popup window that says to import all packages.
      Also try creating a python script with a simple .txt file saved as 'testing.py'. Add a line that says 'import numpy' at the top and try running that testing.py file form your command line!

    • @aleksanderklimczyk7879
      @aleksanderklimczyk7879 3 роки тому +1

      @@philparisi_ Hello, thanks for the help, however, I fixed my problem about an hour or two after I asked my question. The answer to my problem came to me via the same way I usually get my answers; A random Indian dude on UA-cam lol. Incase anyone has the same problem as me, watch this video: ua-cam.com/video/ZIXYJU6AZvE/v-deo.html

  • @lordstinson8095
    @lordstinson8095 3 роки тому +3

    The problem I'm facing is that I've installed a module 'editdistance' using pip, but I'm still getting the "module not found" error in my jupyter notebook. The module shows up in `pip list` too. What could be the problem?

    • @philparisi_
      @philparisi_  3 роки тому

      Hi Lord Stinson, I don't cover Jupyter notebooks in this video but I found this article that might help! jakevdp.github.io/blog/2017/12/05/installing-python-packages-from-jupyter/

    • @philparisi_
      @philparisi_  3 роки тому

      This too www.msi.umn.edu/support/faq/how-do-i-install-python-packages-use-jupyter-notebooks

  • @mayoroftarkov6581
    @mayoroftarkov6581 3 роки тому +1

    DUDE I QUIT PROGRAMING 2WEEKS AGO DUE TO THIS PROBLEM BUT FOUND THIS VIDEO THANKS BRO!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! IM SUBING!

    • @philparisi_
      @philparisi_  3 роки тому

      Haha I appreciate the excitement Mayor of Tarkov! Good luck going forward and thanks for the sub :D

    • @mayoroftarkov6581
      @mayoroftarkov6581 3 роки тому +1

      @@philparisi_ :D

  • @tomasferreira3625
    @tomasferreira3625 6 місяців тому +1

    Thanks a lot, after many hours searching on how to fix No module named ... error, I finally solved it!

  • @inhwan2992
    @inhwan2992 3 роки тому +43

    Wow unbelievable. You solved my issue. I can't believe it. Thank you so much. I subscribed your channel.

    • @philparisi_
      @philparisi_  3 роки тому +1

      Hi In-Hwan Park! Thank you for the support and I'm glad I could help. Have a great weekend

    • @tylerwalters2224
      @tylerwalters2224 2 роки тому +1

      @@philparisi_ what about for BCML to Cemu?

    • @philparisi_
      @philparisi_  2 роки тому

      @@tylerwalters2224 Hey there, I haven't worked with it personally, but this should help! pypi.org/project/bcml/

    • @Imran20091990
      @Imran20091990 2 роки тому +1

      Can we use the same for python in Linux

    • @philparisi_
      @philparisi_  2 роки тому +1

      @@Imran20091990 probably, though I have not personally tested it. The PyCharm portion likely works, whereas the add to path will be different because you are no longer working with the Windows 10 GUI that I showed.

  • @naufalkhairi2076
    @naufalkhairi2076 3 роки тому +1

    Still not work for me. Always stuck at no module named appinfo. I want to back up my games in ps4. :(

    • @philparisi_
      @philparisi_  3 роки тому

      Hey Naufal, sorry to hear that. Can you tell me what OS you are using? Have you tried both an IDE and using IDLE?

    • @naufalkhairi2076
      @naufalkhairi2076 3 роки тому

      @@philparisi_ i using windows 7.
      Yup i follow step 1-4 and still not work.

    • @philparisi_
      @philparisi_  3 роки тому

      @@naufalkhairi2076 Hmmm this is odd. You can try uninstalling python and re-installing an older version. Maybe there are subtle incompatibilities with Win7, or something went wrong with your install. ua-cam.com/video/wEu-OCpy-9o/v-deo.html
      What version of python do you have? Are you able to type 'python' in your WIN7 command line?

    • @naufalkhairi2076
      @naufalkhairi2076 3 роки тому +1

      @@philparisi_ done! After i change to another laptop with windows 10. Lol 🤣 thanks for your reply.

    • @philparisi_
      @philparisi_  3 роки тому

      @@naufalkhairi2076 haha yeah WIN7 is old!! nice work solving it, maybe I should add that as a tip - use an OS that was developed in the last decade lol!

  • @neatdesign78
    @neatdesign78 2 місяці тому +1

    It worked, thanks Phil, I had an issue with installing pystray.

    • @philparisi_
      @philparisi_  Місяць тому +1

      Awesome, thanks for reporting the success!

  • @aditimishra6531
    @aditimishra6531 Рік тому +1

    i watched million of videos but this one solved the problem in a jiffy. Nailed it man. Thanks

    • @philparisi_
      @philparisi_  Рік тому

      Let‘s goooo happy to help!!! Have a good one!

  • @MidranKidran
    @MidranKidran 3 роки тому +3

    Thanks man, I was searching for like 2 hours and nothing helped but thanks to this video it works. I started learning Python yesterday and wanted to try out something new but the modules not working was a roadblock.

    • @philparisi_
      @philparisi_  3 роки тому +1

      Hi Midran, starting off can be a drag! That's why I make videos... to hopefully help the next programming and some you some time! Feel free to subscribe if you're interested in more tips down the road! Thanks for watching :)

  • @lonelomessi
    @lonelomessi 2 роки тому +4

    I swear I was about a minute away from losing it, thank you so much for this...

    • @philparisi_
      @philparisi_  2 роки тому +1

      Ah man, classic. We've all been there. Glad I could help Al. Have a good one!

  • @zeo4481
    @zeo4481 2 роки тому +2

    I'm having an issue.
    I'm trying to install torch and torchvision(trying to get ,,Stable Diffusion" working on my device) and it's returning me Error code 1 :
    "python.exe: No module named pip"
    That is very weird considering i have executed: "py -m ensurepip --upgrade "
    on my command prompt after turning off anti-virus and can clearly see it in my scripts for my Python version (im on 3.9.0)
    I have set it as PATH so i have no possible idea why it still doesn't recognize it. Help!

    • @philparisi_
      @philparisi_  2 роки тому

      Hi ZEO, dang you are in it deep! Been there haha.
      Ok, do the steps in this 3min video (and replace numpy with your package) and let me know what you get. Back up and don‘t do anything with IDE‘s if you haven‘t already.
      ua-cam.com/video/vIR6utJ7S4U/v-deo.html
      Let me know what the results are from that video!

  • @ToribieHaqi
    @ToribieHaqi 3 роки тому +4

    u saved my life bro! i thought i will never code again

    • @philparisi_
      @philparisi_  3 роки тому

      Toribie I am glad you are sticking with it :D

  • @carnageofficial9691
    @carnageofficial9691 3 роки тому

    i tried this solution from youtubers having million of subscribers...none of them worked...you did it bro...thank you so much

    • @philparisi_
      @philparisi_  3 роки тому

      Hi Team CrYsis! Thank you for your kind comment. Happy to be helping programmers like yourself! Have an awesome week.

  • @secilozeek
    @secilozeek 3 роки тому +5

    ALLAH YOLUNU AÇIK ETSİN İNŞALLAH BU MÜBAREK RAMAZAN AYINDA YÜZÜMÜ GÜLDÜRDÜN...

    • @philparisi_
      @philparisi_  3 роки тому

      TEŞEKKÜRLER, GELMEK İÇİN YILLARCA ŞANSLAR Dİ

  • @mlocverm
    @mlocverm 3 роки тому +1

    working! thanks :>
    has been struggle with for making discord for more than 1 hour, and this video really helped me! thankyou very much!

    • @philparisi_
      @philparisi_  3 роки тому +1

      Awesome! Happy programming!

    • @mlocverm
      @mlocverm 3 роки тому

      thankyou! have a nice day! :D

  • @YobinBobinBlin
    @YobinBobinBlin 2 роки тому +1

    wow ur goddamn genius! If python can't locate your library then install it trough pip. If python can't locate your library then install it trough pip.

    • @philparisi_
      @philparisi_  2 роки тому

      Happy to help and best of luck with your project!

  • @GQElvie
    @GQElvie 3 роки тому +1

    ok, so I am still trying to get this. you mention that if you are having trouble importing, it is because what you are trying to import is not installed. but what if it IS installed (i verified several times), and you get the error message, "no module named......" so, in pycharm, I type, import pystan, and I get this error message. ModuleNotFoundError: No module named 'pystan'

    • @philparisi_
      @philparisi_  3 роки тому

      Hi Rock on Forever, this may be a result of the package not be loaded in the PyCharm virtual environment.
      Here is what I recommend:
      1. open up IDLE. run 'import pystan'
      If that works, the package is installed on your PC.
      2. I have a video on packages in PyCharm ua-cam.com/video/zCO3KxV2zPI/v-deo.html watch that and try using the PyCharm package GUI to get that package working!
      -Phil

  • @SuperMihalaras
    @SuperMihalaras 3 роки тому +2

    Although i installed the modules that i want, my VS code keeps not recognizing the modules i import! I dont know what else i can do.. I would appreciate a lot some help

    • @philparisi_
      @philparisi_  3 роки тому

      Hi Mihalaras, interesting error. First, open Python IDLE and try running the import command. If that command is successful, then you know the problem is strictly within VS code (in which case, try creating a new project or file and start fresh).
      If the import command fails in IDLE then you know it is an issue with the package not being on your computer, try pip3 install again!

    • @SuperMihalaras
      @SuperMihalaras 3 роки тому +1

      @@philparisi_ Thank you very much for your answer and the time you took to solve my problem. I really appreciate it. After trying so many solutions i managed to get it work by creating and setting up the virual environment that i want on conda prompt and not from inside the vs code's terminal. After this vs code seemed to work fine! Thank you again and keep up the great work! :D

    • @philparisi_
      @philparisi_  3 роки тому +1

      @@SuperMihalaras Awesome! Great troubleshooting skills. Good luck with your project :)

  • @shreyamkumar7210
    @shreyamkumar7210 3 роки тому +2

    I have another problem i have installed the module but also it gives
    Me error no module name.....
    And i am using vs code please answer me what to do

    • @philparisi_
      @philparisi_  3 роки тому

      Hi Deathstroke - try opening up IDLE and running the import command. If that works, then it's your virtual environment within VS code that's tripping you up on. In that case, try creating a new project and be sure to import 'all system packages'.
      Sometimes, the existing projects won't be able to find new packages the we pip install.
      Let me know if that helps!

  • @fma-d8j
    @fma-d8j 2 роки тому +2

    Hey, Thanks for the Video. Could you please help me with this error " No module named ROOT"

    • @philparisi_
      @philparisi_  2 роки тому +1

      Hi Fatemeh, looks like you are having troubles installing the package ROOT with your current Python version.
      try:
      pip install ROOT
      pip3 install ROOT
      if both those fail, then the Python version you have is incompatible with the ROOT package. Check out the ROOT package documentation for more root.cern/manual/python/ [on the off chance the pip installs worked, then you should be good to use 'import ROOT' in your Python scripts]
      Here is a Stack Overflow solution to a similar problem stackoverflow.com/questions/48720833/could-not-find-a-version-that-satisfies-the-requirement-tensorflow
      Typically, to deal with these version requirements, you can setup a virtual environment in Python that uses a specific version of Python. I know this may seem complex, but I believe in you Fatemeh! One problem at a time :)

    • @fma-d8j
      @fma-d8j 2 роки тому +2

      @@philparisi_ Thank you very much. I really appreciate it

  • @laumichael1038
    @laumichael1038 2 роки тому +1

    God thank you!! I finally found what they called terminal in pycharm. I have done installing in windows terminal and check it over and over again about PyPDF2 but no help with my pycharm code. That is weird pycharm is stand alone with Python! 🤣🤣

    • @philparisi_
      @philparisi_  2 роки тому

      Haha happy this helped you through it, Lau! It can be pretty painful starting up so I’m glad you are pushing through it :)

  • @senshun.5384
    @senshun.5384 3 роки тому +6

    YO THIS ACTUALLY SOLVED MY PROBLEM THANK YOU SO MUCH!!

    • @philparisi_
      @philparisi_  3 роки тому +1

      Awesome! Glad it worked for you Senshun.

  • @rajeshn8751
    @rajeshn8751 2 роки тому +1

    Mate getting No Module named requests, though I have installed it multiple times using ConEmu, and through Pycharm (where I can clearly see it) uninstalled all Pycharm, python and all the jing-bangs... nothing seem to work... any help mate.... also want to know when I use ConEmu it always points to C:]Python35 while I have installed 3.10. How do I change the path both in Pycharm and ConEmu to point to the right installation directory... sorry if this is a stupid question, but just a beginner question mate... great video by the way... I learn to install packages through Pycharm....

    • @philparisi_
      @philparisi_  2 роки тому

      Hey Rajesh, sorry you’re still having troubles. Ive never used ConEmu before, but in general I like to work back to the basics to get things working and then use more advanced software after.
      The pointing to the wrong Python version is a real problem you need to fix. Idk about ConEmu, but in Pycharm you can select the Python version when you start a new project as well as when you are editing a configuration to run a specific file.
      Try watching this video and get the sample.py working ua-cam.com/video/nd5IbIPTXxA/v-deo.html&feature=share&EKLEiJECCKjOmKnC5IiRIQ
      This gives you a sanity check that you can in fact run a script successfully with ‘import module’. Then, try to replicate that video with the package you are using. Then, get it working in Pycharm. Then, go into ConEmu.

  • @rokayabenjeddou6693
    @rokayabenjeddou6693 Рік тому +1

    Think you very much, it is very useful for me and solved my pb; now I can easily use the package pyDecision

    • @philparisi_
      @philparisi_  Рік тому

      Awesome! Happy to hear it worked for you - happy coding :)

  • @Arvind__-wu6zv
    @Arvind__-wu6zv 3 роки тому +2

    I'm facing an error importing functions from another python program even when they are in same folder.
    could you suggest a solution

    • @philparisi_
      @philparisi_  3 роки тому

      Hi Arvind, I'll help as much as I can! Are you importing function from another package or calling another .py file? I'm assuming you are have something like 'from import ' ? What is the exact error message?
      Have you following all the steps in this video for installing the ? Are you able to run import without error?

    • @Arvind__-wu6zv
      @Arvind__-wu6zv 3 роки тому +1

      @@philparisi_ I'm actually importing from another .py file

    • @philparisi_
      @philparisi_  3 роки тому +1

      @@Arvind__-wu6zv ahh ok. Not my area of expertise, but I did find this which might help: stackoverflow.com/questions/2349991/how-to-import-other-python-files

  • @veltinius
    @veltinius 2 роки тому +4

    Thank you! Since I'm a beginner, such problems are really hard to solve for me, but this tutorial is amazing and helped me a lot!

    • @philparisi_
      @philparisi_  2 роки тому

      Glad I could you out, Bread! I made this channel for that exact reason, helping beginners. Been there many times, keep up the great work!

  • @piyushharsh01
    @piyushharsh01 2 роки тому +1

    ModuleNotFoundError: No module named 'urllib.parse'; 'urllib' is not a package
    I am encountering this problem, I have set the environment variable and have installed urllib3 library, but still same error. Could please help?

    • @philparisi_
      @philparisi_  2 роки тому

      Hi Piyush, what lines of code are you running that prompt this error?

  • @Shawcomedy
    @Shawcomedy Рік тому +1

    2 minutes into the video solved my problem, Thankyou!!

  • @zakaria2274
    @zakaria2274 3 роки тому +1

    30 seconds and i found my solution
    U R A CHAMP

    • @philparisi_
      @philparisi_  3 роки тому

      Hahah awesome to hear Zakaria!! Comments like these help the channel grow - I appreciate the support :)

  • @ven._._.
    @ven._._. 2 роки тому +1

    it works on vs and others programs but when i enter it on the windows terminal it says that the module cant be found?

    • @philparisi_
      @philparisi_  2 роки тому

      Hey there, when you do the windows terminal be sure to run two commands:
      python
      import package

  • @neginsalari8
    @neginsalari8 2 роки тому +1

    the best video that I could find on youtube about this topic, thx bro

    • @philparisi_
      @philparisi_  2 роки тому

      Thanks Negin! Glad you found this useful. I wish you best on your future programming endeavors :)

  • @hhelpinghands-dotcom2194
    @hhelpinghands-dotcom2194 2 роки тому +1

    hey sir I'm using python3.9 and I have installed colorama successfully, i can see it through pip list, but when i ran a code, which is actually importing colorama, it says, no module named colorama. After which i tried again to install it but it says the requirement already satisfied, but the no module error persists. help me please.

    • @philparisi_
      @philparisi_  2 роки тому +1

      Hi there, try opening a command line, typing 'python', then 'import colorama' (or whatever the package name is). If that works, then you have the package. If it does not work, the issue is with the IDE you are using.
      Follow this but replace 'sklearn' with your package name: ua-cam.com/video/O3QWgpkR23s/v-deo.html

    • @hhelpinghands-dotcom2194
      @hhelpinghands-dotcom2194 2 роки тому

      @@philparisi_ all the packages are installed and all are showing in the list after 'pip list' command! But this the error is coming! And I tried to run my code from the command prompt too, still the issue is there!
      Error: no module name colorama
      After trying with 'pip3 install colorama'
      It appears 'the requirement already satisfied'
      And the again, the error comes 'no module named colorama'
      Don't know what to do! 😢
      By the, I am trying to run the hashlips, bulk NFTs uploader to opensea python script

  • @boboscurse4130
    @boboscurse4130 Рік тому +1

    Running from the CMD, I get "Defaulting to user installation because normal site-packages is not writeable" Driving me nuts

    • @philparisi_
      @philparisi_  Рік тому

      Hi there, check this out as it should help bobbyhadz.com/blog/python-defaulting-to-user-installation-because-normal-site-packages-is-not-writable

  • @mateusbalotin7247
    @mateusbalotin7247 2 роки тому +1

    Thank you!! Hope you have a great week!!!

    • @philparisi_
      @philparisi_  2 роки тому

      Hi Mateus, thank you! You enjoy the week as well :)

  • @dhanushbhargav7865
    @dhanushbhargav7865 2 роки тому +1

    “Cryptography fernet module not found”
    Tried installing pip3 install cryptography
    But then, no use can you help me?

    • @philparisi_
      @philparisi_  2 роки тому

      Hi dhanush, open up a command line and type: pip3 install cryptography
      Does that work? I was able to run it fine on my system.
      Also, are you using an IDE like PyCharm or something else?

  • @UmmairRadi
    @UmmairRadi 3 роки тому +1

    I am trying to run web3 from a virtual environment. everything is installed but i keep getting this error "ModuleNotFoundError: No module named 'web3'". it's working fine if ran from the terminal using "Pipenv run python app.py" but can't run it from VS code. The interpreter is set to env so no problem with that, any fix?

    • @philparisi_
      @philparisi_  3 роки тому

      Hi Ummair, it's hard for me to point at the error in your case as I haven't tried this out in VScode before. Is the error affecting only one package and not the others? Try installing and importing a new package and see if that also throws an error. Also try uninstalling and reinstalling the package, and make sure VS code is pointing to the right environment.
      Best of luck - if you solve it please post here to help others with a similar issue!

  • @juanpablohorn6642
    @juanpablohorn6642 3 роки тому +1

    I'm not sure why, but none of the methods showed on your video worked for me. I'mnot sure if its the module I'm trying to import. In my case, I'm importing openpyxl. What else could be wrong?

    • @philparisi_
      @philparisi_  3 роки тому

      Hi Juan, what is the exact error you are getting? The import error one?
      Try opening up IDLE and running import openpyxl. If that works then the package is on your system but not in whatever IDE you are using.

    • @juanpablohorn6642
      @juanpablohorn6642 3 роки тому

      @@philparisi_ Hello Phils! This is my code. It is a very simple one:
      import openpyxl
      book = openpyxl.load_workbook(r'C:\Users\Juan Pablo Horn\Dropbox\Excel Macro Mastery\How to Replace VBA with Python(Step-By-Step Tutorial)\marks.xlsx')
      sheet=book["Sheet1"]
      print(sheet["B3"].value)
      sheet("G2")="Hello there"
      book.save(r'C:\Users\Juan Pablo Horn\Dropbox\Excel Macro Mastery\How to Replace VBA with Python(Step-By-Step Tutorial)\marks.xlsx')
      And this is what the output windows says:
      [Running] python -u "c:\Users\Juan Pablo Horn\Dropbox\Excel Macro Mastery\How to Replace VBA with Python(Step-By-Step Tutorial)\First.py"
      File "c:\Users\Juan Pablo Horn\Dropbox\Excel Macro Mastery\How to Replace VBA with Python(Step-By-Step Tutorial)\First.py", line 15
      sheet("G2")="Hello there"
      ^
      SyntaxError: cannot assign to function call
      [Done] exited with code=1 in 0.088 seconds
      Do you know what might be wrong?

  • @Richard-zb3sy
    @Richard-zb3sy 2 роки тому +1

    Mine still gives ModuleNotFoundError when running from CMD, even though it works perfect in pycharm, followed all steps in the video... I'm stuck!

    • @philparisi_
      @philparisi_  2 роки тому

      Hi Richard, that's odd to hear it work in pycharm but not in cmd...
      If you would...
      open cmd
      run pip3 install package_name
      ^ does that give you the error?
      then run
      python
      import package_name
      ^ or does that give you the error?

  • @GeometryJosh13
    @GeometryJosh13 Рік тому +1

    when i typed pip3 install freegames it got installed but when i run the code i still get an error

    • @philparisi_
      @philparisi_  Рік тому

      Check to see if you can import the package in a terminal / command window. If that is successful, then the package is installed correctly AND it’s the IDE you’re using that’s the problem. Be sure to install the package in the IDE as well, or ensure the IDE is inheriting all packages on your system.

  • @Wilson._.Diaz._.
    @Wilson._.Diaz._. 3 роки тому +1

    Hi.. i give you one more option. I had all this things right including all path. But i had more than one vertion of python. So the simple solution was eliminate the other vertions and keep the last one. Then VS Code get confused and ask me where is my interpreter, so i select the last vertion (and the onlyone i keep).

    • @philparisi_
      @philparisi_  3 роки тому +1

      Wilson, thank you for this! Great insight.
      Instead of getting rid of the other version (while easiest), you could use an IDE such as PyCharm and select the interpreter of whichever version you want to use. That creates a 'virtual environment' that only runs using that one interpreter.

  • @santoshram8797
    @santoshram8797 3 роки тому +1

    Sir, i have installed Pyqt5 and tools, but when i write
    From pyqt5.qtwidgets import Qapplication
    Then it cant import q application Qapplication is correctly installed and i have also checked the code

    • @philparisi_
      @philparisi_  3 роки тому

      Hi Santosh - thank you for reaching out. It sounds like you have the package Pyqt5 installed correctly. Do you see any errors when you run: import pyqt5?
      If not, then your package is installed correctly. If you are only receiving an error when you run the 'from / import' command, it is likely an error in what you are specifying in the from and import statement.
      What I mean, is maybe the proper way to import, would be 'from pyqt5 import qapplication' or some variety thereof. Check the documentation for pyqt5 and see what the proper import method is! Let me know how it goes.

  • @RashmiSharma-gf7vs
    @RashmiSharma-gf7vs 3 роки тому +2

    Thanku so so much this helped me 😁😁😁.I tried so many tutorials none helped and I was exhausted but this helped thanku so much

    • @philparisi_
      @philparisi_  3 роки тому +1

      Woohoo glad it helped Rashmi! Have a great day!

  • @mike8516
    @mike8516 3 роки тому +2

    You legend!!!!!!!!!! Been searching for a fix for hours!!!

    • @philparisi_
      @philparisi_  3 роки тому

      Mike! Thank you commenting haha, this made my day. Have a good one!

  • @ashishgudhekar3045
    @ashishgudhekar3045 Рік тому +1

    from intertoos import islice
    output:
    from itertools import islice ModuleNotFoundError: No module named 'itertools'
    what should i do

    • @philparisi_
      @philparisi_  Рік тому

      Open a command terminal, and „import itertools“
      Then in your script try just, „import itertools“.
      If that works, try „from itertools import islice“

  • @nessajordyn
    @nessajordyn 2 роки тому +1

    Hey, this didn't work for me. I need help. ): I'm trying to do "from graphics import * did the first step and nothing. I missed only one of my CS labs for school and now I'm all sorts of behind ahh

    • @philparisi_
      @philparisi_  2 роки тому

      Hi Manessa! Happy to help.
      graphics.py is a special case! It is not a downloadable package using pip nor is part of the python base installation. Instead, download this file: mcsp.wartburg.edu/zelle/python/graphics.py (or copy the contents into a file called graphics.py).
      Put that graphics.py file in the SAME FOLDER as your current_script.py. Then, your 'from graphics import *' should work in your current_script.py.
      Let me know if that works for you!

  • @oksowhat
    @oksowhat 2 роки тому +1

    hi there, i had this roblem of module not found after converting it into a .exe , the pop up gives this error that module not found

    • @philparisi_
      @philparisi_  2 роки тому

      Hello Tree, what exactly did you convert to an .exe? Your python script?

  • @WilloooIsBlue
    @WilloooIsBlue 3 роки тому +5

    Thanks dude this helped out a ton. You're a legend

    • @philparisi_
      @philparisi_  3 роки тому

      Hi Willooo I appreciate the kind words! Happy Programming!

  • @GabiPlastina
    @GabiPlastina 2 роки тому +1

    ERROR: Could not find a version that satisfies the requirement familia (from versions: none)
    ERROR: No matching distribution found for familia
    alguien podria ayudarme? Me da ese error

    • @philparisi_
      @philparisi_  2 роки тому

      Buenos diss Gabi, it sounds like there is a problem with the package you installed. Look up the package‘s documentation for how to properly install and import into a script!

  • @maisylane8810
    @maisylane8810 3 роки тому +1

    hey, im literally so stuck. i have my python installed but im running in a powershell and not the command prompt. in the powershell i put;; pip 3 install discord, and it says that i have installed it. but, when i go to run my code in python it says that it cant find discord. but my command prompt wont download pip 3!! please help

    • @philparisi_
      @philparisi_  3 роки тому

      Hi Maisy! Ugh, I remember being there when I started in Python.
      You are using powershell. Any particular reason?
      Python seems to have the package called 'discord', that's good. The issue you are facing may be because the package is installed on your system and not in your virtual environment. Here is a video I made on virtual environments which will help: ua-cam.com/video/zCO3KxV2zPI/v-deo.html
      This begs the question: how are you running scripts? Are you using an IDE or simply executing line-by-line in IDLE? try running 'import discord' in IDLE, or putting it as the first line of a script if you are using an IDE. Does 'import discord' throw an error?
      Regarding the pip3 download, what version of python are you running? If you were able to run pip3 install discord, then pip3 is likely already on your computer. Here is a python download tutorial which may help as well: ua-cam.com/video/wEu-OCpy-9o/v-deo.html
      I hope some of this can help! Please let me know.

  • @shibasheikh6183
    @shibasheikh6183 11 місяців тому +1

    Hi , i am receiving this error for cumulusci ..but the thing is i already have installed cumulusci still receiving this no module name cumulusci
    Anyone can help?

    • @philparisi_
      @philparisi_  11 місяців тому

      Hey there Shiba, hmm this is odd to hear!!
      I opened a terminal, ran
      - pip3 install cumulusci
      - python
      - import cumulusci
      And it worked!
      To me, this means you‘re using an IDE or virtual environment that doesn‘t have the package installed (even though the package is installed on your machine). Try checking what packages are installed in your IDE!

  • @NganHuynh-lr1zi
    @NganHuynh-lr1zi 3 роки тому +1

    hi, i have 1 error which is ModuleNotFoundError: No module named 'encodings'. after pip install encodings still no error. Someone know how to solve it please help me. Thank you very much

    • @philparisi_
      @philparisi_  3 роки тому

      Hi Ngan, ok let's try a few things (I also recommended peeking at some of the other comment threads).
      Open up IDLE and 'import encodings'. Does that succeed? If so your problem is with the IDE.
      Also, what IDE are you using? If it's PyCharm, start a new project and check the box in the popup window that says to import all packages.
      Also try creating a python script with a simple .txt file saved as 'testing.py'. Add a line that says 'import numpy' at the top and try running that testing.py file form your command line!

  • @sujeet2555
    @sujeet2555 Рік тому +1

    Getting error " ModuleNotFoundError: No module named 'insightface", i have already installed it as i am getting messaged "Requirement already satisfied: six>=1.5 in c:\users\sujeet\appdata\local\programs\python\python311\lib\site-packages (from python-dateutil>=2.7->matplotlib->insightface) (1.16.0)". i am a newbie to python please help. getting error in stable diffusion installed on other drive .

    • @philparisi_
      @philparisi_  Рік тому

      Hi there, it sounds like the package is installed on your system, which is good! If you are using an IDE or virtual environment then you also need to ‘install’ the package there as well.
      Can you tell me more about your setup?

    • @sujeet2555
      @sujeet2555 Рік тому

      @@philparisi_ i think i got the issue but have to test it as i am away right now. The problem is python is installed twice. One is from python website and another that is in stable diffusion folder itself. I am installing the module and it is getting installed in other python directory not in stable diffusion one.. Should i uninstall the python and keep the stable diffusion's python? Or any other like adding path.. I want to keep it simple.

    • @philparisi_
      @philparisi_  Рік тому

      @@sujeet2555 Hmmm I haven't worked directly with stable diffusion, but I imagine they have some sort of virtual environment or folder where you keep your python packages organized. Look deeper into how to install packages for stable diffusion. It would be sensible that you can have a version of python working for stable diffusion and have an alternative version working on your system.

  • @nadiasafafajriani1121
    @nadiasafafajriani1121 Рік тому +1

    thanks for the video, but i still found some error. i already successfully pip3 install pyfirmata, but it still appear No module named pyfirmata, help me please (im using spyder IDE on windows)

    • @philparisi_
      @philparisi_  Рік тому

      Hmm yes a number of people have had the same issue with Spyder. I’d suggest looking into how Spyder brings in packages on your computer and how they recommend importing / installing packages. They’re a unique software that tends to give some trouble.

  • @wilbourneftdrakevevos9868
    @wilbourneftdrakevevos9868 2 роки тому +1

    No matching distribution found for configparser-using kali trying to install configparser if you cound know how to remove older python versions without breaking my system i will appreciate i have tried but it breaks my system and i have to reinstall

    • @philparisi_
      @philparisi_  2 роки тому

      Hey Wilbourne, sounds like you‘re in a pickle. Not sure what you‘ve tried yet… but can you keep that older of python on there? Then you can install a newer version on top. If you are using PyCharm, you can choose which python version/interpreter you want to use for a given project.

  • @52weekhigh11
    @52weekhigh11 3 роки тому +1

    i'm trying to install googleapiclient in Pycharm, and i tried the usual way and in the command line. I keep getting what I think is the same error in the terminal as i got in pycharm: Could not find a version that satisfies the requirement googleapiclient. Any idea where i'n going wrong? thanks.

    • @philparisi_
      @philparisi_  3 роки тому +1

      Hi 52 Week High, it sounds like googleapiclient may require a certain version of python to run. Could be older/newer than what you are running now. I suggest looking at the googleapiclient documentation and see if it indicates which versions of python it is compatible with!

    • @52weekhigh11
      @52weekhigh11 3 роки тому +1

      @@philparisi_ one weird thing just happened. I did the python --version in the terminal and it came back with 2.7.16. But I'm on a new version of python. I just got the latest version of Pycharm too. New laptop. Anyway, does that tell you anything? thanks.

    • @philparisi_
      @philparisi_  3 роки тому +1

      @@52weekhigh11 sounds like you have multiple versions of python installed! Easiest solution is to remove all versions and start fresh with a new download.
      If that's not ideal, then change the python interpreter that you are using in PyCharm. When you are a new project you can select that right away.
      Then select the newer version of python (3.8 or something) and try the import googleapiclient and see if that works!

    • @52weekhigh11
      @52weekhigh11 3 роки тому +1

      @@philparisi_ Thank you. When you. Are pips installed in folders/files or on the computer? i thought i was installing pips in each new file?

    • @philparisi_
      @philparisi_  3 роки тому +1

      @@52weekhigh11 pip3.exe and pip.exe should be in folders on your computer! This video may help in finding them ua-cam.com/video/3J96_vyfx8Y/v-deo.html

  • @its_taha1312
    @its_taha1312 3 роки тому +1

    Hey Phil, I have Spyder and I need to type a command - from selenium import web driver.
    i get the issue saying no module named 'selenium' . I went to my cmd and installed selenium and when i go back to spyder and runthe command again, it still doesn't work

    • @philparisi_
      @philparisi_  3 роки тому +1

      @Its_Taha 13 thank you for reaching out! Likely, your system now has the package selenium, but the Spyder environment hasn't updated and thus doesn't have access to selenium. I haven't used Spyder, but see if you can do either of these: 1- prompt a reload of packages the Spyder virtual environment is using, or 2- create a new project/virtual-env, bring in all system packages, then try running a simple command with selenium. Let me know if that works!

  • @fajardeh
    @fajardeh Рік тому +1

    thank you so much for this tutorial, i got problem import shap and my problem already solved.

  • @BlutreGamez108
    @BlutreGamez108 3 роки тому +1

    I have to install pygeoip package I did everything you told me but it still is showing the error! what do I do pls reply fast!

    • @philparisi_
      @philparisi_  3 роки тому

      Hi Blutre, first, open Python IDLE and try running the import command. If that command is successful, then you know the problem is strictly within VS code or whichever IDE you are using (in which case, try creating a new project or file and start fresh).
      If the import command fails in IDLE then you know it is an issue with the package not being on your computer, try pip3 install again!

  • @313bodak
    @313bodak 2 роки тому +1

    yooo thanks buddy i was creating a space invader game and it was showing it thanks my guy!

    • @philparisi_
      @philparisi_  2 роки тому

      Glad it worked FuseBuzzFart!! Space invaders is a great game 🙌🏽🙌🏽

  • @ojaswitatoppo5306
    @ojaswitatoppo5306 3 роки тому +1

    Could I use pip3 to install Fiona when geopandas is installed using conda-forge? Do I need to install both using pip3?

    • @philparisi_
      @philparisi_  3 роки тому +1

      Hi osjaswita, this is a very specific topic that I don't have direct experience in unfortunately.
      If I were you, I'd look into documentation on the packages to see what the requirements are and what needs to be installed. If that were unsuccessful, I'd simply try installing both and see if that works. If it doesn't, uninstall Fiona and try that, and so on and so on.
      You may consider starting a new virtual environment for this experimentation so you do not mess with your current environment that presumably works for your other scripts.
      Best of luck! Do let me know what you find out.

    • @ojaswitatoppo5306
      @ojaswitatoppo5306 3 роки тому

      @@philparisi_ Thank you for responding. I'll certainly follow your advice, however I uninstalled and re-installed anaconda yesterday. The command prompt is crashed. I am unable to create a new environment.
      But, I'll keep on trying until the issue is resolved.

    • @philparisi_
      @philparisi_  3 роки тому

      @@ojaswitatoppo5306 Ooof, sounds like you're in a pretty brutal place. Might take a big uninstall and re-install... Been there before (broken dependencies, and it's awful) so I feel your pain man. Good luck getting back up and running!

    • @ojaswitatoppo5306
      @ojaswitatoppo5306 3 роки тому +1

      Hey, just giving you the update. I managed to download the geopandas along with Fiona and gdal. I uninstalled conda as well as python versions. Installed python 3.8, then separately installed fiona.whl and gdal.whl versions that were compatible with each other.
      After this, I ran the pip install and everything went smoothly.

    • @philparisi_
      @philparisi_  3 роки тому +1

      @@ojaswitatoppo5306 thank you so much for following up on this!! So it seems like uninstalling and starting with a fresh slate... then grabbing the compatible fiona and gdal did the trick. Beautiful. Really appreciate you looping back. Have a great week!!

  • @thehoodshooter1985
    @thehoodshooter1985 3 роки тому +1

    Done all them steps still not working could you help me please my paths are in the right place but it's still not finding the win32api

    • @philparisi_
      @philparisi_  3 роки тому

      Hi Fruadstars, sorry to keep you waiting!
      Can you post the exact error message? Also, are you running 32bit or 64bit? Did you download the proper python (the win32api may have something to do with bit incompatibility). What OS are you running?

  • @annoyingbudd950
    @annoyingbudd950 3 роки тому +1

    Hey!! i have installed pymongo, but it still gives me error on jupyter notebook "No module named pymongo" . Can you please help me?

    • @philparisi_
      @philparisi_  3 роки тому +1

      Hi Annonying Budd, I don't cover Jupyter notebooks in this video but I found this article that might help! jakevdp.github.io/blog/2017/12/05/installing-python-packages-from-jupyter/

    • @philparisi_
      @philparisi_  3 роки тому +1

      This too www.msi.umn.edu/support/faq/how-do-i-install-python-packages-use-jupyter-notebooks

    • @annoyingbudd950
      @annoyingbudd950 3 роки тому +1

      @@philparisi_ Thanks a lot 😃

  • @QuantumInsaanEdits
    @QuantumInsaanEdits 3 роки тому +2

    can u do this video with gameobject?

    • @philparisi_
      @philparisi_  3 роки тому +1

      Hi Borish, what is the error you are receiving? The package gameobjects seems to be a bit old, you may want to consider which version of python you need for compatibility code.google.com/archive/p/gameobjects/downloads

    • @QuantumInsaanEdits
      @QuantumInsaanEdits 3 роки тому +1

      @@philparisi_ I am using python 3.6.9 i am just trying to use gameobjects for my game but the error is coming after downloading the module it still says module not found with gameobjects

    • @philparisi_
      @philparisi_  3 роки тому

      @@QuantumInsaanEdits Ok, after downloading the package, are you able to do 'import gameobjects' in Python IDLE?
      If so, that indicates that the package is installed correctly.
      Are you using PyCharm / IDE?

    • @QuantumInsaanEdits
      @QuantumInsaanEdits 3 роки тому

      @@philparisi_ No!! can't even download

    • @philparisi_
      @philparisi_  3 роки тому

      @@QuantumInsaanEdits if you are unable to download the package, then this is more likely an issue with the compatibility of the Python version you are running and the package 'gameobjects'.
      Even when I run 'pip3 install gameobjects' I get the error "could not find a version that satisfies the requirement...". I suggest looking at the gameobjects' documentation and seeing if there is a special command to install or if the package is obsolete and what has replaced it.

  • @jjkydyt3011
    @jjkydyt3011 3 роки тому +1

    hey man you helped me i didnt even think about the packages i was working on an auto typer and i was so confused with the issue thx bro.

    • @philparisi_
      @philparisi_  3 роки тому

      Absolutely man, happy to help. Good luck with your auto-typer!

  • @SeyriSamet
    @SeyriSamet 3 роки тому +1

    It worked, you well deserved my like and comment man, I appreciate it 😍

    • @philparisi_
      @philparisi_  3 роки тому

      Hi Seyri, thank you for the kind words! What would it take to deserve a sub? ;)

  • @austangbadboi2187
    @austangbadboi2187 2 роки тому +1

    i already have pygame installed but when I turned on my PC today, VS code said ModuleNotFoundError: no module named 'pygame'
    anyone know why this happened and how to fix

    • @austangbadboi2187
      @austangbadboi2187 2 роки тому

      when i tried in cmd, it says: 'pip3' is not recognized as an internal or external command

    • @philparisi_
      @philparisi_  2 роки тому

      Hey there, if you open up cmd (or a command line) line and type 'import pygame' does that work?
      Otherwise, make sure VS code is using the correct python interpreter if that is an object for the project you are working.

    • @austangbadboi2187
      @austangbadboi2187 2 роки тому

      @@philparisi_ thanks. none of these worked but I just reinstalled python and used pycharm instead and now have no isssues

    • @philparisi_
      @philparisi_  2 роки тому

      @@austangbadboi2187 ahh yes, sorry to hear it. It's sometimes your best move after a while. Glad it is now working for you!

  • @madarauchiha3649
    @madarauchiha3649 2 роки тому +1

    Thank you so much Phil. Excellent tutorial for beginners like me, saved so much of my time. I subscribed.

    • @philparisi_
      @philparisi_  2 роки тому

      Hi Madara! Thank you so much for the support. My apologies for the late reply, UA-cam held back your comment for some weird reason. You are awesome and I wish you a great week!!!

  • @alexjames6818
    @alexjames6818 Рік тому +1

    Might be important to note the second method, using cmd, doesn't actually work with a normal windows computer.

  • @mmadcrhi473
    @mmadcrhi473 3 роки тому

    I tried to install (arcpy) library module but it says >>>>>>> Could not find a version that satisfies the requirement arcpy (from versions: none)
    ERROR: No matching distribution found for arcpy

    • @philparisi_
      @philparisi_  3 роки тому

      Hi MMAD Crhi, it sounds like arcpy can only run with certain versions of Python. This happens when Python updates but the package remains the same, relying on features or previous Python versions no longer supported in the newest Python version. I'd recommend looking into the arcpy's python version compatibility and see if that's the issue! Also, in general, try searching for the error message and see what comes up.

  • @BoredomV0.3
    @BoredomV0.3 2 роки тому +1

    what about no module named hcaptcha i saw no single sites about that and videos when i search hcaptcha it doesnt find it

    • @philparisi_
      @philparisi_  2 роки тому

      Hi Chiron, if the package is ubiquitous it should be downloadable in some form by pip, check the hcaptcha documentation. If you are building from a git repository, they should provide instructions on how to install and utilize!

    • @BoredomV0.3
      @BoredomV0.3 2 роки тому

      @@philparisi_ i dont know how to find that documention

    • @philparisi_
      @philparisi_  2 роки тому

      @@BoredomV0.3 what I would do is simply google the package name + documentation. Search "hcaptcha documentation" and "hcaptcha python install". It'll come up!
      If there's no documentation, how did you find the package? Reach out to whomever told you to use the package, too, they would be a good resource!

    • @BoredomV0.3
      @BoredomV0.3 2 роки тому

      @@philparisi_ i found the documention but havent found anything there it shows only how to bypass hcaptcha or something

  • @RustyTube
    @RustyTube 3 роки тому +1

    That is fine and dandy if pip knows about the module. But if you are a programmer who created your own module, pip is lost even if you start it from the directory where the module dll is located. :(

    • @philparisi_
      @philparisi_  3 роки тому

      Great point Rusty!
      If you're at the stage of making your own modules... I'd have thought pip would be the least of your worries! ;) You'd probably need to custom install (maybe not even use pip?). Unsure myself, have never made my own python module. Best of luck!

    • @RustyTube
      @RustyTube 3 роки тому +1

      @@philparisi_ Thanks. I wrote a library of video and image processing routines in C and am trying to make it possible to use from Python.

    • @philparisi_
      @philparisi_  3 роки тому +1

      @@RustyTube dang that's incredible Rusty! Sorry I can't help you further with getting pip to recognize it. Perhaps there's a developer community you can tap into somewhere and then can support!

    • @RustyTube
      @RustyTube 3 роки тому +1

      @@philparisi_ Thanks. I’m sure I’ll figure it out eventually. :)

    • @RustyTube
      @RustyTube 3 роки тому +1

      @@philparisi_ I found the answer, at least on how to run it locally on my Windows machine. I used SWIG to create a C interface to my library. The library is called koliba, and swig created two files: _koliba.c and koliba.py. I compiled the C file to a DLL, but Python was complaining it could not find it. Right now I found the answer: Python was looking for _koliba.pyd, not _koliba.dll. So all I had to do was rename the file, and now it all works.
      To actually distribute it will be more involved, but at least I can test it now.

  • @_manana
    @_manana 3 роки тому +1

    hello I fucked up my path because I forgot to add %PATH% on the command any way to fix this?

  • @meriemhaddad5354
    @meriemhaddad5354 2 роки тому +3

    Thank you for this great video, and thank you again because this method works and the thing I liked about it is that it is 100% effective.

    • @philparisi_
      @philparisi_  2 роки тому +1

      Hi Meriem, thank you so much for your kind words! Glad it setup your system for success. Have a great day and good luck with everything!

  • @darkenergyhotep5793
    @darkenergyhotep5793 2 роки тому +1

    Hi Phil Im a noob and in real need of help my error msg is "import bpy" I'm still super confused please assist. thanks .

    • @philparisi_
      @philparisi_  2 роки тому

      Hi there Dark Energy HOTEP, no worries as we all have been noobies once :)
      First things first, did you install Python properly and are you using an IDE? If not, I suggest watching this video ua-cam.com/video/wEu-OCpy-9o/v-deo.html
      Then open up your cmd (command line) and simply type:
      python
      That should work by showing you the version you are using. If it shows an error than the install didn't go well.
      Next, type:
      import bpy
      If that throws an error, then the package isn't installed on your system.
      You need to install it using a package manage (pip and pip3 are the defaults that come with current python installs). Open up a NEW TERMINAL (not the one you typed 'python' in), type:
      pip3 install bpy
      If that is successful, to import the package, type:
      python
      import bpy
      Let me know how that goes! If you have a chance, please subscribe too :)

  • @GQElvie
    @GQElvie 3 роки тому +1

    Phil, when I typed in echo %PATH% it returned only '%PATH%'. can you advise? Thanks

    • @philparisi_
      @philparisi_  3 роки тому +1

      Hi Rock On Forever, interesting behavior. In general if you do something like:
      echo hello world
      the terminal will spit 'hello world' right back to you.
      That seems to be the case. This may be due to your operating system. Which are you using? Whichever the case, I recommend you look up how to view your Path Variable in that OS. You can also try using the GUI (later in the video) and go that route and avoid using %PATH%.

    • @GQElvie
      @GQElvie 3 роки тому +1

      @@philparisi_ thank you for quick response. I will look into it. I subscribed and will tell my friends about your site. you have a smooth articulate way of speaking. have a great day.

    • @philparisi_
      @philparisi_  3 роки тому

      @@GQElvie aww thanks man, that's really cool of you. Good luck with everything and new content is in the works!

  • @andrewcomplainer
    @andrewcomplainer 2 роки тому +1

    It doesnt work for me. Still got the same error. And yes instead of 'plotly' i used my package

    • @philparisi_
      @philparisi_  2 роки тому

      Hi Andrew, is the package on the machine? In a terminal, try typing:
      python
      import package
      If that doesn’t work,
      pip install package
      OR
      pip3 install package

  • @smrithuls6899
    @smrithuls6899 2 роки тому +1

    ModuleNotFoundError: No module named 'parser' ..... please help me to resolve this issue

    • @philparisi_
      @philparisi_  2 роки тому

      Hi Smirthul, watch the video again as well as view other comments - there are tons of helpful tips and tricks.
      Also, lookup the package online for its documentation, and see if there are any specific install instructions!

  • @clyde4239
    @clyde4239 2 роки тому +1

    What if I have already installed the module and the error still persists?

    • @philparisi_
      @philparisi_  2 роки тому

      Hi cLyde, you might have an issue with your pip installation. Of course, if all else fails, you can do the classic uninstall-reinstall and see if that helps.
      Otherwise, check out the other comments on this video, as I walked through a lot of scenarios with commenters!

    • @clyde4239
      @clyde4239 2 роки тому

      ​@@philparisi_ Wow, I honestly don't actually know what fixed it, but I think it was reinstalling pip. I say this because I was attempting to install GLFW for Python 3 and I thought my versions were just not synced up properly. But I had also reinstalled python 3.10.4 like 5 times which I thought would be enough to reinstall pip but I might of only reinstalled python and not pip. Thank you, and I really appreciate the reply!

    • @clyde4239
      @clyde4239 2 роки тому +1

      @@philparisi_ I was about to yank all my hair out haha

    • @philparisi_
      @philparisi_  2 роки тому +1

      @@clyde4239 welcome my friend ;) why do you think I made this video?? Such a pain haha.

    • @philparisi_
      @philparisi_  2 роки тому +1

      @@clyde4239 awesome. Yeah pip can give people with old versions a hard time, glad you got it all sorted!! And thanks for posting your reply so others can see how you solved it.

  • @sicness0
    @sicness0 2 роки тому +1

    Thanks, but it didn't work for me. It still says "no module named users"

    • @philparisi_
      @philparisi_  2 роки тому

      Try opening a terminal and typing:
      python
      import
      If that works then the package is installed correctly (look into your Pycharm / IDE for fixing).

    • @sicness0
      @sicness0 2 роки тому +1

      @@philparisi_ ok thanks. I’ll try

  • @lizachuyaozhang3824
    @lizachuyaozhang3824 Рік тому

    Hi Phil, thank you for the video. I am just wondering if you know the solution for "No module named 'iree.compiler.transforms'". I was trying to follow the way you introduced in this video about how to install new models, but it seemed that this iree model is not able to found? Do you by any chance know how to fix this? Thanks in advance.

    • @philparisi_
      @philparisi_  Рік тому +1

      Hi Liza, it sounds like you are trying to use a feature of a package (module) that you haven’t installed. In this case, you need to find the package that the iree model is a part of. Google around to see if you can find the package, and they’ll likely have install/import instructions!

  • @vaibhav7457
    @vaibhav7457 3 роки тому +1

    Requirement already satisfied but still it can't import what can I do Phils?

    • @philparisi_
      @philparisi_  3 роки тому +1

      Hi Vaibhav, let's try a few things (I also recommended peeking at some of the other comment threads).
      Open up IDLE and 'import numpy'. Does that succeed? If so your problem is with the IDE.
      Also, what IDE are you using? If it's PyCharm, start a new project and check the box in the popup window that says to import all packages.
      Also try creating a python script with a simple .txt file saved as 'testing.py'. Add a line that says 'import numpy' at the top and try running that testing.py file form your command line!

    • @vaibhav7457
      @vaibhav7457 3 роки тому +1

      @@philparisi_ Thanks Phil it's working now. Subscribed ✅

    • @philparisi_
      @philparisi_  3 роки тому

      @@vaibhav7457 Awesome that it's working and that you subscribed! Thank you for the support!

  • @Lukas-08
    @Lukas-08 Рік тому +1

    Man you really just saved my day after i nearly lost my sanity

    • @philparisi_
      @philparisi_  Рік тому

      Sorry it’s been a rough one - I feel you. Happy this helped you get through. Here’s to the week getting better 🤙🏽

  • @DragoniteBrian
    @DragoniteBrian 2 роки тому +1

    this did not work for me i used it on pymunk but it doesn't work i was missing cffi backend i downloaded cffi is there anyone that can help

    • @philparisi_
      @philparisi_  2 роки тому

      Hi Dragonite Brian (great pokemon choice), I suggest you look into the specific documentation for installing those packages. If it doesn't work with the approaches in the video then there's likely something more you need to do, or install some other packages that isn't immediately apparent. Hit up their documentation online and follow their instructions!

  • @andrejohnv
    @andrejohnv Рік тому +1

    Thanks for helping out, Phil!

  • @dragonlord1225
    @dragonlord1225 2 роки тому +1

    Probably a dumb question, but what is exactly is "plotly". I don't quite understand.😅

    • @philparisi_
      @philparisi_  2 роки тому +1

      No dumb questions when learning, Dragon Lord!
      “python” as a language roughly consists of a interpreter (which runs any python code) and a few base “packages”. This is what you get when you download python on day 1. Those packages contain useful functions, like the “time” package or “os” package, which enable you to access functions/methods of a certain time. With time package imported (“import time” as start of script) you can use time.sleep(50) which adds in a time delay to your code of 50ms.
      The python download comes with a few basic packages to begin with, and downloading every python package that exists would be an insanely large chunk of storage (>50Terabytes ?? Idk). So if you want new capabilities, you have to install new packages. Plotly is one common package. There’s also matplotlib, numpy, and pandas that you’ll often here about.
      Here’s a related video on the python interpreter and packages- watch the first minute or two: ua-cam.com/video/zCO3KxV2zPI/v-deo.html

    • @dragonlord1225
      @dragonlord1225 2 роки тому +1

      @@philparisi_ Thank you.❤

    • @philparisi_
      @philparisi_  2 роки тому +1

      You’re welcome! You should subscribe, new videos every week and I answer every question and comment :)
      Have a great Monday regardless!

    • @dragonlord1225
      @dragonlord1225 2 роки тому +1

      @@philparisi_ I did subscribe.

    • @philparisi_
      @philparisi_  2 роки тому +1

      @@dragonlord1225 You are the realest - thank you for the support!