1)I use multi -versions,but I when I use pyenv to shift to other version(installed by pyenv),I cant install any package like numpy and tensorflow.
lzw@resplendent-star:~$ python3
Python 3.8.1 (default, Apr 11 2020, 17:03:40)
[GCC 7.5.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import numpy
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'numpy'
>>> exit()
lzw@resplendent-star:~$ sudo -H pip3 install numpy
Requirement already satisfied: numpy in /usr/lib/python3/dist-packages
you could see,3.8.1 is what I installed by pyenv,but I cant install numpy for it.
2)The worst thing,how could I use system default python?