jd-autobuy icon indicating copy to clipboard operation
jd-autobuy copied to clipboard

sh: start: command not found

Open meteormatt opened this issue 7 years ago • 5 comments

$ python scraper-jd.py
Namespace(area='1_72_2799_0', count=1, flush=False, good='', submit=False, wait=500)
+++++++++++++++++++++++++++++++++++++++++++++++++++++++
Wed Jun 28 14:12:28 2017 > 请打开京东手机客户端,准备扫码登陆:
sh: start: command not found
201 : 二维码未扫描 ,请扫描二维码
201 : 二维码未扫描 ,请扫描二维码

出不来二维码

meteormatt avatar Jun 28 '17 06:06 meteormatt

Windows 10上使用Bash on Ubuntu也出不来

Biercenter avatar Jul 07 '17 13:07 Biercenter

@Biercenter Win10 Bash 没有GUI,没法显示图片

adyzng avatar Jul 11 '17 15:07 adyzng

@meteormatt Linux打开图片的命令是什么?

adyzng avatar Jul 11 '17 15:07 adyzng

改用windows版的python和golang,2个版本都能正常运行了,还编译成exe,不错😄

Biercenter avatar Jul 11 '17 15:07 Biercenter

Mac 下好像是open. ~~Linux 下不是特别清楚了~~ Linux下可以试试xdg-open

参考 https://github.com/Go-zh/tour/blob/master/gotour/local.go#L207

meteormatt avatar Jul 12 '17 01:07 meteormatt