2016-01-20 118 views
0

我看到類似的問題,但那些是Ruby on Rails問題。我正在使用pythondjango來處理virtualenvHeroku:找不到命令。在Virtualenv工作

我安裝django-toolbelt,我也試過pip install heroku。當我這樣做:

whereis heroku 

我得到這個:

heroku: /usr/bin/heroku 

但是當我嘗試heroku create我得到:

heroku: command not found 

? 非常感謝您的幫助。我不知道如何解決這個問題。

回答

0

這解決了這個問題對我來說:

wget -qO- https://toolbelt.heroku.com/install.sh | bash 

echo 'PATH="/usr/local/heroku/bin:$PATH"' >> ~/.profile