django createsuperuser not working

前端 未结 2 1505
长情又很酷
长情又很酷 2021-02-06 05:51

.bash_profile

export PATH=\"/Applications/MAMP/bin:/usr/local/bin:/usr/local/sbin:usr/local/$
export DYLD_LIBRARY_PATH=\"/usr/local/mysql/lib:$DYLD_LIBRARY_PAT         


        
2条回答
  •  旧巷少年郎
    2021-02-06 06:09

    The accepted answer didn't work for me, so I keep searching around and found this. It works for me. For sake of time saving I copy paste the two lines here. Enter this in terminal:

    $ LC_CTYPE=en_US.UTF-8
    $ LC_ALL=en_US.UTF-8
    

    Note: I use Mac OS 10.7 if that's relevant. Setting locale in system preference didn't work for me either.

提交回复
热议问题