(PY) Upgrading pip and installing json package don't work
(PY) Upgrading pip and installing json package don't work
Q1. I entered python -m pip install --upgrade pip and it answered that regularly worked. But, when I check it again by pip list, it was found that the version has been not changed. How can I solve this problem?
python -m pip install --upgrade pip
pip list

Q2. pip install json also doens't work!
pip install json

This is PyCharm on Windows 8.1 K.
1 Answer
1
JSON is part of python's standard library.
You don't need to install it, just import json
https://docs.python.org/3/library/json.html
import json
By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.
I tried entering
import jsondirectly on the console, I found that it worked. Thank you for your answer!– Kimpro
Aug 22 at 14:46