我在 Windows 8 上安装了 python 2.7.9 和 androidviewclient-10.5.1。 我将 AndroidViewClient-master.zip 解压缩到 C 盘,之后我使用 easy_install 安装了 android viewclient 我可以在以下目录中找到 Culebra:
C:\Python27\Lib\site-packages\androidviewclient-10.5.1-py2.7.egg\EGG-INFO\scripts
C:\Python27\Scripts
C:\AndroidViewClient-master\tools
文件大小为 41.1 KB,没有任何扩展名。这是一个 python 脚本,我可以在记事本中打开它并查看,但没有任何扩展名。
当我在那些地方使用 statring cmd 并尝试运行 culebra --help 或任何 culebra 命令时,我得到的错误是
C:\AndroidViewClient-master\tools>culebra -G
'culebra' is not recognized as an internal or external command,
operable program or batch file.
C:\AndroidViewClient-master\tools>
PATH变量如下:
C:\Android SDK\adt-bundle-windows\sdk\tools;C:\Python27;C:\Python27\Scripts;C:\AndroidViewClient-master\src;C:\Python27\Lib\site-packages\androidviewclient-10.5.1-py2.7.egg;C:\Android SDK\adt-bundle-windows\sdk\platform-tools
我在这里做错了什么? 我有什么想念的吗?我一无所知。 我是否需要配置/安装其他东西才能使用 Culebra?如何? 如何启动库莱布拉岛?
最佳答案
I am on Windows 8 with python 2.7.9 and androidviewclient-10.5.1 installed. I extracted AndroidViewClient-master.zip to C drive
这是一个或另一个,如果您已经安装了 androidviewclient-10.5.1
(在 Windows 上使用 easy_install,如 https://github.com/dtmilano/AndroidViewClient/wiki#microsoft-windows 中所述),则无需提取任何 zip。
Windows 不支持 shebang所以我认为你应该这样做
C:\AndroidViewClient-master\tools>python culebra -G
关于android - 无法使用库莱布拉,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30366561/