python项目管理 只要勾选安装模块依赖 就会报错 ,不勾选就没问题从新安装了pyenv 选择了版本也还是报错 具体报错信息如下
抱歉,出错了:
Traceback (most recent call last):
File "class/flask_sockets.py", line 30, in __call__
handler, values = adapter.match()
File "/www/server/panel/pyenv/lib/python3.7/site-packages/werkzeug/routing.py", line 1945, in match
raise NotFound()
werkzeug.exceptions.NotFound: 404 Not Found: The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "class/public.py", line 293, in ReadFile
f_body = fp.read()
File "/www/server/panel/pyenv/lib/python3.7/codecs.py", line 322, in decode
(result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xff in position 0: invalid start byte
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "class/public.py", line 299, in ReadFile
f_body = fp.read()
File "/www/server/panel/pyenv/lib/python3.7/codecs.py", line 322, in decode
(result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xff in position 0: invalid start byte
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "class/panelPlugin.py", line 1965, in a
return eval(execStr)
File "", line 1, in
File "plugin/pythonmamager/pythonmamager_main.py", line 266, in CreateProject
requirements = self.__install_module(values["install_module"],values["path"],vpath)
File "plugin/pythonmamager/pythonmamager_main.py", line 100, in __install_module
requirementsconf = public.readFile(requirements).splitlines()
File "class/public.py", line 317, in readFile
return ReadFile(filename,mode)
File "class/public.py", line 303, in ReadFile
f_body = fp.read()
UnicodeDecodeError: 'gbk' codec can't decode byte 0xff in position 0: illegal multibyte sequence
|
|