Need to install scrapy and scrapyd . When installing, I get the error:

 OSError: [Errno 13] Permission denied: '/opt/rh/python27/root/usr/lib/python2.7/site-packages/idna' 

Is this even possible, or can you use what is in the distribution?

    1 answer 1

    Try this:

     $ rhc ssh <app_name> $ pip install scrapy scrapyd 

    Or write these packages in requirements.txt

     scrapy==1.1.2 scrapyd==1.1.0 
    • Thanks, I will try and accomplish your goal. - RSH
    • Stops at "Running setup.py bdist_wheel for lxml", hangs and then the session ends. - RSH