1

I have a problem with python and Django.

I have the error "Error was: No module named httplib2", so i installed httplib2. When i go on my console and type "import httplib2" it works! But when i try to do that on my web page, it fails.

Any idea?

Thank you!

1 Answer 1

2

HTTPd using a different version/install of Python than your REPL.

Sign up to request clarification or add additional context in comments.

5 Comments

I only have one version installed on my compiuter. How can I check this?
Print something useful, like sys.version and/or sys.executable.
Install the module on the version/install that HTTPd is using.
Can you explain me how to choose on with version i install a module?
Run the installer with the executable for that version.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.