DarrenTang

Results 3 comments of DarrenTang

我是ubuntu1604, python2和python3都有,默认使用python2.7 问题1: 我看所有代码中,均为声明字符集,带中文的脚本执行直接提示字符问题,我加了# -*- coding:utf-8 -*- 后该问题解决。 问题2: 执行pip install -r dev.txt 时,提示没有ipython==6.0,仅有版本最高到5.5.0 问题3: root@ubuntu:/opt/OneStack# python manage.py syncdb Traceback (most recent call last): File "manage.py", line 22, in execute_from_command_line(sys.argv)...

抱歉,这是我的问题。上面的错误,是因为我使用了python2.7、 现在已经切换到python3.5. 但现在runserver后,打开页面默认调整loginurl,但报错: Page not found (404) Request Method: GET Request URL: http://192.168.124.24:9090/login/?next=/ Using the URLconf defined in onestack.urls, Django tried these URL patterns, in this order: ^static/(?P.*)$ ^$ [name='dashboard']...

> 在 centos7 下,用 ssh -i /opt/cloudboot/root/.ssh/id_rsa root@boot_ip 试试 请问下,该私钥的密码是什么? 通过这私钥登录bootos,提示需要输入私钥的密码。