I have an rails app deployed on heroku. This app depends on one python module, https://github.com/clips/pattern. Based on documentation of pattern
, I could install by two ways:
1: cd pattern-2.5; python setup.py install
creating /usr/local/lib/python2.7/site-packages/pattern error: could not create '/usr/local/lib/python2.7/site-packages/pattern': Read-only file system
2: pip install pattern
bash: pip: command not found
Please, advise me how to install pattern. I found a similar question, How to install python module on Heroku cedar stack with Rails, but it just doesn't work for me.
sudo python setup.py install
. For your second method, try to install pip. see this link filon.us/slava/?p=189 . Then use :sudo pip install pattern – tqjustc Mar 28 at 18:05sudo
command on heroku. – Chamnap Mar 29 at 1:07Readonly file system
. – Chamnap Mar 29 at 1:31