Skip to content Skip to sidebar Skip to footer

Importerror: Cannot Import Name 'loads' From 'json' (unknown Location)

Previos title was: AttributeError: module 'json' has no attribute 'loads' I changed it because it looks similar to this but at the link that i provided, the problem seems that the

Solution 1:

I had python installed in Admin account in window 10 and it was installed with Admin privileges, but when i used in another account I could not use the packages, however installing the python in the current account did fix the problem.

Solution 2:

Try to import loads explicitly:

import json
from json import loads

Post a Comment for "Importerror: Cannot Import Name 'loads' From 'json' (unknown Location)"