title: ImportError: No module named parse
body: <p>I am trying to run web application using mongodb and pymongo to serve data from database.  </p>
  
  <p>The error I am getting is ImportError: No module named parse. Please see below error.log from apache2 web server:</p>
  
  <pre><code>mod_wsgi (pid=18824): Target WSGI script '/var/www/FlaskApp/flaskapp.wsgi' cannot be loaded as Python module.
  [:error] [pid 18824:tid 139967053518592] mod_wsgi (pid=18824): Exception occurred processing WSGI script '/var/www/FlaskApp/flaskapp.wsgi'.
  [:error] [pid 18824:tid 139967053518592] Traceback (most recent call last):
  File "/var/www/FlaskApp/flaskapp.wsgi", line 12, in &lt;module&gt;
  [:error] [pid 18824:tid 139967053518592]      from ABC import app as application
  [:error] [pid 18824:tid 139967053518592]    File "var/www/FlaskApp/ABC/__init__.py", line 1, in &lt;module&gt;
  [:error] [pid 18824:tid 139967053518592]     from pymongo import MongoClient
  [:error] [pid 18824:tid 139967053518592]   File "/var/www/FlaskApp/ABC/venv/lib/python3.4/site-packages/pymongo/__init__.py", line 92, in &lt;module&gt;
  [:error] [pid 18824:tid 139967053518592]     from pymongo.connection import Connection
  [:error] [pid 18824:tid 139967053518592]    File "/var/www/FlaskApp/ABC/venv/lib/python3.4/site-packages/pymongo/connection.py", line 39, in &lt;module&gt;
  [:error] [pid 18824:tid 139967053518592]      from pymongo.mongo_client import MongoClient
  [:error] [pid 18824:tid 139967053518592]    File "/var/www/FlaskApp/ABC/venv/lib/python3.4/site-packages/pymongo/mongo_client.py", line 46, in &lt;module&gt;
  [:error] [pid 18824:tid 139967053518592]      from pymongo import (auth,
  [:error] [pid 18824:tid 139967053518592]    File "/var/www/FlaskApp/ABC/venv/lib/python3.4/site-packages/pymongo/uri_parser.py", line 18, in &lt;module&gt;
  [:error] [pid 18824:tid 139967053518592]     from urllib.parse import unquote_plus
  [:error] [pid 18824:tid 139967053518592]  ImportError: No module named parse
  </code></pre>
  
  <p>I have virtual environment for Python 3.4, Flask, and pymongo. I am using mongodb 2.6.7. </p>
  
  <p>Any ideas what causes issue?</p>