ImportError: No module named gridfs


#1

i’m installing cert-viewer…" https://github.com/blockchain-certificates/cert-viewer "

when i run this command " python run.py -c conf_local.ini "

this error came … when i googled it … mongodb was not installed … i installed it but same error


#2

Can you show us the full error that is displayed?


#3

Image
this is the error


#4

That has not happened to me, but you can try installing that module with:

pip install gridfs


#5

@AlhaddadM: I just got that error when running cert-viewer today.

I had to run again: pip install .
So it rebuilt the dependencies again, and it worked.
Just make sure you run it in the cert-viewer folder, and that you are using a virtualenv.

If you get stucked make sure you follow the Install and Run steps here: https://github.com/blockchain-certificates/cert-viewer

Cheers
Hugo


#6

Sorry i didn’t responed … i solved the problem … i wasn’t in virtualenv…