我正在运行Ubuntu LTS并且在尝试执行某些pip安装时遇到错误,例如scrapy.这是我得到的错误:
Unable to execute gcc: No such file or directory Error: command 'gcc' Failed with exit status 1
我正在virtualenv中安装pip.我尝试使用以下命令安装build essentials但我仍然得到相同的错误:
apt-get -y install build-essential
任何人都可以帮我理解我哪里出错了吗?
编辑 – 更多信息:
ubuntu@ip-10-164-8-155:/var/log$gcc -v The program 'gcc' can be found in the following packages: * gcc * pentium-builder Try: sudo apt-get install <selected package>