mukulhase / WebWhatsapp-Wrapper

An API for sending and receiving messages over web.whatsapp [Working as of 18th May 2018]
https://webwhatsapi.readthedocs.io/en/latest/
MIT License
2.03k stars 796 forks source link

Having trouble with something called Axolot during installations #289

Open tendaikaruma opened 6 years ago

tendaikaruma commented 6 years ago

Hie Team , my installation has been falling for days ,having trouble with something called Axolot during installations. I also believe im missing something on my gcc thing . Please help capture

   collect2.exe: error: ld returned 1 exit status
    error: command 'C:\\MinGW\\bin\\gcc.exe' failed with exit status 1

    ----------------------------------------
Command "c:\python27\python.exe -u -c "import setuptools, tokenize;__file__='c:\\users\\princ\\appdata\\local\\temp\\pip-install-z2wpll\\python-axolotl-curve25519\\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record c:\users\princ\appdata\local\temp\pip-record-qk4th3\install-record.txt --single-version-externally-managed --compile" failed with error code 1 in c:\users\princ\appdata\local\temp\pip-install-z2wpll\python-axolotl-curve25519\
kevinkit commented 6 years ago

I think windows together with python 2.7 are hard for getting it to run. Try to use the Docker image to avoid dependency hell

erm3nda commented 3 years ago

I had the same problem when doing that on w10 and python38. Also, didn't found a proper wheel to avoid to need the compile stuff. So I just want to comment out how I did.

I've opted for something faster, while still running the browser instance into a Windows machine, using Linux subsystem, virtual machine, vps, or anything running linux that compiles that axolot module, then use the Remote() with a single geckodriver or chromedriver instance on the windows machine.

It's easy as run "geckodrive", then use "http://IP:4444" as command_executor in Remote() constructor.

If you're using Linux subsystem, or VirtualMachine security is not an issue. For vps or remote computers, the best if you tunnel all over openvpn or other, then use geckodriver with proper IP listener. See geckodriver/chromedriver -h for reference.

Anyone having a whell for axolot could save us from hell :-)