[Python] libpython3.5m.so.1.0: cannot open shared object file
2018. 7. 2. 10:32ㆍPython관련/Python
반응형
파일 다운
wget https://www.python.org/ftp/python/3.5.2/Python-3.5.2.tgz
압축해제
configure 설정
./configure --prefix=/usr/local/Python-3.5.2 --enable-shared
make
make install
ln -s /usr/local/Python-3.5.2/bin/python3 /usr/bin/python3
python3: error while loading shared libraries: libpython3.5m.so.1.0: cannot open shared object file: No such file or directory
cp libpython3.5m.so.1.0 /usr/lib/
반응형
'Python관련 > Python' 카테고리의 다른 글
[Python] 02. 데이터 타입 및 문법 (0) | 2019.02.28 |
---|---|
[Python] 01. 설치 및 셋팅 ( Codeanywhere ) (0) | 2019.02.27 |
[Python] 특정문자 파일 찾기 (0) | 2018.07.02 |
[Python] 리눅스에서 실행파일 만들기 (0) | 2018.06.18 |
[Python] 라즈베리파이에서 자동 실행 (2) | 2018.06.12 |