Python Forum
help to execute a py code and good configuration
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
help to execute a py code and good configuration
#1
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
Reply
#2
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)
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs

Reply
#3
(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.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Can a program execute code in iPython shell and get result? deanhystad 3 1,725 Jun-17-2022, 03:45 AM
Last Post: Larz60+
  Python modules for accessing the configuration of relevant paths Imago 1 1,365 May-07-2022, 07:28 PM
Last Post: Larz60+
  [split] SyntaxError when trying to execute code on Windows nehaya 2 1,990 Aug-04-2020, 11:18 AM
Last Post: nehaya
  INI Configuration GUI goofygoo 4 4,528 Jul-19-2020, 08:47 PM
Last Post: goofygoo
  SyntaxError when trying to execute code on Windows Fred0n 2 2,427 Apr-25-2020, 04:30 AM
Last Post: buran
  Read Yaml configuration file in Python binhduonggttn 1 2,073 Feb-11-2020, 05:43 AM
Last Post: ndc85430
  How to execute code WHILE a function runs t4keheart 4 2,661 Jan-27-2020, 01:47 PM
Last Post: t4keheart
  How to execute Python code leemao 2 2,151 Dec-21-2019, 02:35 PM
Last Post: leemao
  Help to reduce time to execute the code prakash52kar 1 2,220 Oct-14-2019, 10:56 AM
Last Post: scidam
  Geany Configuration twallace51 0 4,499 Apr-21-2019, 02:20 PM
Last Post: twallace51

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020