我有权访问Dreamhost子域,我试图运行Django REST应用程序。服务器在Ubuntu 12.04.5 LTS上运行。在我的虚拟环境中出现了问题,所以我试图按照Dreamhost's instructions再次安装Python。我在步骤4卡住:采购.bash_profile不返回
. ~/.bash_profile
该命令不返回,我必须中断它才能返回。这里是我的.bashrc:
# ~/.bashrc: executed by bash(1) for non-login shells.
export NVM_DIR="/home/julius/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" # This loads nvm
source .bash_profile
,这里是我的.bash_profile:
# ~/.bash_profile: executed by bash(1) for login shells.
umask 002
PS1='[\h]$ '
. $HOME/.bashrc
export PATH=$HOME/opt/python-3.5.1/bin:$PATH
我在做什么错?
您的'.bash_profile'资源'.bashrc'和您的'.bashrc'资源'.bash_profile'。这不能很好地结束。 –