麻烦大佬们帮忙看一下,网上没找到答案。
Traceback (most recent call last): File "web.py", line 13, in <module> from flask import Flask,request,redirect#,render_template ModuleNotFoundError: No module named 'flask'</module>
还有'request'也是同样的提示。我已经按照软件提示把 flask 安装过了,不知道问题出在哪里。 求解答,谢谢。
1
a22271001 2019-10-26 11:39:54 +08:00 via Android
系统? python 版本?怎么安装的?
普通情况下 pip3 install flask 就能用了 |
2
JaviDN OP |
3
BBrother 2019-10-26 11:47:22 +08:00
你是不是把文件夹或者哪个文件命名为 flask 了?
|
5
tohearts 2019-10-26 11:52:21 +08:00
使用命令行还是软件运行,如果是软件运行的话,看下解析器是不是对的。
|
6
JaviDN OP |
7
andylsr 2019-10-26 12:23:04 +08:00 via Android
你的项目目录起名是不是叫 fladk😂
|
9
so1n 2019-10-26 12:25:03 +08:00 via Android
这种应该是项目名为 flask😂
|
10
SjwNo1 2019-10-26 13:59:25 +08:00
重名了 应该是
|
11
JaviDN OP |
12
JaviDN OP python3 main.py -yu https://xxxx
Traceback (most recent call last): File "main.py", line 12, in <module> from ssrspeed.core import SSRSpeedCore File "/Users/javi/Downloads/SS 相关 /SSRSpeed-2.6.3/ssrspeed/core/__init__.py", line 3, in <module> from .ssrspeed_core import SSRSpeedCore File "/Users/javi/Downloads/SS 相关 /SSRSpeed-2.6.3/ssrspeed/core/ssrspeed_core.py", line 13, in <module> from ..client_launcher import ShadowsocksClient as SSClient File "/Users/javi/Downloads/SS 相关 /SSRSpeed-2.6.3/ssrspeed/client_launcher/__init__.py", line 4, in <module> from .client_shadowsocksr import ShadowsocksR as ShadowsocksRClient File "/Users/javi/Downloads/SS 相关 /SSRSpeed-2.6.3/ssrspeed/client_launcher/client_shadowsocksr.py", line 5, in <module> import requests ModuleNotFoundError: No module named 'requests' |