我试过用同样的方法,到处都提到,但有些地方不对劲。
sudo apt-get install python python-dateutil python-argparse
sudo wget https://github.com/tgalal/yowsup/archive/master.zip
sudo unzip master.zip
cd yowsup-master/src
cp config.example yowsup-cli.config
vi yowsup-cli.config #(Write the following according to you)
#cc=34
#phone=34123456789 #(Phone number with country code)
#id=
#password=
chmod +x yowsup-cli
./yowsup-cli --requestcode sms --config yowsup-cli.config
#status: sent
#retry_after: 3605
#length: 6
#method: sms我已经意识到当前的存档master.zip与我应该找到的那个不同,也许是一个更新,
( yowsup-master/src文件夹不存在)
我尝试使用文件yowsup/yowsup,它似乎是配置文件。我在该文件上遵循了相同的步骤,但我得到的是:
./yowsup-cli.config --requestcode sms --config yowsup-cli.config
Traceback (most recent call last):
File "./yowsup-cli.config", line 5, in <module>
import sys, argparse, yowsup, logging
ImportError: No module named yowsup我想也许有一个新的更新,程序改变了吗?
发布于 2015-02-11 13:44:55
当前的“主”分支不包括/src,因为开发人员现在正在开发yowsup2。正如我发现的,许多博客都是在yowsup安装教程上写的。但是,如果你仍然希望你的手脏旧的东西,你可以下载‘遗留’的分支在Github。
https://unix.stackexchange.com/questions/177294
复制相似问题