I am trying to import json using pycharm, but it keeping underlining the json as an error with the quote'unresolved statement'
And I have installed the latest version of json.
Since you didn't provide much info here is a wild guess:
make sure (or add) site-packages in PyCharm is included in your Project Scope: File - Settings - Project: Name - Project Structure - +Add Content Root
The path will be something like this: C:\\Program Files (x86)\\Python\\Python37\\Lib\\site-packages
and make sure you actually import the json lib by: "import json" at the beginning of your code.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.