I'm learning Python with the book "Head First Python" by Paul Barry.
I'm on chapter 4, in the section titled "Install the Testing Developer Tools" where it teaches how to install the pytest testing framework and pep8 plugin.
It explains how to install pytest in Windows 10 using the Command Prompt.
I'm following the step-by-step guide but getting different results from what is intended and not sure what to do.
Can someone maybe help me out?
The book says to open Command Prompt as Administrator and type:
py -3 -m pip install pytest
When I do that and hit enter, I see the following:
Installing collected packages: colorama, py, pluggy, toml, attrs, iniconfig, pyparsing, packaging, atomicwrites, pytest
WARNING: The scripts py.test.exe and pytest.exe are installed in 'C:\Users\username\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\Scripts' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
Successfully installed atomicwrites-1.4.0 attrs-20.3.0 colorama-0.4.4 iniconfig-1.1.1 packaging-20.8 pluggy-0.13.1 py-1.10.0 pyparsing-2.4.7 pytest-6.2.1 toml-0.10.2
WARNING: You are using pip version 20.2.3; however, version 20.3.3 is available.
You should consider upgrading via the 'C:\Users\username\AppData\Local\Microsoft\WindowsApps\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\python.exe -m pip install --upgrade pip' command.
What do those warnings mean?
I'm on chapter 4, in the section titled "Install the Testing Developer Tools" where it teaches how to install the pytest testing framework and pep8 plugin.
It explains how to install pytest in Windows 10 using the Command Prompt.
I'm following the step-by-step guide but getting different results from what is intended and not sure what to do.
Can someone maybe help me out?
The book says to open Command Prompt as Administrator and type:
py -3 -m pip install pytest
When I do that and hit enter, I see the following:
Installing collected packages: colorama, py, pluggy, toml, attrs, iniconfig, pyparsing, packaging, atomicwrites, pytest
WARNING: The scripts py.test.exe and pytest.exe are installed in 'C:\Users\username\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\Scripts' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
Successfully installed atomicwrites-1.4.0 attrs-20.3.0 colorama-0.4.4 iniconfig-1.1.1 packaging-20.8 pluggy-0.13.1 py-1.10.0 pyparsing-2.4.7 pytest-6.2.1 toml-0.10.2
WARNING: You are using pip version 20.2.3; however, version 20.3.3 is available.
You should consider upgrading via the 'C:\Users\username\AppData\Local\Microsoft\WindowsApps\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\python.exe -m pip install --upgrade pip' command.
What do those warnings mean?