Posting warning message
Tamara Berger
brgrt2 at gmail.com
Mon Jun 11 11:54:33 EDT 2018
I did subscribe to the mailing list, but it opened the floodgates to a
torrent of irrelevant emails. I didn't know how to turn the flood off,
so I unsubscribed. How do I set the appropriate option?
I was just going to post another message to google groups. If you
don't mind, I'll ask you now.
I got an error message when trying to install pytest. Following the
workbook, I typed these 2 lines in the terminal:
Last login: Mon Jun 11 11:07:46 on ttys000
192:~ TamaraB$ sudo python3
Password:
Python 3.6.4 (v3.6.4:d48ecebad5, Dec 18 2017, 21:07:28)
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> python3 -m pip install pytest
File "<stdin>", line 1
python3 -m pip install pytest
^
SyntaxError: invalid syntax
>>>
I know you warned against using the sudo command, but Apple supports using it.
What does the "-m" stand for in the line of code?
Thanks,
Tamara
More information about the Python-list
mailing list