尝试使用时创建项目时出现此错误
djangocms -p . mysite
我已经完成了StackOverflow中的所有答案,但无法解决问题。
Traceback (most recent call last):
File "C:\Users\PC4\Desktop\site14\env\Scripts\djangocms-script.py", line 9, in <module>
load_entry_point('djangocms-installer==0.8.1', 'console_scripts', 'djangocms')()
File "c:\users\pc4\desktop\site14\env\lib\site-packages\djangocms_installer\main.py", line 41, in execute
django.setup_database(config_data)
File "c:\users\pc4\desktop\site14\env\lib\site-packages\djangocms_installer\django\__init__.py", line 404, in setup_database
env=env
File "c:\python27\Lib\subprocess.py", line 535, in check_call
retcode = call(*popenargs, **kwargs)
File "c:\python27\Lib\subprocess.py", line 522, in call
return Popen(*popenargs, **kwargs).wait()
File "c:\python27\Lib\subprocess.py", line 710, in __init__
errread, errwrite)
File "c:\python27\Lib\subprocess.py", line 958, in _execute_child
startupinfo)
TypeError: environment can only contain strings
不能选择更改为Linux。