theHarvester: failure to import modulesBackintime won't start (no module named dbus)checkbox software problem in ubuntu 16In ubuntu IDE doest load tkinter library for python3 or python2

MTG - Priority and timing between activated abilities and instants

Dual wielding two +1 Longswords, do they stack?

Why not send a Gaia-like mission to Mars?

How did Asian civilizations circa 1500 produce cosmetics?

Narrow text in Plain TeX/XeTeX

How to create electric light with 1300s technology

How to grep words from a single string matching a pattern?

Cheap and safe way to dim 100+ 60W Incandescent bulbs

Chess PhD topic in machine learning?

What does "teleport anywhere in the world" mean?

In C#, is there a way to enforce behavior coupling in interface methods or is the fact that I am trying to do that a design smell?

Why is a living creature being frozen in carbonite in “The Mandalorian” so common when it seemed so risky in “The Empire Strikes Back?”

Why do investors pay trillions for minority stakes in companies, when their only potential payback is modest uncertain dividends?

Why can I solve an impossible equation using linear algebra?

Can the Fortress spell be dispelled?

Messed up my .bash_profile remotely, can't ssh back in

Did Russia's economy boom between 1999 and 2013?

How to help a male-presenting person shop for women's clothes?

Why did we never simplify key signatures?

What pH range is suitable for cooking on teflon?

What is the rationale for single engine military aircraft?

Sorting sequences independent of color

Sump pump automated battery backup

Has Darth Vader ever worn a different suit than his traditional black one?



theHarvester: failure to import modules


Backintime won't start (no module named dbus)checkbox software problem in ubuntu 16In ubuntu IDE doest load tkinter library for python3 or python2






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty
margin-bottom:0;









0


















I'm trying to install and run theHarvester. I'm running Ubuntu 16.04 LTS.



My default python3 is version 3.5.2. theHarvester requires Python3.6+, so I've installed Python3.6 and Python3.7 with sudo apt install python3.6 pthon3.7. My pip3 is version 8.1.1 (seems to be for python3.5).



I've run pip3 install -r requirements.txt to install the dependencies. When I do python3.6 theHarvester.py, I get the following errors:



Traceback (most recent call last):
File "theHarvester.py", line 10, in <module>
from theHarvester import __main__
File "/home/johnzhau/myTools/theHarvester/theHarvester/__init__.py", line 1, in <module>
from gevent import monkey as curious_george
ModuleNotFoundError: No module named 'gevent'
Error in sys.excepthook:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 63, in apport_excepthook
from apport.fileutils import likely_packaged, get_recent_crashes
File "/usr/lib/python3/dist-packages/apport/__init__.py", line 5, in <module>
from apport.report import Report
File "/usr/lib/python3/dist-packages/apport/report.py", line 30, in <module>
import apport.fileutils
File "/usr/lib/python3/dist-packages/apport/fileutils.py", line 23, in <module>
from apport.packaging_impl import impl as packaging
File "/usr/lib/python3/dist-packages/apport/packaging_impl.py", line 23, in <module>
import apt
File "/usr/lib/python3/dist-packages/apt/__init__.py", line 23, in <module>
import apt_pkg
ModuleNotFoundError: No module named 'apt_pkg'

Original exception was:
Traceback (most recent call last):
File "theHarvester.py", line 10, in <module>
from theHarvester import __main__
File "/home/johnzhau/myTools/theHarvester/theHarvester/__init__.py", line 1, in <module>
from gevent import monkey as curious_george
ModuleNotFoundError: No module named 'gevent'


Apparently, installing the dependencies with pip3 v8.1.1 doesn't let python3.6 use the dependencies. How should I fix it so that either I can install dependencies for python 3.6+ or let python3.6 read pip3 v8.1.1 (python3.5)'s dependencies?










