python: error while loading shared libraries: libpython3.4m.so.1.0: cannot open shared object file: No such file or directory

后端 未结 9 1571
别那么骄傲
别那么骄傲 2021-02-02 07:36

I have created a python virtual environment using virtualenv, after activating it, I can see where is Python installed in my shell as following:



        
9条回答
  •  傲寒
    傲寒 (楼主)
    2021-02-02 08:20

    Kudos to above, For python 3.X you can fix this issue with:

    sudo apt-get install libpython3.x-dev
    

    No need to any changes to environment path manually.

提交回复
热议问题