0

I want to start learning how to code using Python but I can't use it properly. One tutorial online says to use Chocolatey to start using Python but when I try to install Chocolatey it says:

"WARNING: An existing Chocolatey installation was detected. Installation will not continue.
For security reasons, this script will not overwrite existing installations.

Please use choco upgrade chocolatey to handle upgrades of Chocolatey itself."

However, the problem is that when I type the "choco upgrade chocolatey" command it says:

'choco' is not recognized as an internal or external command,
 operable program or batch file.
Girish
  • 329
  • 2
  • 13
Yohl
  • 1
  • 1
  • Why you don't use directly the python IDLE or editor like VSCode or IDE like PyCharm? Then you need to know how to code in python, and I recommend the FreeCodeCamp Course on Youtube. – Progxy Feb 12 '21 at 07:13
  • This should help you [https://stackoverflow.com/questions/47861537/choco-command-not-recognized-when-run-as-administrator-on-windows](https://stackoverflow.com/questions/47861537/choco-command-not-recognized-when-run-as-administrator-on-windows) – Zakir Hussain Feb 12 '21 at 07:14
  • @Progxy is this an easier alternative? – Yohl Feb 12 '21 at 07:15
  • All depends on how you've installed Python, as for beginners is recommended to use the installer on python.org site – Progxy Feb 12 '21 at 07:16
  • @Progxy I just used an installer for it though does it really affect the whole thing? – Yohl Feb 12 '21 at 07:19
  • So why you don't use the IDLE that come with Python. You should find the IDLE and open it. As i did before i recommend you this course on youtube https://www.youtube.com/watch?v=rfscVS0vtbw – Progxy Feb 12 '21 at 07:20
  • @Progxy I see now, I wasn't really aware of this one though. I'll try using this one to code. Thanks a lot man – Yohl Feb 12 '21 at 07:22
  • you're welcome, when you will feel tired of the IDLE you should try VSCode and PyCharm that integrates useful tools for coding, like simply the syntax check for avoid errors on run. – Progxy Feb 12 '21 at 07:27
  • If you are just learning to code, all you need is a text editor and a command line. You don't need chocolatey to learn python – juanpa.arrivillaga Feb 12 '21 at 07:32
  • @juanpa.arrivillaga I just wanted to try Python though as I've heard that it was beginner friendly – Yohl Feb 12 '21 at 07:36
  • @Yohl yes, I'm talking about Python. You don't need chocolatey. Just install Python from the official website, and then get a text editor and learn to use the terminal – juanpa.arrivillaga Feb 12 '21 at 07:42
  • https://www.youtube.com/watch?v=YYXdXT2l-Gg&list=PL-osiE80TeTt2d9bfVyTiXJA-UTHn6WwU, check out this link, the instructor is super clear and tutorial is very easy to follow, and yes I would also recommend downloading and installing python from python.org – SAK Feb 12 '21 at 08:03
  • There's also https://repl.it/languages/python3 , if you don't want to install anything. But this is not practical for working. I prefer to use it to share code. – Mathieu CAROFF Feb 12 '21 at 08:05

0 Answers0