Centos 6 : scrapy commend not found(installed successfully)
NickName:JoeKevin Ask DateTime:2017-05-06T22:29:41

Centos 6 : scrapy commend not found(installed successfully)

I guess it because I installed new python2.7 on CentOS 6.

Background: I installed python2.7 on my CentOS 6, but keep python 2.6 of system because my yum is based on python 2.6, and I set python 2.7 as default by:

ln -s /usr/local/python2.7.12/bin/python2.7 /usr/bin/python

Then install new pip for py2.7 and set default by:

ln -s /usr/local/python2.7.12/bin/pip2.7 /usr/bin/pip

last I install scrapy by : pip install scrapy, it success!

But in terminal I run: scrapy -V it throw:

-bash: scrapy: command not found

I guess the scrapy need to be ln -s too as default for system, but I don't know what to do.

Copyright Notice:Content Author:「JoeKevin」,Reproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/43821638/centos-6-scrapy-commend-not-foundinstalled-successfully

More about “Centos 6 : scrapy commend not found(installed successfully)” related questions

Centos 6 : scrapy commend not found(installed successfully)

I guess it because I installed new python2.7 on CentOS 6. Background: I installed python2.7 on my CentOS 6, but keep python 2.6 of system because my yum is based on python 2.6, and I set python 2...

Show Detail

ImportError: No module named Scrapy; even if Scrapy was successfully installed

I am trying to use Scrapy in Python, but even if it is installed, afterwards it is not found when I try import it. I am quite new at python and dealing directly with the Terminal, so probably I am

Show Detail

Python 2.7.10 and scrapy Installation on CentOS 6.7 AWS

I know there are similar posts, but I've followed many instructions on installing python. (I'm no linux expert) But I've constantly hit different problems... The latest problem was this error: C...

Show Detail

Unable to install Twisted on CentOS server

I've been searching the web for ways to solve this issue but nothing works. I have a web server with CentOS 6.7 and I've successfully installed python 2.7.10 on it (it comes with version 2.6.6) I

Show Detail

Scrapy installation fails when collecting Twisted / Centos 7

So guys, I just made a fresh installation of Python 3.6 on Centos 7. Created a virtual environment, when I run pip install scrapy, it starts collecting few other dependencies, but fails when it com...

Show Detail

Scrapy not installed correctly on mac?

I have tried to install Scrapy on mac 10.8.2. Here's what I did: In terminal, I ran the command from with myuser directory: pip install --user scrapy I got the following message in Terminal:

Show Detail

Weird Error in scrapy (CENTOS 6.2)

>>> import scrapy >>> from scrapy.selector import HtmlXPathSelector Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/

Show Detail

permanent fix to scrapy not found

I have a problem with scrapy on my server,each time I open I have to do the answer on [scrapy not found][1] [1]: Scrapy installed, but won't run from the command line export PATH="${PATH}:${HO...

Show Detail

MongoDB PHP driver can't installed Centos 6 cloud server

I have installed MongoDB service in my Centos 6 cloud server. Now i need to install in my server php-pecl-mongo-1.2.10-1.el6.remi.x86_64.rpm... but it gives "packages not found". Can anyone fix this

Show Detail

Vagrant Centos 6 box - MySQL - command not found

I am using a Centos 6 image with MySQL installed in it. When I ssh in the machine I can use the command to run a SQL script in this mysql -u root < db.sql, but when I try to vagrant reload --

Show Detail