当前位置: 首页 > 工具软件 > Thumbor > 使用案例 >

Windos7 安装 thumbor 遇到的python版本问题

杨征
2023-12-01
(py36) C:\Users\Administrator>thumbor --port=8888
Traceback (most recent call last):
  File "d:\myprogramfiles\anaconda3\envs\py36\lib\runpy.py", line 193, in _run_m
odule_as_main
    "__main__", mod_spec)
  File "d:\myprogramfiles\anaconda3\envs\py36\lib\runpy.py", line 85, in _run_co
de
    exec(code, run_globals)
  File "D:\MyProgramFiles\anaconda3\envs\py36\Scripts\thumbor.exe\__main__.py",
line 9, in <module>
  File "d:\myprogramfiles\anaconda3\envs\py36\lib\site-packages\thumbor\server.p
y", line 141, in main
    validate_config(config, server_parameters)
  File "d:\myprogramfiles\anaconda3\envs\py36\lib\site-packages\thumbor\server.p
y", line 85, in validate_config
    'Please provide one using the conf file or a security key file.')
RuntimeError: No security key was found for this instance of thumbor. Please pro
vide one using the conf file or a security key file.

环境为:python3.6 + anaconda 

python3.7 也不行,在Github上看到,这个项目不支持python3,所以记录一下。

转载于:https://www.cnblogs.com/yamboo/p/10831560.html

 类似资料: