I have a zmq directory in cwd . when i import zmq from a python file running under apache it gives me import error. but when i import zmq using console from current directory it imports.
How to make this import possible from anywhere in my server?
Are you sure that zmq is installed on computer?
If not then try installing it. In ubuntu it is quite easy 
sudo apt-get install python-zmq
python import error when importing zmq