ImportError: No module named patoolib
Closed this issue · 4 comments
viniciusbig commented
Hello,
I'm trying to use the pyunpack to open a RAR file.
I've install the patool in order to add RAR suport (patool 1.12)
My pyunpack package is v.0.0.3
But using:
>>> from pyunpack import Archive
>>> Archive('my-file.rar').extractall('./')
I get the error: ImportError: No module named patoolib
I'm using Python 2.7 and a Mac OS El Capitan
What i'm missing?
Thanks for any help
ponty commented
I have no Mac, but it works on Ubuntu.
I just installed it with pip on a clean ubuntu trusty version:
pip install patoolib
pip install pyunpack
Your installation of patoolib can be wrong. Try this in python:
import patoolib
ponty commented
Please try the latest version!
ponty commented
Maybe install error
oubihis commented
for "import patoolib"
you need install "pip install patool"