当前位置:网站首页>pip install pyodbc : ERROR: Command errored out with exit status 1

pip install pyodbc : ERROR: Command errored out with exit status 1

2022-07-06 17:29:00 geekqian

The details of the error are shown in the figure below :
 Insert picture description here
Search only “ERROR: Command errored out with exit status 1” This anomaly finds many irrelevant answers . Then use keywords “error: command ‘x86_64-linux-gnu-gcc’ failed with exit status 1 PYODBC” Search for the following answers :

https://github.com/mkleehammer/pyodbc/issues/276

My version is 3.6 Use the following command to install ODBC header files solve

sudo apt-get install python3.6-dev
sudo apt-get install unixodbc-dev
pip install pyodbc
原网站

版权声明
本文为[geekqian]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/02/202202131311066809.html