pywhatsapp icon indicating copy to clipboard operation
pywhatsapp copied to clipboard

error while installing

Open sachinchavan9 opened this issue 6 years ago • 0 comments

C:\Users\mjdev>pip install pywhatsapp
Collecting pywhatsapp
Collecting yowsup2==2.5.0 (from pywhatsapp)
Requirement already satisfied: pyreadline in c:\python27\lib\site-packages (from yowsup2==2.5.0->pywhatsapp) (2.1)
Requirement already satisfied: python-dateutil in c:\python27\lib\site-packages (from yowsup2==2.5.0->pywhatsapp) (2.7.2)
Requirement already satisfied: six in c:\python27\lib\site-packages (from yowsup2==2.5.0->pywhatsapp) (1.10.0)
Requirement already satisfied: argparse in c:\python27\lib\site-packages (from yowsup2==2.5.0->pywhatsapp) (1.4.0)
Collecting python-axolotl>=0.1.35 (from yowsup2==2.5.0->pywhatsapp)
Requirement already satisfied: cryptography in c:\python27\lib\site-packages (from python-axolotl>=0.1.35->yowsup2==2.5.0->pywhatsapp) (2.2.2)
Requirement already satisfied: protobuf>=3.0.0.b2 in c:\python27\lib\site-packages (from python-axolotl>=0.1.35->yowsup2==2.5.0->pywhatsapp) (3.5.2.post1)
Collecting python-axolotl-curve25519 (from python-axolotl>=0.1.35->yowsup2==2.5.0->pywhatsapp)
  Using cached https://files.pythonhosted.org/packages/59/ca/c8111718bcc8da18e9b9868e784293232a58c57159a5ea18f00ee967258f/python-axolotl-curve25519-0.4.1.post2.tar.gz
Requirement already satisfied: cffi>=1.7; platform_python_implementation != "PyPy" in c:\python27\lib\site-packages (from cryptography->python-axolotl>=0.1.35->yowsup2==2.5.0->pywhatsapp) (1.11.5)
Requirement already satisfied: enum34; python_version < "3" in c:\python27\lib\site-packages (from cryptography->python-axolotl>=0.1.35->yowsup2==2.5.0->pywhatsapp) (1.1.6)
Requirement already satisfied: asn1crypto>=0.21.0 in c:\python27\lib\site-packages (from cryptography->python-axolotl>=0.1.35->yowsup2==2.5.0->pywhatsapp) (0.24.0)
Requirement already satisfied: idna>=2.1 in c:\python27\lib\site-packages (from cryptography->python-axolotl>=0.1.35->yowsup2==2.5.0->pywhatsapp) (2.6)
Requirement already satisfied: ipaddress; python_version < "3" in c:\python27\lib\site-packages (from cryptography->python-axolotl>=0.1.35->yowsup2==2.5.0->pywhatsapp) (1.0.22)
Requirement already satisfied: setuptools in c:\python27\lib\site-packages (from protobuf>=3.0.0.b2->python-axolotl>=0.1.35->yowsup2==2.5.0->pywhatsapp) (39.0.1)
Requirement already satisfied: pycparser in c:\python27\lib\site-packages (from cffi>=1.7; platform_python_implementation != "PyPy"->cryptography->python-axolotl>=0.1.35->yowsup2==2.5.0->pywhatsapp) (2.18)
Building wheels for collected packages: python-axolotl-curve25519
  Running setup.py bdist_wheel for python-axolotl-curve25519 ... error
  Complete output from command c:\python27\python.exe -u -c "import setuptools, tokenize;__file__='c:\\users\\mjdev\\appdata\\local\\temp\\pip-install-9s59nm\\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'))" bdist_wheel -d c:\users\mjdev\appdata\local\temp\pip-wheel-qdnoyk --python-tag cp27:
  c:\python27\lib\site-packages\setuptools\dist.py:397: UserWarning: Normalizing '0.4.1-2' to '0.4.1.post2'
    normalized_version,
  running bdist_wheel
  running build
  running build_ext
  building 'axolotl_curve25519' extension
  creating build
  creating build\temp.win32-2.7
  creating build\temp.win32-2.7\Release
  creating build\temp.win32-2.7\Release\curve
  creating build\temp.win32-2.7\Release\curve\ed25519
  creating build\temp.win32-2.7\Release\curve\ed25519\additions
  creating build\temp.win32-2.7\Release\curve\ed25519\nacl_sha512
  C:\Users\mjdev\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\Bin\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -Icurve/ed25519/nacl_includes -Icurve/ed25519/additions -Icurve/ed25519 -Ic:\python27\include -Ic:\python27\PC /Tccurve/curve25519-donna.c /Fobuild\temp.win32-2.7\Release\curve/curve25519-donna.obj
  curve25519-donna.c
  curve/curve25519-donna.c(49) : fatal error C1083: Cannot open include file: 'stdint.h': No such file or directory
  error: command 'C:\\Users\\mjdev\\AppData\\Local\\Programs\\Common\\Microsoft\\Visual C++ for Python\\9.0\\VC\\Bin\\cl.exe' failed with exit status 2

  ----------------------------------------
  Failed building wheel for python-axolotl-curve25519
  Running setup.py clean for python-axolotl-curve25519
Failed to build python-axolotl-curve25519
textract 1.6.1 has requirement chardet==2.3.0, but you'll have chardet 3.0.4 which is incompatible.
Installing collected packages: python-axolotl-curve25519, python-axolotl, yowsup2, pywhatsapp
  Running setup.py install for python-axolotl-curve25519 ... error
    Complete output from command c:\python27\python.exe -u -c "import setuptools, tokenize;__file__='c:\\users\\mjdev\\appdata\\local\\temp\\pip-install-9s59nm\\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\mjdev\appdata\local\temp\pip-record-qjr7at\install-record.txt --single-version-externally-managed --compile:
    c:\python27\lib\site-packages\setuptools\dist.py:397: UserWarning: Normalizing '0.4.1-2' to '0.4.1.post2'
      normalized_version,
    running install
    running build
    running build_ext
    building 'axolotl_curve25519' extension
    creating build
    creating build\temp.win32-2.7
    creating build\temp.win32-2.7\Release
    creating build\temp.win32-2.7\Release\curve
    creating build\temp.win32-2.7\Release\curve\ed25519
    creating build\temp.win32-2.7\Release\curve\ed25519\additions
    creating build\temp.win32-2.7\Release\curve\ed25519\nacl_sha512
    C:\Users\mjdev\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\Bin\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -Icurve/ed25519/nacl_includes -Icurve/ed25519/additions -Icurve/ed25519 -Ic:\python27\include -Ic:\python27\PC /Tccurve/curve25519-donna.c /Fobuild\temp.win32-2.7\Release\curve/curve25519-donna.obj
    curve25519-donna.c
    curve/curve25519-donna.c(49) : fatal error C1083: Cannot open include file: 'stdint.h': No such file or directory
    error: command 'C:\\Users\\mjdev\\AppData\\Local\\Programs\\Common\\Microsoft\\Visual C++ for Python\\9.0\\VC\\Bin\\cl.exe' failed with exit status 2

    ----------------------------------------
Command "c:\python27\python.exe -u -c "import setuptools, tokenize;__file__='c:\\users\\mjdev\\appdata\\local\\temp\\pip-install-9s59nm\\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\mjdev\appdata\local\temp\pip-record-qjr7at\install-record.txt --single-version-externally-managed --compile" failed with error code 1 in c:\users\mjdev\appdata\local\temp\pip-install-9s59nm\python-axolotl-curve25519\

sachinchavan9 avatar May 08 '18 11:05 sachinchavan9