Fw: See example

DL Neil PythonList at DancesWithMice.info
Fri Dec 4 20:37:02 EST 2020


On 05/12/2020 09:17, Dan Stromberg wrote:
> 
> On Fri, Dec 4, 2020 at 12:01 PM dn via Python-list 
> <python-list at python.org <mailto:python-list at python.org>> wrote:
> 
>     On 05/12/2020 07:57, Arthur R. Ott wrote:
>     ...
> 
>      >     Microsoft Windows [Version 10.0.19042.630]
>      >     (c) 2020 Microsoft Corporation. All rights reserved.
>      >     I am sure you can help me....
>      >     From the Windows10 command line, either in Admin mode or
>     otherwise this is
>      >     the error message I get. I want to program a
>     Microprocessor for the first
>      >     time and I am already stuck. I have spent a lot of time on
>     both the
>      >     internet and YouTube following different solutions. This
>     entry worked two
>      >     days ago and then the next day didn't. The "help" worksand
>     the program
>      >     appears to be operating normally.
>      >     What can you suggest????
>      >     C:\WINDOWS\system32>python
>      >     Python 3.9.0a2 (tags/v3.9.0a2:6202d85, Dec 18 2019, 22:54:12)
>     [MSC v.1916
>      >     64 bit (AMD64)] on win32
>      >     Type "help", "copyright", "credits" or "license" for more
>     information.
>      >     >>> pip --version
>      >     Traceback (most recent call last):
>      >       File "<stdin>", line 1, in <module>
>      >     NameError: name 'pip' is not defined
>      >     >>> python --version
>      >     Traceback (most recent call last):
>      >       File "<stdin>", line 1, in <module>
>      >     NameError: name 'python' is not defined
> 
> 
>     Try the two commands from the command-line (rather than from within the
>     Python interpreter/REPL).
> 
> 
> IOW, run pip or python from a command.com <http://command.com> or 
> powershell or cygwin bash.


Yes, thank you @Dan, I don't use MS-Win!

The fact that the two (version) commands are being typed in response to 
a ">>>" prompt indicates that Python is already running, yet they are 
BASH/Windows command-line/DOS-box commands!
-- 
Regards =dn


More information about the Python-list mailing list