yowsup icon indicating copy to clipboard operation
yowsup copied to clipboard

ImportError: DLL load failed: The specified module could not be found.

Open bbtimx opened this issue 11 years ago • 1 comments

C:\Python27>python yowsup-cli demos -l 49xxxxxxxxxxx8:C10vXxxxxx4ZO7/x qtxxxxxxWOrvk= -s 49xxxxxxx9-1xxxxxxxxxx2 "Test" Traceback (most recent call last): File "c:\Python27\yowsup-cli", line 304, in if not parser.process(): File "c:\Python27\yowsup-cli", line 227, in process self.startSendClient() File "c:\Python27\yowsup-cli", line 265, in startSendClient from yowsup.demos import sendclient File "c:\Python27\yowsup\demos\sendclient__init__.py", line 1, in from .stack import YowsupSendStack File "c:\Python27\yowsup\demos\sendclient\stack.py", line 12, in from yowsup.layers.axolotl import YowAxolotlLayer File "c:\Python27\yowsup\layers\axolotl__init__.py", line 1, in from .layer import YowAxolotlLayer File "c:\Python27\yowsup\layers\axolotl\layer.py", line 2, in from .protocolentities import SetKeysIqProtocolEntity File "c:\Python27\yowsup\layers\axolotl\protocolentities__init__.py", line 3, in from .iq_keys_get_result import ResultGetKeysIqProtocolEntity File "c:\Python27\yowsup\layers\axolotl\protocolentities\iq_keys_get_result.py ", line 4, in from axolotl.identitykey import IdentityKey File "build/bdist.linux-x86_64/egg/axolotl/identitykey.py", line 1, in <module

File "build/bdist.linux-x86_64/egg/axolotl/ecc/curve.py", line 1, in File "build\bdist.win32\egg\axolotl_curve25519.py", line 7, in File "build\bdist.win32\egg\axolotl_curve25519.py", line 6, in bootstrap ImportError: DLL load failed: The specified module could not be found.

Can anyone help fix this issue?

OS: Win Server 2012 R2 x64 PIP installed ez_setup installed mingw installed pycrypt installed yowsup2 installed

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

bbtimx avatar Jan 26 '15 19:01 bbtimx

I understand, I followed the installation section but I'm finding some errors when trying to run demos -s, -y for example. It says the same last message: DLL load failed.

c:\Python26\Scripts>python yowsup-cli demos -h usage: demos [-h] [-v] [-d] [--help-config] [-l phone:b64password] [-c CONFIG] [-m] [-y] [-e] [-s phone message]

Run a yowsup demo

optional arguments: -h, --help show this help message and exit -v, --version Print version info and exit -d, --debug Show debug messages --help-config Prints a config file sample

Configuration options for demos: -l phone:b64password, --login phone:b64password WhatsApp login credentials, in the format phonenumber:password, where password is base64 encoded. -c CONFIG, --config CONFIG Path to config file containing authentication info. For more info about config format use --help-config -m, --moxie Enable experimental support for the new WhatsApp encryption

Command line interface demo: -y, --yowsup Start the Yowsup command line client

Echo client demo: -e, --echo Start the Yowsup Echo client

Send client demo: -s phone message, --send phone message Send a message to specified phone number, wait for server receipt and exit

c:\Python26\Scripts>python yowsup-cli demos -e Traceback (most recent call last): File "yowsup-cli", line 4, in import('pkg_resources').run_script('yowsup2==2.2.78', 'yowsup-cli') File "build\bdist.win32\egg\pkg_resources__init__.py", line 698, in run_scrip t File "build\bdist.win32\egg\pkg_resources__init__.py", line 1616, in run_scri pt File "c:\python26\lib\site-packages\yowsup2-2.2.78-py2.6.egg\EGG-INFO\scripts
yowsup-cli", line 304, in if not parser.process(): File "c:\python26\lib\site-packages\yowsup2-2.2.78-py2.6.egg\EGG-INFO\scripts
yowsup-cli", line 225, in process self.startEcho() File "c:\python26\lib\site-packages\yowsup2-2.2.78-py2.6.egg\EGG-INFO\scripts
yowsup-cli", line 252, in startEcho from yowsup.demos import echoclient File "C:\Python26\lib\site-packages\yowsup2-2.2.78-py2.6.egg\yowsup\demos\echo client__init__.py", line 1, in from .stack import YowsupEchoStack File "C:\Python26\lib\site-packages\yowsup2-2.2.78-py2.6.egg\yowsup\demos\echo client\stack.py", line 1, in from yowsup.stacks import YowStack File "C:\Python26\lib\site-packages\yowsup2-2.2.78-py2.6.egg\yowsup\stacks__i nit__.py", line 1, in from .yowstack import YowStack, YowStackBuilder File "C:\Python26\lib\site-packages\yowsup2-2.2.78-py2.6.egg\yowsup\stacks\yow stack.py", line 21, in from yowsup.layers.axolotl import YowAxolotlLayer File "C:\Python26\lib\site-packages\yowsup2-2.2.78-py2.6.egg\yowsup\layers\axo lotl__init__.py", line 1, in from .layer import YowAxolotlLayer File "C:\Python26\lib\site-packages\yowsup2-2.2.78-py2.6.egg\yowsup\layers\axo lotl\layer.py", line 14, in from axolotl.sessioncipher import SessionCipher File "build\bdist.win32\egg\axolotl\sessioncipher.py", line 2, in File "c:\users\radio\appdata\local\temp\easy_install-w1nvtn\pycrypto-2.6-py2.6 -win32.egg.tmp\Crypto\Cipher\AES.py", line 50, in File "c:\users\radio\appdata\local\temp\easy_install-w1nvtn\pycrypto-2.6-py2.6 -win32.egg.tmp\Crypto\Cipher_AES.py", line 7, in File "c:\users\radio\appdata\local\temp\easy_install-w1nvtn\pycrypto-2.6-py2.6 -win32.egg.tmp\Crypto\Cipher_AES.py", line 6, in bootstrap ImportError: DLL load failed: The specified module could not be found..

c:\Python26\Scripts>

lcmeyer37 avatar Mar 04 '15 21:03 lcmeyer37