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

后端 未结 9 1669
别那么骄傲
别那么骄傲 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:15

    This one worked for me.

    cd ~/
    vim .bashrc
    export LD_LIBRARY_PATH=~/miniconda/envs/python3.6/lib/
    

提交回复
热议问题