Closed B0lltz closed 5 years ago
Run pip3 install -r requirements.txt and that will fix your issue
Get Outlook for Androidhttps://aka.ms/ghei36
From: B0lltz notifications@github.com Sent: Thursday, July 4, 2019 1:44:34 AM To: laramies/theHarvester Cc: Subscribed Subject: [laramies/theHarvester] Error at startup (#262)
Traceback (most recent call last): File "./theHarvester.py", line 5, in from theHarvester import main File "/home/b0ltz/theHarvester/theHarvester/main.py", line 3, in from theHarvester.discovery import * File "/home/b0ltz/theHarvester/theHarvester/discovery/shodansearch.py", line 3, in from shodan import exception ModuleNotFoundError: No module named 'shodan'
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/laramies/theHarvester/issues/262?email_source=notifications&email_token=AA3V2QSY3MEWHBDAZHJAWVDP5VBXFA5CNFSM4H5OVKL2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4G5IGYKQ, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AA3V2QTS5NYL75CZDHZ366LP5VBXFANCNFSM4H5OVKLQ.
New error:
Collecting beautifulsoup4>=4.7.1 (from -r requirements.txt (line 1))
Using cached https://files.pythonhosted.org/packages/1d/5d/3260694a59df0ec52f8b4883f5d23b130bc237602a1411fa670eae12351e/beautifulsoup4-4.7.1-py3-none-any.whl
Collecting censys==0.0.8 (from -r requirements.txt (line 2))
Using cached https://files.pythonhosted.org/packages/88/4b/3ca07679928c26bb5503b53c37e2f6eef2521289956e2c1bf74b64008afa/censys-0.0.8.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-998kffg9/censys/
If you are on a Debian system do apt install python3-setuptools and then rerun pip3
Get Outlook for Androidhttps://aka.ms/ghei36
From: B0lltz notifications@github.com Sent: Thursday, July 4, 2019 12:02:48 PM To: laramies/theHarvester Cc: J.Townsend; Comment Subject: Re: [laramies/theHarvester] Error at startup (#262)
New error:
Collecting beautifulsoup4>=4.7.1 (from -r requirements.txt (line 1)) Using cached https://files.pythonhosted.org/packages/1d/5d/3260694a59df0ec52f8b4883f5d23b130bc237602a1411fa670eae12351e/beautifulsoup4-4.7.1-py3-none-any.whl Collecting censys==0.0.8 (from -r requirements.txt (line 2)) Using cached https://files.pythonhosted.org/packages/88/4b/3ca07679928c26bb5503b53c37e2f6eef2521289956e2c1bf74b64008afa/censys-0.0.8.tar.gz Complete output from command python setup.py egg_info: Traceback (most recent call last): File "", line 1, in ModuleNotFoundError: No module named 'setuptools'
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-998kffg9/censys/
— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/laramies/theHarvester/issues/262?email_source=notifications&email_token=AA3V2QSR2MWKZ7KHWHZYW6LP5XKFRA5CNFSM4H5OVKL2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZHDJHA#issuecomment-508441756, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AA3V2QV23FP7WUPCO3VDZMTP5XKFRANCNFSM4H5OVKLQ.
Right after this command: pip3 install -r requirements.txt appeared this:
Collecting beautifulsoup4>=4.7.1 (from -r requirements.txt (line 1)) Using cached https://files.pythonhosted.org/packages/1d/5d/3260694a59df0ec52f8b4883f5d23b130bc237602a1411fa670eae12351e/beautifulsoup4-4.7.1-py3-none-any.whl Collecting censys==0.0.8 (from -r requirements.txt (line 2)) Using cached https://files.pythonhosted.org/packages/88/4b/3ca07679928c26bb5503b53c37e2f6eef2521289956e2c1bf74b64008afa/censys-0.0.8.tar.gz Collecting plotly>=3.10.0 (from -r requirements.txt (line 3)) Downloading https://files.pythonhosted.org/packages/ff/75/3982bac5076d0ce6d23103c03840fcaec90c533409f9d82c19f54512a38a/plotly-3.10.0-py2.py3-none-any.whl (41.5MB) 35% |███████████▎ | 14.6MB 3.6MB/s eta 0:00:08Exception: Traceback (most recent call last): File "/usr/share/python-wheels/urllib3-1.22-py2.py3-none-any.whl/urllib3/response.py", line 302, in _error_catcher yield File "/usr/share/python-wheels/urllib3-1.22-py2.py3-none-any.whl/urllib3/response.py", line 384, in read data = self._fp.read(amt) File "/usr/share/python-wheels/CacheControl-0.11.7-py2.py3-none-any.whl/cachecontrol/filewrapper.py", line 60, in read data = self.__fp.read(amt) File "/usr/lib/python3.6/http/client.py", line 449, in read n = self.readinto(b) File "/usr/lib/python3.6/http/client.py", line 493, in readinto n = self.fp.readinto(b) File "/usr/lib/python3.6/socket.py", line 586, in readinto return self._sock.recv_into(b) File "/usr/lib/python3.6/ssl.py", line 1012, in recv_into return self.read(nbytes, buffer) File "/usr/lib/python3.6/ssl.py", line 874, in read return self._sslobj.read(len, buffer) File "/usr/lib/python3.6/ssl.py", line 631, in read v = self._sslobj.read(len, buffer) socket.timeout: The read operation timed out
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/usr/lib/python3/dist-packages/pip/basecommand.py", line 215, in main status = self.run(options, args) File "/usr/lib/python3/dist-packages/pip/commands/install.py", line 353, in run wb.build(autobuilding=True) File "/usr/lib/python3/dist-packages/pip/wheel.py", line 749, in build self.requirement_set.prepare_files(self.finder) File "/usr/lib/python3/dist-packages/pip/req/req_set.py", line 380, in prepare_files ignore_dependencies=self.ignore_dependencies)) File "/usr/lib/python3/dist-packages/pip/req/req_set.py", line 620, in _prepare_file session=self.session, hashes=hashes) File "/usr/lib/python3/dist-packages/pip/download.py", line 821, in unpack_url hashes=hashes File "/usr/lib/python3/dist-packages/pip/download.py", line 659, in unpack_http_url hashes) File "/usr/lib/python3/dist-packages/pip/download.py", line 882, in _download_http_url _download_url(resp, link, content_file, hashes) File "/usr/lib/python3/dist-packages/pip/download.py", line 603, in _download_url hashes.check_against_chunks(downloaded_chunks) File "/usr/lib/python3/dist-packages/pip/utils/hashes.py", line 46, in check_against_chunks for chunk in chunks: File "/usr/lib/python3/dist-packages/pip/download.py", line 571, in written_chunks for chunk in chunks: File "/usr/lib/python3/dist-packages/pip/utils/ui.py", line 139, in iter for x in it: File "/usr/lib/python3/dist-packages/pip/download.py", line 560, in resp_read decode_content=False): File "/usr/share/python-wheels/urllib3-1.22-py2.py3-none-any.whl/urllib3/response.py", line 436, in stream data = self.read(amt=amt, decode_content=decode_content) File "/usr/share/python-wheels/urllib3-1.22-py2.py3-none-any.whl/urllib3/response.py", line 401, in read raise IncompleteRead(self._fp_bytes_read, self.length_remaining) File "/usr/lib/python3.6/contextlib.py", line 99, in exit self.gen.throw(type, value, traceback) File "/usr/share/python-wheels/urllib3-1.22-py2.py3-none-any.whl/urllib3/response.py", line 307, in _error_catcher raise ReadTimeoutError(self._pool, None, 'Read timed out.') urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out.
If you use a virtualenv this will be the best way to fix your issue
Traceback (most recent call last): File "./theHarvester.py", line 5, in
from theHarvester import main
File "/home/b0ltz/theHarvester/theHarvester/main.py", line 3, in
from theHarvester.discovery import *
File "/home/b0ltz/theHarvester/theHarvester/discovery/shodansearch.py", line 3, in
from shodan import exception
ModuleNotFoundError: No module named 'shodan'