Fatal error in launcher: Unable to create process using '"' 博客分类: python pythondjangoDjangodjango-admin
创建myweb项目:
F:\workproject\pydj>django-admin startproject myweb
Fatal error in launcher: Unable to create process using '"'
然后想到使用python进行执行,结果报找不到django-admin.py文件,如下:
F:\workproject\pydj>python3 django-admin.py startproject myweb
python3: can't open file 'django-admin.py': [Errno 2] No such file or directory
然后就把C:\Python34\Scripts\django-admin.py copy到F:\workproject\pydj目录下,
在执行F:\workproject\pydj>python3 django-admin.py startproject myweb,OL。
F:\workproject\pydj>dir
2016/06/26 23:35 <DIR> .
2016/06/26 23:35 <DIR> ..
2016/06/26 23:22 133 django-admin.py
2016/06/26 23:35 <DIR> myweb
1 个文件 133 字节
3 个目录 44,450,529,280 可用字节
F:\workproject\pydj>cd myweb
F:\workproject\pydj\myweb>dir
2016/06/26 23:35 <DIR> .
2016/06/26 23:35 <DIR> ..
2016/06/26 23:35 248 manage.py
2016/06/26 23:35 <DIR> myweb
1 个文件 248 字节
3 个目录 44,450,529,280 可用字节
F:\workproject\pydj\myweb>python3 manage.py startapp blog
F:\workproject\pydj\myweb>dir
2016/06/26 23:36 <DIR> .
2016/06/26 23:36 <DIR> ..
2016/06/26 23:36 <DIR> blog
2016/06/26 23:35 248 manage.py
2016/06/26 23:36 <DIR> myweb
1 个文件 248 字节
4 个目录 44,450,258,944 可用字节