I created a python virtual environment using virtualenv, after activating it, I see where Python is installed,
(virtualenv-test) bash -4.1 $ whereis python
python: /usr/bin/python2.6/usr/bin/python2.6-config/usr/bin/python / usr / lib / python 2.6 / usr / lib64 / python2.6 / usr / X11R6 / bin / python2. 6 / usr / X 11R6 / bin / python2.6-config / usr / X11R6 / bin / python / usr / bin / X 11 / python2.6 / usr / bin / X11 / python2.6-config / usr / bin / X 11 / python / usr / include / python2.6 / usr / share / man / man 1 / python.1.gz
(virtualenv-test) bash -4.1 $, which python
/ data / virtualenv test / bin / Python
However, after entering python, I received the following error message, what could be the main reason?
(virtualenv-test) bash-4.1$ python
python: error while loading shared libraries: libpython3.4m.so.1.0: cannot open shared object file: No such file or directory