PyCharm set Configuration and Interpreter | Why won't PyCharm Execute my Code?

Sdílet
Vložit
  • čas přidán 3. 08. 2024
  • Learn the basics of setting a PyCharm Interpreter and Configuration to run your script! A wrong Configuration with a wrong Interpreter is the most common reason why your script will not execute!
    PyCharm Virtual Environments: • PyCharm Virtual Enviro...
    ⭐ Install PyCharm and Python: • Install PyCharm & Pyth...
    🔍 PyCharm Tutorial Playlist: • PyCharm Tutorials
    ⌚ Timestamps ⌚
    00:00 | Introduction
    00:25 | Problem: No Interpeter and No Configuration
    01:05 | Set Interpreter
    03:07 | Set Configuration Automatically
    03:36 | Set Configuration Manually
    🌟 Please leave a LIKE and SUBSCRIBE for more! 🌟
    ◾◾◾◾◾ PyCharm Tutorials ◾◾◾◾◾
    🐍 Install PyCharm & Python: • Install PyCharm & Pyth...
    🐛 PyCharm Debug: • PyCharm Debug Tutorial...
    💿 PyCharm Basics in 10 Min.: • PyCharm Tutorial | Int...
    ◾◾◾◾◾ 🌎 Let's Connect! ◾◾◾◾◾
    🐦 Twitter (X): 🔗 / @max_on_tech
    📂 GitHub: 🔗 github.com/maxontech
    🔊 Discord: 🔗 / discord
    🏹 ProductHunt: 🔗 www.producthunt.com/@m4x
    ✅ Blog: 🔗 maxontech.io/courses

