Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ImportError: No module named magic #1

Open
saivasanth opened this issue Jun 14, 2017 · 2 comments
Open

ImportError: No module named magic #1

saivasanth opened this issue Jun 14, 2017 · 2 comments

Comments

@saivasanth
Copy link

Hi

i have tried your python script for extract the files from my moodle backup file , i am getting below error pls help me

root@boss[moodle2-file-extractor-master]#python mbz-extract.py backup-moodle2-course-2-csc-20170613-0747.mbz
Traceback (most recent call last):
File "mbz-extract.py", line 2, in
import mbz
File "/var/www/html/moodle2-file-extractor-master/mbz.py", line 12, in
import magic
ImportError: No module named magic

@wheelerda
Copy link
Owner

I can't replicate this yet (I don't use magic so one of the other libraries must). What are the specs for the system where you are running this? Looks like Linux. python --version ?

...dan

@wheelerda
Copy link
Owner

I see that there is an update to my original here - https://github.com/Swarthmore/extract-mbz - which might possibly work for you. Worth a try.

...dan

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants