Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/python-2.7/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Django 启动patchman源代码生成时,InvalidTemplateLibrary在/login/apache2处出错_Django_Python 2.7_Monitoring_Patch_Django Bootstrap3 - Fatal编程技术网

Django 启动patchman源代码生成时,InvalidTemplateLibrary在/login/apache2处出错

Django 启动patchman源代码生成时,InvalidTemplateLibrary在/login/apache2处出错,django,python-2.7,monitoring,patch,django-bootstrap3,Django,Python 2.7,Monitoring,Patch,Django Bootstrap3,我试图在Ubuntu18.01(仿生版)中安装patchman工具&我一直试图从源代码构建patchman。 我按照要求采取了类似的步骤@ 此外,安装已完成,没有任何错误,但当我点击URL时: http:///patchman 我得到以下错误: Request Method: GET http://10.177.209.84/patchman/login/?next=/patchman/dashboard/ 1.10 InvalidTemplateLibrary Invalid

我试图在Ubuntu18.01(仿生版)中安装patchman工具&我一直试图从源代码构建patchman。 我按照要求采取了类似的步骤@

此外,安装已完成,没有任何错误,但当我点击URL时: http:///patchman

我得到以下错误:

Request Method: GET
http://10.177.209.84/patchman/login/?next=/patchman/dashboard/  
1.10    
InvalidTemplateLibrary  
Invalid template library specified. ImportError raised when trying to load 'bootstrap3.templatetags.bootstrap3': No module named parse  
/usr/local/lib/python2.7/dist-packages/django/template/backends/django.py in get_package_libraries, line 130    
/usr/bin/python 
2.7.17  
['/srv/patchman', '/usr/lib/python2.7',
“/usr/lib/python2.7/plat-x86_64-linux-gnu”,“/usr/lib/python2.7/lib-tk”, “/usr/lib/python2.7/lib old”、“/usr/lib/python2.7/lib dynload”, “/usr/local/lib/python2.7/dist包”, “/usr/lib/python2.7/dist包”]

请原谅我是django&python的新手,我肯定犯了一些愚蠢的错误

下面是命令的输出:“pip冻结”


pip安装django-bootstrap3==11.1.0

asn1crypto==0.24.0
beautifulsoup4==4.6.0
certifi==2018.1.18
chardet==3.0.4
colorama==0.3.7
cracklib==2.9.2
cryptography==2.1.4
defusedxml==0.5.0
Django==1.10
django-bootstrap3==12.1.0
django-extensions==1.8.1
django-filter==1.1.0
django-guardian==1.4.9
django-humanize==0.1.2
django-tagging==0.4.5
djangorestframework==3.7.7
dnspython==1.15.0
enum34==1.1.6
gyp==0.1
html5lib==0.999999999
humanize==0.5.1
idna==2.6
ipaddress==1.0.17
ipcalc==1.99.0
keyring==10.6.0
keyrings.alt==3.0
lxml==4.2.1
Markdown==2.6.9
progressbar==2.3
psycopg2==2.7.4
pycrypto==2.6.1
Pygments==2.2.0
pygobject==3.26.1
pygooglechart==0.4.0
pyOpenSSL==17.5.0
python-apt==1.6.5+ubuntu0.3
python-debian==0.1.32
python-magic==0.4.16
pytz==2018.3
pyxdg==0.25
PyYAML==3.12
requests==2.18.4
rpm==4.14.1
SecretStorage==2.3.1
six==1.11.0
sqlparse==0.2.4
urllib3==1.22
webencodings==0.5