Python Forum

Full Version: help to execute a py code and good configuration
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello,

sorry, I'm total newby in Python.
I have programming skills in other languages, but not time to gain enough in Python for the current purpose.

I have found a py script that performs what I need to do.
I have downloaded and installed Py for win64.

However, apparently the pip is not installed correctly, because pip3, stem and other functions are not recognized

sudo pip3 install stem
SyntaxError: invalid syntax

>>> sudo easy_install3 -U pip
SyntaxError: invalid syntax


So, I would need help to set up the right configuration to be able to run the script I need to use, or to be directed to someone with the right skills to set up what needs to be done on my computer.

Thanks in advance
you should use pip in the terminal/command prompt. >>> shows that you try to run pip and easy_install from python interactive prompt, which is wrong and will not work.
Also sudo is Linux, not win command, but it looks like you are on windows (you claim: I have downloaded and installed Py for win64)
(Sep-11-2018, 07:57 AM)andrebo Wrote: [ -> ]I have downloaded and installed Py for win64.
Look at:
Python 3.6/3.7 and pip installation under Windows.