MarcoG3 / WhatsDump

Extract WhatsApp private key from any non-rooted Android device (Android 7+ supported)
https://plainsec.org
GNU Lesser General Public License v3.0
268 stars 58 forks source link

Failing during matplotlib-2.2.3, any solution #62

Open nitinmukesh opened 3 years ago

nitinmukesh commented 3 years ago

C:\Python39>python.exe -m pip install --upgrade pip Collecting pip Using cached pip-21.0.1-py3-none-any.whl (1.5 MB) Installing collected packages: pip Attempting uninstall: pip Found existing installation: pip 20.2.3 Uninstalling pip-20.2.3: Successfully uninstalled pip-20.2.3 Successfully installed pip-21.0.1

C:\Python39>cd C:\Users\nitin\Desktop\WhatsDump-master

C:\Users\nitin\Desktop\WhatsDump-master>pip install -r requirements.txt Collecting androidviewclient==15.8.0 Using cached androidviewclient-15.8.0-py2.py3-none-any.whl (403 kB) Collecting args==0.1.0 Using cached args-0.1.0.tar.gz (3.0 kB) Collecting backports.functools-lru-cache==1.5 Using cached backports.functools_lru_cache-1.5-py2.py3-none-any.whl (7.0 kB) Collecting certifi==2018.11.29 Using cached certifi-2018.11.29-py2.py3-none-any.whl (154 kB) Collecting chardet==3.0.4 Using cached chardet-3.0.4-py2.py3-none-any.whl (133 kB) Collecting clint==0.5.1 Using cached clint-0.5.1.tar.gz (29 kB) Collecting cycler==0.10.0 Using cached cycler-0.10.0-py2.py3-none-any.whl (6.5 kB) Collecting idna==2.8 Using cached idna-2.8-py2.py3-none-any.whl (58 kB) Collecting kiwisolver==1.0.1 Using cached kiwisolver-1.0.1.tar.gz (31 kB) Collecting libusb1==1.7 Using cached libusb1-1.7.tar.gz (56 kB) Collecting matplotlib==2.2.3 Using cached matplotlib-2.2.3.tar.gz (36.8 MB) ERROR: Command errored out with exit status 1: command: 'c:\python39\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\nitin\AppData\Local\Temp\pip-install-nngqga17\matplotlib_2f55cab63c3647a8bbc6e11d7709780e\setup.py'"'"'; file='"'"'C:\Users\nitin\AppData\Local\Temp\pip-install-nngqga17\matplotlib_2f55cab63c3647a8bbc6e11d7709780e\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\nitin\AppData\Local\Temp\pip-pip-egg-info-xoj1giot' cwd: C:\Users\nitin\AppData\Local\Temp\pip-install-nngqga17\matplotlib_2f55cab63c3647a8bbc6e11d7709780e\ Complete output (61 lines):

Edit setup.cfg to change the build options

BUILDING MATPLOTLIB
            matplotlib: yes [2.2.3]
                python: yes [3.9.1 (tags/v3.9.1:1e5d33e, Dec  7 2020,
                        17:08:21) [MSC v.1927 64 bit (AMD64)]]
              platform: yes [win32]

REQUIRED DEPENDENCIES AND EXTENSIONS
                 numpy: yes [not found. pip may install it below.]
      install_requires: yes [handled by setuptools]
                libagg: yes [pkg-config information for 'libagg' could not
                        be found. Using local copy.]
              freetype: no  [The C/C++ header for freetype
                        (freetype2\ft2build.h) could not be found.  You may
                        need to install the development package.]
                   png: no  [The C/C++ header for png (png.h) could not be
                        found.  You may need to install the development
                        package.]
                 qhull: yes [pkg-config information for 'libqhull' could not
                        be found. Using local copy.]

OPTIONAL SUBPACKAGES
           sample_data: yes [installing]
              toolkits: yes [installing]
                 tests: no  [skipping due to configuration]
        toolkits_tests: no  [skipping due to configuration]

OPTIONAL BACKEND EXTENSIONS
                macosx: no  [Mac OS-X only]
                qt5agg: no  [PySide2 not found; PyQt5 not found]
                qt4agg: no  [PySide not found; PyQt4 not found]
               gtk3agg: no  [Requires pygobject to be installed.]
             gtk3cairo: no  [Requires cairocffi or pycairo to be installed.]
                gtkagg: no  [Requires pygtk]
                 tkagg: yes [installing; run-time loading from Python Tcl /
                        Tk]
                 wxagg: no  [requires wxPython]
                   gtk: no  [Requires pygtk]
                   agg: yes [installing]
                 cairo: no  [cairocffi or pycairo not found]
             windowing: yes [installing]

OPTIONAL LATEX DEPENDENCIES
                dvipng: no
           ghostscript: no
                 latex: no
               pdftops: no

OPTIONAL PACKAGE DATA
                  dlls: no  [skipping due to configuration]

============================================================================
                        * The following required packages can not be built:
                        * freetype, png
                        * Please check http://gnuwin32.sourceforge.net/packa
                        * ges/freetype.htm for instructions to install
                        * freetype
                        * Please check http://gnuwin32.sourceforge.net/packa
                        * ges/libpng.htm for instructions to install png
----------------------------------------

WARNING: Discarding https://files.pythonhosted.org/packages/eb/a0/31b6ba00bc4dcbc06f0b80d1ad6119a9cc3081ecb04a00117f6c1ca3a084/matplotlib-2.2.3.tar.gz#sha256=7355bf757ecacd5f0ac9dd9523c8e1a1103faadf8d33c22664178e17533f8ce5 (from https://pypi.org/simple/matplotlib/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output. ERROR: Could not find a version that satisfies the requirement matplotlib==2.2.3 ERROR: No matching distribution found for matplotlib==2.2.3

ulht-a22102503 commented 3 years ago

Heya I just faced the same. According to this post in stackoverflow, all you need to do is install libfreetype

After that running the command again shouldn't get you stuck in the same place

Vetalb60 commented 3 years ago

Try install libfreetype6-dev

sudo apt-get install libfreetype6-dev

libpng12-dev

sudo apt-get install libpng12-dev

and python-dev for subprocess

sudo apt-get install python-dev

KoNickss commented 2 years ago

any idea what the equivalents would be for archlinux? I already have freetype libpng and py dev installed yet I still get this error