2016-12-18 3 views
0

내 Windows 10 컴퓨터에 python 3.5.2를 설치했습니다. 또한 윈도우 명령 행에서 다음 명령을 사용하여 JMESPath 터미널을 설치 :Windows 10 용 JMESPath 터미널이 있습니까?

이 jmespath 터미널

모든 부드러운 가서 설치 PIP 그것은 성공적으로 설치되었습니다. 나는 다음 입력 할 때

는하지만 : jpterm

그것은 'jpterm'는 인식되지 않는 것을 말한다.

위의 내용이 빠져 있거나 위의 명령은 Windows가 아닌 시스템에서만 작동합니다.

답변

0

TL : DR : 현재 Windows에서 지원되지 않습니다 (dec 2017).

설치가 끊어졌습니다. 프로젝트의 GitHub 페이지 에서 jpterm.py을 가져와 \pythonXX\Scripts\ 폴더로 가져올 수 있습니다.

그런 다음 당신이 얻을 것이다 :

Traceback (most recent call last): 
    File "C:\Python36\Scripts\jpterm.py", line 239, in <module> 
    sys.exit(main()) 
    File "C:\Python36\Scripts\jpterm.py", line 228, in main 
    screen = urwid.raw_display.Screen() 
    File "C:\Python36\lib\site-packages\Traceback (most recent call last): 
File "C:\Python36\Scripts\jpterm.py", line 239, in <module> 
sys.exit(main()) 
File "C:\Python36\Scripts\jpterm.py", line 228, in main 
screen = urwid.raw_display.Screen() 
File "C:\Python36\lib\site-packages\urwid\raw_display.py", line 85, in __init__ 
fcntl.fcntl(self._resize_pipe_rd, fcntl.F_SETFL, os.O_NONBLOCK) 
NameError: name 'fcntl' is not defined\raw_display.py", line 85, in __init__ 
    fcntl.fcntl(self._resize_pipe_rd, fcntl.F_SETFL, os.O_NONBLOCK) 
**NameError: name 'fcntl' is not defined** 

을 ... 그리고 urwid 프로젝트 문제에서 (터미널에서 "창"을 그리는 일을)를 찾고이를 얻을 수 있습니다 :

를 기본적으로 'urwid Windows를 지원하지 않습니다'라고

https://github.com/urwid/urwid/issues/152

.