Python centos6.3安装scrapy失败,找不到bash:scrapy:命令
我安装所有软件包: 现在我有一个测试:Python centos6.3安装scrapy失败,找不到bash:scrapy:命令,python,centos,scrapy,Python,Centos,Scrapy,我安装所有软件包: 现在我有一个测试: Type "help", "copyright", "credits" or "license" for more information. import scrapy from scrapy.selector import HtmlXPathSelector exit() [root@dev site-packages]# scrapy bash: scrapy: command not found 怎
Type "help", "copyright", "credits" or "license" for more information.
import scrapy
from scrapy.selector import HtmlXPathSelector
exit()
[root@dev site-packages]# scrapy
bash: scrapy: command not found
怎么办?谢谢。如何安装scrapy?容易安装吗?还是pip安装?还是python安装setup.py?这应该是路径问题。您需要将bin/scrapy脚本安装到路径中的目录中,如/usr/local/bin 这里有一个类似的问题: