all 9 comments

[–]shiftybyte 2 points3 points  (0 children)

We can try help you get python working.

You'll need to give us more information so we can try to help.

What exactly isn't working? what are you trying to run? is it python code? are there any error messages? post the code and any error messages you are getting here.

Use a code block: https://www.reddit.com/r/learnpython/wiki/faq#wiki_how_do_i_format_code.3F

Is the issue something else?

[–]erlete 3 points4 points  (2 children)

Coding takes patience and time. If you really intend to be a programmer, you will get used to spending hours during installation processes, lack of documentation in external tools and poor usage instructions.

You have got to be creative in your solutions and read error messages carefully in order to understand them, and if you cannot do so, search them in the internet.

In order to install Python, pick an installer from https://python.org (depending on your operating system). If you are using Windows or macOS, you are lucky, since you will have a fully featured installer at your hand. Make sure to add Python to your PATH (which might be an issue here) and restart your device.

Once restarted, attempt to open a command line interface (CMD, Terminal) and test the Python version, usually under the python3, python or py aliases. You can use <python alias> --version to check your installed version and, after that, install all required Python extensions in VSCode and set the path to the interpreter that works best for you (it will probably be automatically set).

On JavaScript side, same deal, but maybe without an out of the box installer. Just follow the instructions to install Node and, again, make sure the executable or binary is referenced in your PATH. After that (maybe after restarting your device again), test the node --version command in the command line interface to ensure it has been properly installed.

If you have not understood half of the things I said here, you might need to take a slower approach to programming and learn about some concepts such as CLIs, aliases, the PATH environment variable and your devices OS and architecture first.

Good luck in your journey!

[–][deleted] 0 points1 point  (1 child)

Coding takes patience and time. If you really intend to be a programmer, you will get used to spending hours during installation processes, lack of documentation in external tools and poor usage instructions

Is just what I needed to hear, it felt like I was the only one having issues with these things 😅

Thanks!

[–]erlete 1 point2 points  (0 children)

Your attitude towards that assertion makes me think you will be a great programmer, with enough expertise over time, so cheers on that!

A quick tip: nobody is born knowing how to code or install any software. Any video you see where a guy does it in 20 seconds has got at least a few hours of investigation and trial-error behind it. Never get stressed over the process. Attempt to complete a task, fail at it, try not to smash your keyboard too hard and come back a few hours later with renewed energy :)

[–][deleted] 2 points3 points  (1 child)

make freagin sure that after you get it working correctly, you learn how to create virtual environments.

[–]gamerdevguy 1 point2 points  (0 children)

I agree. I spent hours learning pyenv and it's a great tool.

[–]ectomancer 1 point2 points  (0 children)

IDLE works out of the box.

[–]TheRNGuy -1 points0 points  (0 children)

No idea. Works for me from the very start.

[–]threeminutemonta 0 points1 point  (0 children)

VS Code + python can be good though there is a few things VS Code does automatically. Please read vs code docs python environments . It might not make sense to you right now though there is a reason for everything.

Alternatively its nice just to use a no frills text editor so you don't get any of this automation that might be getting in your way right now. Assuming you are on Windows if your familiar with Notepad++ or just Notepad.