Closed Deepakkabra closed 6 years ago
Your PATH should contain the directory that has git.exe
in it, not the path of the git.exe
file itself.
Now, @pfmoore sir i get this error
C:\Users\LENOVO\AppData\Local\Programs\Python\Python37-32>python -m pip install -r requirements.txt Collecting git+https://github.com/MobSF/CapFuzz.git (from -r requirements.txt (line 7)) Cloning https://github.com/MobSF/CapFuzz.git to c:\users\lenovo\appdata\local\temp\pip-req-build-l5j9tp6h Collecting Django==2.0.5 (from -r requirements.txt (line 1)) Using cached https://files.pythonhosted.org/packages/23/91/2245462e57798e9251de87c88b2b8f996d10ddcb68206a8a020561ef7bd3/Django-2.0.5-py3-none-any.whl Collecting pdfkit==0.6.1 (from -r requirements.txt (line 2)) Using cached https://files.pythonhosted.org/packages/57/da/48fdd627794cde49f4ee7854d219f3a65714069b722b8d0e3599cd066185/pdfkit-0.6.1-py3-none-any.whl Collecting configparser==3.5.0 (from -r requirements.txt (line 3)) Using cached https://files.pythonhosted.org/packages/7c/69/c2ce7e91c89dc073eb1aa74c0621c3eefbffe8216b3f9af9d3885265c01c/configparser-3.5.0.tar.gz Collecting androguard==3.2.1 (from -r requirements.txt (line 4)) Using cached https://files.pythonhosted.org/packages/27/ec/aba7c1d9f9cb253a5b938b347be673c376291eaa193625564d2cbcff3fc4/androguard-3.2.1-py3-none-any.whl Collecting lxml==4.2.1 (from -r requirements.txt (line 5)) Using cached https://files.pythonhosted.org/packages/e8/5d/98f56e274bdf17f2e0d9016d1788ca80d26d8987dcd5e1d9416d86ee0625/lxml-4.2.1.tar.gz Collecting rsa==3.4.2 (from -r requirements.txt (line 6)) Using cached https://files.pythonhosted.org/packages/e1/ae/baedc9cb175552e95f3395c43055a6a5e125ae4d48a1d7a924baca83e92e/rsa-3.4.2-py2.py3-none-any.whl Collecting mitmproxy==3.0.2 (from capfuzz==0.0.1->-r requirements.txt (line 7)) Using cached https://files.pythonhosted.org/packages/90/7b/09d4c6140f56cd6834c5ae320908795d0df2641a2cba694d7343e3a930c7/mitmproxy-3.0.2-py3-none-any.whl Requirement already satisfied: pytz in c:\users\lenovo\appdata\local\programs\python\python37-32\lib\site-packages (from Django==2.0.5->-r requirements.txt (line 1)) (2018.5) Collecting networkx>=1.11 (from androguard==3.2.1->-r requirements.txt (line 4)) Using cached https://files.pythonhosted.org/packages/11/42/f951cc6838a4dff6ce57211c4d7f8444809ccbe2134179950301e5c4c83c/networkx-2.1.zip Collecting colorama (from androguard==3.2.1->-r requirements.txt (line 4)) Using cached https://files.pythonhosted.org/packages/db/c8/7dcf9dbcb22429512708fe3a547f8b6101c0d02137acbd892505aee57adf/colorama-0.3.9-py2.py3-none-any.whl Collecting ipython>=5.0.0 (from androguard==3.2.1->-r requirements.txt (line 4)) Using cached https://files.pythonhosted.org/packages/f7/62/2fef7db3a7b75e8099c3d9db2630ae5ba0b9eefefd91f7497862393d90e8/ipython-6.5.0-py3-none-any.whl Collecting asn1crypto>=0.24.0 (from androguard==3.2.1->-r requirements.txt (line 4)) Using cached https://files.pythonhosted.org/packages/ea/cd/35485615f45f30a510576f1a56d1e0a7ad7bd8ab5ed7cdc600ef7cd06222/asn1crypto-0.24.0-py2.py3-none-any.whl Collecting matplotlib (from androguard==3.2.1->-r requirements.txt (line 4)) Using cached https://files.pythonhosted.org/packages/a0/82/b72afff99b30e06d170a9407a7b7b3432490145ba3708447c1f96bc08268/matplotlib-2.2.2-cp37-cp37m-win32.whl Collecting future (from androguard==3.2.1->-r requirements.txt (line 4)) Using cached https://files.pythonhosted.org/packages/00/2b/8d082ddfed935f3608cc61140df6dcbf0edea1bc3ab52fb6c29ae3e81e85/future-0.16.0.tar.gz Collecting pygments (from androguard==3.2.1->-r requirements.txt (line 4)) Using cached https://files.pythonhosted.org/packages/02/ee/b6e02dc6529e82b75bb06823ff7d005b141037cb1416b10c6f00fc419dca/Pygments-2.2.0-py2.py3-none-any.whl Collecting pyasn1>=0.1.3 (from rsa==3.4.2->-r requirements.txt (line 6)) Using cached https://files.pythonhosted.org/packages/d1/a1/7790cc85db38daa874f6a2e6308131b9953feb1367f2ae2d1123bb93a9f5/pyasn1-0.4.4-py2.py3-none-any.whl Collecting ruamel.yaml<0.16,>=0.13.2 (from mitmproxy==3.0.2->capfuzz==0.0.1->-r requirements.txt (line 7)) Using cached https://files.pythonhosted.org/packages/36/8c/fa6fb7e9ddc52a84777506f3d92168b986fdb55b67551111d54309c67146/ruamel.yaml-0.15.52-cp37-cp37m-win32.whl Collecting passlib<1.8,>=1.6.5 (from mitmproxy==3.0.2->capfuzz==0.0.1->-r requirements.txt (line 7)) Using cached https://files.pythonhosted.org/packages/ee/a7/d6d238d927df355d4e4e000670342ca4705a72f0bf694027cf67d9bcf5af/passlib-1.7.1-py2.py3-none-any.whl Collecting cryptography<2.2,>=2.1.4 (from mitmproxy==3.0.2->capfuzz==0.0.1->-r requirements.txt (line 7)) Using cached https://files.pythonhosted.org/packages/78/c5/7188f15a92413096c93053d5304718e1f6ba88b818357d05d19250ebff85/cryptography-2.1.4.tar.gz Collecting certifi>=2015.11.20.1 (from mitmproxy==3.0.2->capfuzz==0.0.1->-r requirements.txt (line 7)) Using cached https://files.pythonhosted.org/packages/7c/e6/92ad559b7192d846975fc916b65f667c7b8c3a32bea7372340bfe9a15fa5/certifi-2018.4.16-py2.py3-none-any.whl Collecting click<7,>=6.2 (from mitmproxy==3.0.2->capfuzz==0.0.1->-r requirements.txt (line 7)) Using cached https://files.pythonhosted.org/packages/34/c1/8806f99713ddb993c5366c362b2f908f18269f8d792aff1abfd700775a77/click-6.7-py2.py3-none-any.whl Collecting sortedcontainers<1.6,>=1.5.4 (from mitmproxy==3.0.2->capfuzz==0.0.1->-r requirements.txt (line 7)) Using cached https://files.pythonhosted.org/packages/1f/ba/215c652f38197729189a3c15971b4914c4650b2dbc556ea516c8b5509e8b/sortedcontainers-1.5.10-py2.py3-none-any.whl Collecting blinker<1.5,>=1.4 (from mitmproxy==3.0.2->capfuzz==0.0.1->-r requirements.txt (line 7)) Using cached https://files.pythonhosted.org/packages/1b/51/e2a9f3b757eb802f61dc1f2b09c8c99f6eb01cf06416c0671253536517b6/blinker-1.4.tar.gz Collecting ldap3<2.5,>=2.4 (from mitmproxy==3.0.2->capfuzz==0.0.1->-r requirements.txt (line 7)) Using cached https://files.pythonhosted.org/packages/5a/fc/746bebdb9362dff76291aba17393381d30fcb99415b7143f4ddca865995d/ldap3-2.4.1-py2.py3-none-any.whl Collecting kaitaistruct<0.9,>=0.7 (from mitmproxy==3.0.2->capfuzz==0.0.1->-r requirements.txt (line 7)) Using cached https://files.pythonhosted.org/packages/23/71/8577ca06e81c1dc0ba03a39ae32e315175ba2d9df51befa3a45f47950056/kaitaistruct-0.8.tar.gz Collecting brotlipy<0.8,>=0.7.0 (from mitmproxy==3.0.2->capfuzz==0.0.1->-r requirements.txt (line 7)) Using cached https://files.pythonhosted.org/packages/d9/91/bc79b88590e4f662bd40a55a2b6beb0f15da4726732efec5aa5a3763d856/brotlipy-0.7.0.tar.gz Complete output from command python setup.py egg_info: C:\Users\LENOVO\AppData\Local\Programs\Python\Python37-32\lib\site-packages\setuptools\pep425tags.py:89: RuntimeWarning: Config variable 'Py_DEBUG' is unset, Python ABI tag may be incorrect warn=(impl == 'cp')): C:\Users\LENOVO\AppData\Local\Programs\Python\Python37-32\lib\site-packages\setuptools\pep425tags.py:93: RuntimeWarning: Config variable 'WITH_PYMALLOC' is unset, Python ABI tag may be incorrect warn=(impl == 'cp')): Traceback (most recent call last): File "
", line 1, in File "C:\Users\LENOVO\AppData\Local\Temp\pip-install-7n56eppq\brotlipy\setup.py", line 83, in "Programming Language :: Python :: 3.6", File "C:\Users\LENOVO\AppData\Local\Programs\Python\Python37-32\lib\site-packages\setuptools__init.py", line 128, in setup _install_setup_requires(attrs) File "C:\Users\LENOVO\AppData\Local\Programs\Python\Python37-32\lib\site-packages\setuptools__init.py", line 123, in _install_setup_requires dist.fetch_build_eggs(dist.setup_requires) File "C:\Users\LENOVO\AppData\Local\Programs\Python\Python37-32\lib\site-packages\setuptools\dist.py", line 513, in fetch_build_eggs replace_conflicting=True, File "C:\Users\LENOVO\AppData\Local\Programs\Python\Python37-32\lib\site-packages\pkg_resources\init__.py", line 774, in resolve replace_conflicting=replace_conflicting File "C:\Users\LENOVO\AppData\Local\Programs\Python\Python37-32\lib\site-packages\pkg_resources\init.py", line 1057, in best_match return self.obtain(req, installer) File "C:\Users\LENOVO\AppData\Local\Programs\Python\Python37-32\lib\site-packages\pkg_resources\init__.py", line 1069, in obtain return installer(requirement) File "C:\Users\LENOVO\AppData\Local\Programs\Python\Python37-32\lib\site-packages\setuptools\dist.py", line 580, in fetch_build_egg return cmd.easy_install(req) File "C:\Users\LENOVO\AppData\Local\Programs\Python\Python37-32\lib\site-packages\setuptools\command\easy_install.py", line 661, in easy_install not self.always_copy, self.local_index File "C:\Users\LENOVO\AppData\Local\Programs\Python\Python37-32\lib\site-packages\setuptools\package_index.py", line 653, in fetch_distribution dist = find(requirement) File "C:\Users\LENOVO\AppData\Local\Programs\Python\Python37-32\lib\site-packages\setuptools\package_index.py", line 633, in find loc = self.download(dist.location, tmpdir) File "C:\Users\LENOVO\AppData\Local\Programs\Python\Python37-32\lib\site-packages\setuptools\package_index.py", line 577, in download found = self._download_url(scheme.group(1), spec, tmpdir) File "C:\Users\LENOVO\AppData\Local\Programs\Python\Python37-32\lib\site-packages\setuptools\package_index.py", line 822, in _download_url return self._attempt_download(url, filename) File "C:\Users\LENOVO\AppData\Local\Programs\Python\Python37-32\lib\site-packages\setuptools\package_index.py", line 828, in _attempt_download headers = self._download_to(url, filename) File "C:\Users\LENOVO\AppData\Local\Programs\Python\Python37-32\lib\site-packages\setuptools\package_index.py", line 743, in _download_to block = fp.read(bs) File "C:\Users\LENOVO\AppData\Local\Programs\Python\Python37-32\lib\http\client.py", line 447, in read n = self.readinto(b) File "C:\Users\LENOVO\AppData\Local\Programs\Python\Python37-32\lib\http\client.py", line 491, in readinto n = self.fp.readinto(b) File "C:\Users\LENOVO\AppData\Local\Programs\Python\Python37-32\lib\socket.py", line 589, in readinto return self._sock.recv_into(b) File "C:\Users\LENOVO\AppData\Local\Programs\Python\Python37-32\lib\ssl.py", line 1049, in recv_into return self.read(nbytes, buffer) File "C:\Users\LENOVO\AppData\Local\Programs\Python\Python37-32\lib\ssl.py", line 908, in read return self._sslobj.read(len, buffer) socket.timeout: The read operation timed out
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in C:\Users\LENOVO\AppData\Local\Temp\pip-install-7n56eppq\brotlipy\
I honestly don't think this isn't the right place for this issue.
I think that python-list or python-tutor mailing lists, #python on Freenode (IRC) or StackOverflow would be better channels to get support for the issue you're facing.
That seems to be an issue with the brotlipy library.
@pradyunsg thank you for your help, i solved my issue by deleting all the folder made my mobSF and related to this
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Collecting git+https://github.com/MobSF/CapFuzz.git (from -r requirements.txt (line 7)) Cloning https://github.com/MobSF/CapFuzz.git to c:\users\lenovo\appdata\local\temp\pip-req-build-lv2y3is3 Error [WinError 2] The system cannot find the file specified while executing command git clone -q https://github.com/MobSF/CapFuzz.git C:\Users.......\Local\Temp\pip-req-build-lv2y3is3 Cannot find command 'git' - do you have 'git' installed and in your PATH?
My Path Variable are all set. please find screenshot with this.