You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 28, 2019. It is now read-only.
Vultr VPS LA $5+Ubuntu 16.04
测试手动部署(一键部署已经满足不了我看AV的心)
按教程部署完毕,遇到internal error。回看error log发现:
File "/var/www/google/wsgi.py", line 9, in
from zmirror.zmirror import app as application
File "/var/www/google/zmirror/zmirror.py", line 23, in
from flask import Flask, request, make_response, Response, redirect
ImportError: No module named 'flask'
mod_wsgi (pid=32603): Target WSGI script '/var/www/google/wsgi.py' cannot be loaded as Python module.
重新sudo python3 -m pip install flask 发现error:
Traceback (most recent call last):
File "< string > ", line 1, in < module >
ImportError: No module named 'setuptools'
Vultr VPS LA $5+Ubuntu 16.04
测试手动部署(一键部署已经满足不了我看AV的心)
按教程部署完毕,遇到internal error。回看error log发现:
File "/var/www/google/wsgi.py", line 9, in
from zmirror.zmirror import app as application
File "/var/www/google/zmirror/zmirror.py", line 23, in
from flask import Flask, request, make_response, Response, redirect
ImportError: No module named 'flask'
mod_wsgi (pid=32603): Target WSGI script '/var/www/google/wsgi.py' cannot be loaded as Python module.
重新sudo python3 -m pip install flask 发现error:
Traceback (most recent call last):
File "< string > ", line 1, in < module >
ImportError: No module named 'setuptools'
最后用sudo apt-get install python3-setuptools 解决问题
不知道是不是VPS自带Ubuntu的原因,反正是重新安装纯净系统后马上部署zmirror遇到的。
所以安装的时候可能要加上python3-setuptools。
The text was updated successfully, but these errors were encountered: