Python Forum
Thread Rating:
  • 3 Vote(s) - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
installing json
#1
Hi, first of all I'm new here so hello everyone! I have an issue. I'm trying to learn how to work with a specific API and I need JSON to do it. I used pip to install simplejson, but this didn't allow my code to work. So I then used pip to install json, or tried, but I keep getting a failure in command prompt (I'm on Windows).

C:\Users\spect>pip install json
Collecting json
  Using cached json-99.0.tar.gz
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "C:\Users\spect\AppData\Local\Temp\pip-build-tfkprp8j\json\setup.py", line 2, in <module>
        raise RuntimeError("Package 'json' must not be downloaded from pypi")
    RuntimeError: Package 'json' must not be downloaded from pypi

    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in C:\Users\spect\AppData\Local\Temp\pip-build-tfkprp8j\json\
It's obvious to me what the issue is, pypi, but I don't really know how to install anything in python except using pip.
Reply


Messages In This Thread
installing json - by Only_On_Tuesdays - Sep-01-2017, 09:23 PM
RE: installing json - by metulburr - Sep-01-2017, 09:46 PM
RE: installing json - by snippsat - Sep-01-2017, 09:47 PM
RE: installing json - by Only_On_Tuesdays - Sep-01-2017, 10:06 PM
RE: installing json - by metulburr - Sep-02-2017, 03:37 AM
RE: installing json - by snippsat - Sep-02-2017, 11:04 AM
RE: installing json - by Only_On_Tuesdays - Sep-02-2017, 03:13 PM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020