Yowsup 2 does not work with Python 2.6
In Python 2.6 when you run the login generates the following error:
yowsup-cli demos --yowsup --login phone:b64password
from Crypto.Util import Counter ImportError: cannot import name Counter
Counter works only with Python 2.7
on it
working fine with me on python2.6.8
Hi @tgalal
I'm having the same issue running yowsup-cli. Does Crypto.Util come with a default Python installation or do I need to install something? I have python-crypto installed:
Package python-crypto-2.0.1-22.el6.x86_64 already installed and latest version
Nothing to do
~# python -V
Python 2.6.6
Error output:
Traceback (most recent call last):
File "/usr/bin/yowsup-cli", line 5, in <module>
pkg_resources.run_script('yowsup2==2.4', 'yowsup-cli')
File "/usr/lib/python2.6/site-packages/setuptools-0.6c11-py2.6.egg/pkg_resources.py", line 489, in run_script
if insert:
File "/usr/lib/python2.6/site-packages/setuptools-0.6c11-py2.6.egg/pkg_resources.py", line 1214, in run_script
raise NotImplementedError(
File "/usr/lib/python2.6/site-packages/yowsup2-2.4-py2.6.egg/EGG-INFO/scripts/yowsup-cli", line 323, in <module>
File "/usr/lib/python2.6/site-packages/yowsup2-2.4-py2.6.egg/EGG-INFO/scripts/yowsup-cli", line 231, in process
File "/usr/lib/python2.6/site-packages/yowsup2-2.4-py2.6.egg/EGG-INFO/scripts/yowsup-cli", line 279, in startSendClient
File "build/bdist.linux-x86_64/egg/yowsup/demos/sendclient/stack.py", line 24, in __init__
File "build/bdist.linux-x86_64/egg/yowsup/layers/axolotl/__init__.py", line 1, in <module>
File "build/bdist.linux-x86_64/egg/yowsup/layers/axolotl/layer.py", line 15, in <module>
File "build/bdist.linux-x86_64/egg/axolotl/sessioncipher.py", line 3, in <module>
ImportError: cannot import name Counter
cheers
hi all
have the same problem, i tried this and it works
download pycrypto 2.6.1
wget https://pypi.python.org/packages/source/p/pycrypto/pycrypto-2.6.1.tar.gz#md5=55a61a054aa66812daf5161a0d5d7eda
tar archive install from folder #python setup.py install
then run yowsup-client demos --yowsup --login phone:pass and works
Yowsup Cli client
Type /help for available commands
[offline]:
hope it helps.
cheers KaZeta
Hi After installing it i still face the issue
File "./yowsup-cli", line 368, in
please help me.
after upgrading to python 2.7 we have to install all the supporting packages right like setuptools ncurse-dev and then we have to clone the yowsup files as well .
do we have to register again to whatsapp ? registerd login credentials will suffice ?
and this particular watsapp registered number is only for this particulat system right ?this credentials can be used in different linux machine ?
how do we cross verify the login and password which is obtained is active or not ? Thanks, sreelekha.N