share|improve this question































    0


















    I'm trying to install and run theHarvester. I'm running Ubuntu 16.04 LTS.



    My default python3 is version 3.5.2. theHarvester requires Python3.6+, so I've installed Python3.6 and Python3.7 with sudo apt install python3.6 pthon3.7. My pip3 is version 8.1.1 (seems to be for python3.5).



    I've run pip3 install -r requirements.txt to install the dependencies. When I do python3.6 theHarvester.py, I get the following errors:



    Traceback (most recent call last):
    File "theHarvester.py", line 10, in <module>
    from theHarvester import __main__
    File "/home/johnzhau/myTools/theHarvester/theHarvester/__init__.py", line 1, in <module>
    from gevent import monkey as curious_george
    ModuleNotFoundError: No module named 'gevent'
    Error in sys.excepthook:
    Traceback (most recent call last):
    File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 63, in apport_excepthook
    from apport.fileutils import likely_packaged, get_recent_crashes
    File "/usr/lib/python3/dist-packages/apport/__init__.py", line 5, in <module>
    from apport.report import Report
    File "/usr/lib/python3/dist-packages/apport/report.py", line 30, in <module>
    import apport.fileutils
    File "/usr/lib/python3/dist-packages/apport/fileutils.py", line 23, in <module>
    from apport.packaging_impl import impl as packaging
    File "/usr/lib/python3/dist-packages/apport/packaging_impl.py", line 23, in <module>
    import apt
    File "/usr/lib/python3/dist-packages/apt/__init__.py", line 23, in <module>
    import apt_pkg
    ModuleNotFoundError: No module named 'apt_pkg'

    Original exception was:
    Traceback (most recent call last):
    File "theHarvester.py", line 10, in <module>
    from theHarvester import __main__
    File "/home/johnzhau/myTools/theHarvester/theHarvester/__init__.py", line 1, in <module>
    from gevent import monkey as curious_george
    ModuleNotFoundError: No module named 'gevent'


    Apparently, installing the dependencies with pip3 v8.1.1 doesn't let python3.6 use the dependencies. How should I fix it so that either I can install dependencies for python 3.6+ or let python3.6 read pip3 v8.1.1 (python3.5)'s dependencies?










    share|improve this question



























      0













      0









      0








      I'm trying to install and run theHarvester. I'm running Ubuntu 16.04 LTS.



      My default python3 is version 3.5.2. theHarvester requires Python3.6+, so I've installed Python3.6 and Python3.7 with sudo apt install python3.6 pthon3.7. My pip3 is version 8.1.1 (seems to be for python3.5).



      I've run pip3 install -r requirements.txt to install the dependencies. When I do python3.6 theHarvester.py, I get the following errors:



      Traceback (most recent call last):
      File "theHarvester.py", line 10, in <module>
      from theHarvester import __main__
      File "/home/johnzhau/myTools/theHarvester/theHarvester/__init__.py", line 1, in <module>
      from gevent import monkey as curious_george
      ModuleNotFoundError: No module named 'gevent'
      Error in sys.excepthook:
      Traceback (most recent call last):
      File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 63, in apport_excepthook
      from apport.fileutils import likely_packaged, get_recent_crashes
      File "/usr/lib/python3/dist-packages/apport/__init__.py", line 5, in <module>
      from apport.report import Report
      File "/usr/lib/python3/dist-packages/apport/report.py", line 30, in <module>
      import apport.fileutils
      File "/usr/lib/python3/dist-packages/apport/fileutils.py", line 23, in <module>
      from apport.packaging_impl import impl as packaging
      File "/usr/lib/python3/dist-packages/apport/packaging_impl.py", line 23, in <module>
      import apt
      File "/usr/lib/python3/dist-packages/apt/__init__.py", line 23, in <module>
      import apt_pkg
      ModuleNotFoundError: No module named 'apt_pkg'

      Original exception was:
      Traceback (most recent call last):
      File "theHarvester.py", line 10, in <module>
      from theHarvester import __main__
      File "/home/johnzhau/myTools/theHarvester/theHarvester/__init__.py", line 1, in <module>
      from gevent import monkey as curious_george
      ModuleNotFoundError: No module named 'gevent'


      Apparently, installing the dependencies with pip3 v8.1.1 doesn't let python3.6 use the dependencies. How should I fix it so that either I can install dependencies for python 3.6+ or let python3.6 read pip3 v8.1.1 (python3.5)'s dependencies?










      share|improve this question














      I'm trying to install and run theHarvester. I'm running Ubuntu 16.04 LTS.



      My default python3 is version 3.5.2. theHarvester requires Python3.6+, so I've installed Python3.6 and Python3.7 with sudo apt install python3.6 pthon3.7. My pip3 is version 8.1.1 (seems to be for python3.5).



      I've run pip3 install -r requirements.txt to install the dependencies. When I do python3.6 theHarvester.py, I get the following errors:



      Traceback (most recent call last):
      File "theHarvester.py", line 10, in <module>
      from theHarvester import __main__
      File "/home/johnzhau/myTools/theHarvester/theHarvester/__init__.py", line 1, in <module>
      from gevent import monkey as curious_george
      ModuleNotFoundError: No module named 'gevent'
      Error in sys.excepthook:
      Traceback (most recent call last):
      File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 63, in apport_excepthook
      from apport.fileutils import likely_packaged, get_recent_crashes
      File "/usr/lib/python3/dist-packages/apport/__init__.py", line 5, in <module>
      from apport.report import Report
      File "/usr/lib/python3/dist-packages/apport/report.py", line 30, in <module>
      import apport.fileutils
      File "/usr/lib/python3/dist-packages/apport/fileutils.py", line 23, in <module>
      from apport.packaging_impl import impl as packaging
      File "/usr/lib/python3/dist-packages/apport/packaging_impl.py", line 23, in <module>
      import apt
      File "/usr/lib/python3/dist-packages/apt/__init__.py", line 23, in <module>
      import apt_pkg
      ModuleNotFoundError: No module named 'apt_pkg'

      Original exception was:
      Traceback (most recent call last):
      File "theHarvester.py", line 10, in <module>
      from theHarvester import __main__
      File "/home/johnzhau/myTools/theHarvester/theHarvester/__init__.py", line 1, in <module>
      from gevent import monkey as curious_george
      ModuleNotFoundError: No module named 'gevent'


      Apparently, installing the dependencies with pip3 v8.1.1 doesn't let python3.6 use the dependencies. How should I fix it so that either I can install dependencies for python 3.6+ or let python3.6 read pip3 v8.1.1 (python3.5)'s dependencies?







      dependencies python3 versions






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Sep 19 at 15:17









      John ZhauJohn Zhau

      1312 bronze badges




      1312 bronze badges























          0






          active

          oldest

          votes













          Your Answer








          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "89"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );














          draft saved

          draft discarded
















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1175286%2ftheharvester-failure-to-import-modules%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown


























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















          draft saved

          draft discarded















































          Thanks for contributing an answer to Ask Ubuntu!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1175286%2ftheharvester-failure-to-import-modules%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown









          Popular posts from this blog

          Tamil (spriik) Luke uk diar | Nawigatjuun

          Align equal signs while including text over equalitiesAMS align: left aligned text/math plus multicolumn alignmentMultiple alignmentsAligning equations in multiple placesNumbering and aligning an equation with multiple columnsHow to align one equation with another multline equationUsing \ in environments inside the begintabularxNumber equations and preserving alignment of equal signsHow can I align equations to the left and to the right?Double equation alignment problem within align enviromentAligned within align: Why are they right-aligned?

          Where does the image of a data connector as a sharp metal spike originate from?Where does the concept of infected people turning into zombies only after death originate from?Where does the motif of a reanimated human head originate?Where did the notion that Dragons could speak originate?Where does the archetypal image of the 'Grey' alien come from?Where did the suffix '-Man' originate?Where does the notion of being injured or killed by an illusion originate?Where did the term “sophont” originate?Where does the trope of magic spells being driven by advanced technology originate from?Where did the term “the living impaired” originate?