For example if after installing Tornado with pip like this:
pip install tornado
Collecting tornado
...
Successfully installed backports-abc certifi singledispatch six tornado
pip freeze
doesn't return tornado package in list, it just shows:
PyMySQL==0.7.2
also when I run easy_install
it returns:
error: bad install directory or PYTHONPATH
You are attempting to install a package to a directory that is not
on PYTHONPATH and which Python does not read ".pth" files from. The
installation directory you specified (via --install-dir, --prefix, or
the distutils default setting) was:
/lib/python2.7/site-packages/
and your PYTHONPATH environment variable currently contains:
''
What is going wrong?