콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
2 답글
3947 화면

Hi, I currently use python version 3.12.2, pip version 24.0


I got an error while installing from requirements.txt as follows.


error: command '/usr/bin/clang' failed with exit code 1

>>>

Could not build wheels for greenlet, lxml, Pillow, reportlab, which is required to install pyproject.toml-based projects


아바타
취소
베스트 답변

Hi Thanapol,

I encountered the same issue you're experiencing. Please try changing your Python version from 3.12.2 to 3.10.14 and then attempt the operation again.

아바타
취소

I have the same issue. I upgraded to 24.04 and upgrading setuptools and installing lxml did not help. 
How did you changed your Python version?

To install Python, you can use the following command:

sudo apt install python3.10
To install a library for Python 3.10, use this command:

python3.10 -m pip install <lib-name>

베스트 답변

Hi,

Try to upgrade setuptools.

pip install --upgrade setuptools

pip install lxml


Hope it helps

아바타
취소
관련 게시물 답글 화면 활동
1
3월 23
5263
3
7월 25
1428
3
6월 25
4588
5
5월 25
5108
2
5월 25
1885