Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

what is the requirement for using jsonobject on windows? #171

Open
heyhpython opened this issue Jun 18, 2019 · 0 comments
Open

what is the requirement for using jsonobject on windows? #171

heyhpython opened this issue Jun 18, 2019 · 0 comments

Comments

@heyhpython
Copy link

heyhpython commented Jun 18, 2019

it seems that we need c++ build and at least, is there any other reqiurement? becuase I pip install jsonobject failed for now. error message is below.

  ERROR: Complete output from command 'C:\Users\z\.conda\envs\offline\python.exe' -u -c 'import setuptools, tokenize;__file__='"'"'C:\\Users\\z\\AppData\\Local\\Temp\\pip-install-sycsbxpn\\jsonobject\\setup.py'"'"';f=get
attr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d 'C:\Users\z\AppData\Local\Temp\pip-wheel-zn73tq1o
' --python-tag cp36:
  ERROR: running bdist_wheel
  running build
  running build_py
  creating build
  creating build\lib.win-amd64-3.6
  creating build\lib.win-amd64-3.6\jsonobject
  copying jsonobject\exceptions.py -> build\lib.win-amd64-3.6\jsonobject
  copying jsonobject\__init__.py -> build\lib.win-amd64-3.6\jsonobject
  running build_ext
  building 'jsonobject.api' extension
  creating build\temp.win-amd64-3.6
  creating build\temp.win-amd64-3.6\Release
  creating build\temp.win-amd64-3.6\Release\jsonobject
  C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.21.27702\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MT -IC:\Users\z\.conda\envs\offline\include -IC:\Users\z\.conda\envs\offli
ne\include "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.21.27702\include" /Tcjsonobject/api.c /Fobuild\temp.win-amd64-3.6\Release\jsonobject/api.obj
  api.c
  C:\Users\z\.conda\envs\offline\include\pyconfig.h(59): fatal error C1083: can not open file: “io.h”: No such file or directory
  error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.21.27702\\bin\\HostX86\\x64\\cl.exe' failed with exit status 2
  ----------------------------------------
  ERROR: Failed building wheel for jsonobject

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant