我試圖在安裝BeautifulSoup4
包後安裝lxml
包。raspberry pi無法安裝lxml pip包
在終端I型:
sudo pip install lxml
這就是我得到
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
然後它只是在一個很長很長一段時間的最後一行掛在那兒,我不得不退出按下CTRL + C 。
有人能告訴我它的真正含義嗎?
然後我嘗試pip freeze
以查看是否安裝了該軟件包。不,它不在那裏。
這意味着你所在的硬件是相當有限,因此在編譯程序可能需要很長一段時間的設備上。如果你在編譯過程中退出,那麼它不會被安裝。 –
在我的樹莓派編譯器崩潰說:「arm-linux-gnueabihf-gcc:內部編譯器錯誤:殺死(程序cc1)」也許由於缺乏內存,我不知道(還)。 –