Komentáře • 44

  • @MaxOnTech
    @MaxOnTech  Před 11 měsíci +1

    Still facing problems? Perhaps my write-up covers your issue: maxontech.io/courses/pycharm/set-configuration-and-interpreter-in-pycharm

  • @S1rC0w2
    @S1rC0w2 Před rokem +16

    Max, I want to say thank you. I'm twelve years old and am working to study game development. I have been self teaching myself code since I was in 5th grade, and no it wasn't Scratch it was python. I have learned lots of things to make with python but YOU are the reason I still try to make programs, even if they don't work I try hard to make them work, and when I found your account when you were still the bucket coder (sorry I forgot your old username) and have been following your pygame tutorials so that I could actually make some games, and I'm still working on pygame, but I'm struggling a bit and I am getting help. But thanks for the big amount of help I got from your channel. :)

    • @MaxOnTech
      @MaxOnTech  Před rokem +7

      Hey, that's awesome! It's messages like this that keep me going. All the best to you and hope you continue to find a lot of valuable insights on this channel!
      Best, Max

  • @RH-Laser
    @RH-Laser Před 5 měsíci +1

    This video was super helpful as I ran into this exact problem but with your detailed help, got it all figured out...for now ;-). Thank you!!

  • @rpggamer3525
    @rpggamer3525 Před 9 měsíci +2

    thank you max for helping with this problem I had been facing for the last few days!😊😊😊

    • @MaxOnTech
      @MaxOnTech  Před 9 měsíci

      Hey, awesome :) Glad to see that these videos still help!

  • @stuartrooksby5760
    @stuartrooksby5760 Před rokem +1

    Very helpful to get such a clear solution. I'm finding some Python and particularly Pycharm technicalities far more obscure than I expected at the start.

  • @joeking5211
    @joeking5211 Před rokem

    Again, your tutorial skills really do shine, thks for that, you have also made me aware of some other things that were not clear to me that you did'nt directly intend to explain, but due to your clear and excellent teaching manner you have automatically explained them to anyhow. So thks, and keep up the good work.

  • @jm-xv3wh
    @jm-xv3wh Před měsícem

    thanks Max your video help me in configuration , thanks again

    • @MaxOnTech
      @MaxOnTech  Před měsícem

      Glad to hear that! all the best!

  • @wiktorm9858
    @wiktorm9858 Před 9 měsíci

    Pretty cool series of tutorials. I would recommend making translations with AI 😊

  • @OllieSharks54
    @OllieSharks54 Před 8 měsíci +1

    Thank you Max. Top Man.

  • @chathupadamith2184
    @chathupadamith2184 Před 5 měsíci

    Thank you so much❤

  • @DishaB-rx7bc
    @DishaB-rx7bc Před 10 měsíci +1

    Thank you so much !!

  • @Jeff_Seely
    @Jeff_Seely Před rokem

    Thank you very much man I'm really enjoying your channel. I realize this is jumping ahead a bit I have really grown accustomed to using VIM as my text editor. Apparently there is a way to integrate VIM into Pycharm with a plug-in known as IdeaVim. Have you used this plugin for a similar plugin with the same key bindings or key chords?

    • @MaxOnTech
      @MaxOnTech  Před rokem

      Hey Jeff, glad the videos help! Unfortunately, I'm not familiar with that extension.

  • @WilliamVideoUT
    @WilliamVideoUT Před 4 měsíci

    Great job, so helpful

    • @MaxOnTech
      @MaxOnTech  Před 4 měsíci

      Nice! Glad it helped you William 💪 Keep coding!

  • @MrEjblanco
    @MrEjblanco Před rokem

    this helped with the setup on the newest edition!!!! now codes are executing!!!

  • @mahirapamnani4362
    @mahirapamnani4362 Před 4 měsíci

    God!!! Thank you so much!!

  • @SIMPLYSTUPID712
    @SIMPLYSTUPID712 Před 10 měsíci +1

    Omg thank you soooo much

  • @sffahim3588
    @sffahim3588 Před 10 měsíci +1

    Thanks ❤❤

    • @MaxOnTech
      @MaxOnTech  Před 10 měsíci

      Hey :) your're welcome! Glad it helped.

  • @5Minutes-lt8mn
    @5Minutes-lt8mn Před 3 měsíci

    Thank you thala ❤

  • @atlaameb9580
    @atlaameb9580 Před 3 měsíci

    thank you so much

  • @lancemarchetti8673
    @lancemarchetti8673 Před 6 měsíci

    Awesome

  • @rammytammy3483
    @rammytammy3483 Před 6 měsíci

    THANK YOU

  • @Scotti.Q
    @Scotti.Q Před 7 měsíci

    Hello Max - thank you very much for the concise and yet informative video! I have one question - in the video at one point you ignore the option "inherit packages from base interpreter". But I assume the virtual environment does not run standalone based on one or two modules I would import to it. As a complete freshman to Python, I assume every module, library, etc., loaded into the virtual environment is built on top of Python's base interpreter (in the back) or am I wrong here?

    • @MaxOnTech
      @MaxOnTech  Před 6 měsíci

      hi Scotti, glad the video helped! You need to think of the virtual environment and the global environment as two separate spaces. To each of these you can install packages e.g. pygame, numpy etc. If you choose "inherit global site packages", you allow your virtual environment to access the ones that are globally installed. If you don't choose this, then your virtual environment will only have the packages you install to it. Hope this helped. 🙏

    • @Scotti.Q
      @Scotti.Q Před 6 měsíci

      Thank you very much for you quick response. So without inheritage ticked I stay within the narrow range of the few packages I loaded into the virtual environment. It is hard for me to grasp in which kind of setting that could ever make sense. But as you are recommendig to typically work with virtual environments, I am sure it does. Thanks again!@@MaxOnTech

  • @infocus5410
    @infocus5410 Před rokem

    somehow, on creating a new project, my venv always ends up in the External Libraries, any help?

  • @SuperKevinFS
    @SuperKevinFS Před rokem

    Can u help me out with pycharm abd power shell integration

    • @MaxOnTech
      @MaxOnTech  Před rokem

      Hi Kevin, this should fix it:
      1) Open PyCharm and go to File > Settings > Tools > Terminal.
      2) In the "Shell path" field, enter the path to PowerShell. This should be the full path to the PowerShell executable on your computer. For example, the default installation path for PowerShell on Windows is "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe".
      Oh, and before you try, make sure you have powershell installed!

  • @theditor.x
    @theditor.x Před 10 měsíci

    thank u