ModuleNotFoundError: No module named 'logtools' Again

1,168 views
Skip to first unread message

Daej Arab

unread,
May 9, 2017, 3:11:23 AM5/9/17
to PartitionFinder
Hi,

I have been trying to run PF2 on my MacOS but I keep receiving this error:

Traceback (most recent call last):

  File "/Users/daejarab/Desktop/partitionfinder-2.1.1/PartitionFinder.py", line 21, in <module>

    from partfinder import main

  File "/Users/daejarab/Desktop/partitionfinder-2.1.1/partfinder/main.py", line 23, in <module>

    import logtools

ModuleNotFoundError: No module named 'logtools'


Now, I know others have had that problem and the answer was to make sure Anaconda is installed probably. I think it is, since when I type python I get this:

vlan-2687-10-17-100-143:~ daejarab$ python

Python 3.6.0 |Anaconda 4.3.1 (x86_64)| (default, Dec 23 2016, 13:19:00) 

[GCC 4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.57)] on darwin

Type "help", "copyright", "credits" or "license" for more information.


It will be great if I can get some help :)

Thanks heaps!

Daej









Rob Lanfear

unread,
May 9, 2017, 6:48:40 AM5/9/17
to PartitionFinder
Dear Daej,

Thanks for putting in all the output that you did. The problem is an easy one. Turns out you've installed the wrong version of Anaconda - you have installed the Python 3.6.0 version, rather than the Python 2.7 version.

If you go back to the manual, it describes how to install the Python 2.7 version, which is what you want. Before you do that, you should delete the Python 3.6 version just to be on the safe side. Details here: https://docs.continuum.io/anaconda/install#simple-remove

After that, it should work, but post here if you're still having trouble.

Cheers,

Rob

--
You received this message because you are subscribed to the Google Groups "PartitionFinder" group.
To unsubscribe from this group and stop receiving emails from it, send an email to partitionfinder+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Rob Lanfear
Ecology, Evolution, and Genetics,
The Australian National University,
Canberra
Reply all
Reply to author
Forward
0 new messages