BeautifulSoup4
패키지를 설치 한 후 lxml
패키지를 설치하려고합니다. 터미널에서 raspberry pi가 lxml pip 패키지를 설치할 수 없습니다.
sudo pip install lxml
Downloading/unpacking lxml
Running setup.py egg_info for package lxml
Building lxml version 3.6.1.
Building without Cython.
Using build configuration of libxslt 1.1.26
Building against libxml2/libxslt in the following directory: /usr/lib
Installing collected packages: lxml
Running setup.py install for lxml
Building lxml version 3.6.1.
Building without Cython.
Using build configuration of libxslt 1.1.26
Building against libxml2/libxslt in the following directory: /usr/lib
building 'lxml.etree' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/libxml2 -Isrc/lxml/includes -I/usr/include/python2.7 -c src/lxml/lxml.etree.c -o build/temp.linux-armv9l-2.7/src/lxml/lxml.etree.o -w
을 얻을 것입니다
sudo pip install lxml
그리고 그것은 단지 매우 긴 오랜 시간 동안 마지막 줄에 달려 있습니다, 나는 종료해야 CTRL + C을 눌러서.
누군가가 실제로 그것이 무엇을 의미하는지 말할 수 있습니까?
그런 다음 pip freeze
을 사용해 패키지가 설치되어 있는지 확인하십시오. 아니, 거기 있지 않아.
그것은 당신이 하드웨어가 꽤 그래서 프로그램은 매우 시간이 오래 걸릴 수 있습니다 컴파일 제한되는 장치를 의미합니다. 컴파일 중에 종료하면 설치되지 않는 것이 놀랄만 한 일은 아닙니다. –
내 Raspberry Pi에서 컴파일러가 다음과 같이 말했습니다. "arm-linux-gnueabihf-gcc : 내부 컴파일러 오류 : Killed (프로그램 cc1)"아마도 메모리 부족으로 인해 (아직) 모르겠습니다. –