pip install models ModuleNotFoundError: No module named 'base'
python -m pip install --upgrade --force pip
pip install setuptools==33.1.1
https://blog.csdn.net/qq_37788558/article/details/79049410
解决了安装pip install models又 提示
ModuleNotFoundError: No module named 'base'
----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/e6/6a/0a4cb29c5d32d
be06080deebd1e4f8896f6de56f954d690d492e8044b91/models-0.0.4.tar.gz#sha256=4537a
b50b1efb54ff52762f6108be8afcfc194927380d948d7d983ac2557a98 (from https://pypi.o
g/simple/models/). Command errored out with exit status 1: python setup.py egg_
nfo Check the logs for full command output.
Downloading models-0.0.3.tar.gz (6.2 kB)
ERROR: Command errored out with exit status 1:
command: 'd:\installed\programdata\anaconda3\python.exe' -c 'import io, os
sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\Administrator\\AppDat
\\Local\\Temp\\pip-install-h4a6smpy\\models_1f900994d28c470d80cec06fe9740779\\s
tup.py'"'"'; __file__='"'"'C:\\Users\\Administrator\\AppData\\Local\\Temp\\pip-
nstall-h4a6smpy\\models_1f900994d28c470d80cec06fe9740779\\setup.py'"'"';f = get
ttr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else
o.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().rep
ace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'e
ec'"'"'))' egg_info --egg-base 'C:\Users\Administrator\AppData\Local\Temp\pip-p
p-egg-info-2he0b4zz'
cwd: C:\Users\Administrator\AppData\Local\Temp\pip-install-h4a6smpy\mo
els_1f900994d28c470d80cec06fe9740779\
Complete output (16 lines):
Error processing line 7 of d:\installed\programdata\anaconda3\lib\site-pack
ges\pywin32.pth:
Traceback (most recent call last):
File "d:\installed\programdata\anaconda3\lib\site.py", line 168, in add
ackage
exec(line)
File "<string>", line 1, in <module>
ModuleNotFoundError: No module named 'pywin32_bootstrap'
Remainder of file ignored
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Users\Administrator\AppData\Local\Temp\pip-install-h4a6smpy\mode
s_1f900994d28c470d80cec06fe9740779\setup.py", line 24, in <module>
import models
File "C:\Users\Administrator\AppData\Local\Temp\pip-install-h4a6smpy\mode
s_1f900994d28c470d80cec06fe9740779\models\__init__.py", line 23, in <module>
from base import *
ModuleNotFoundError: No module named 'base'
----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/68/35/b990e771f1398
d98385774c651c0c90baec4b4ef19c752b5e6add126d3f/models-0.0.3.tar.gz#sha256=9bb03
5231b46d53df62c63321c33fc6935ca58db629e3aef09c735b781a9d8b (from https://pypi.o
g/simple/models/). Command errored out with exit status 1: python setup.py egg_
nfo Check the logs for full command output.
ERROR: Could not find a version that satisfies the requirement models (from ver
ions: 0.0.3, 0.0.4, 0.0.5, 0.1.0, 0.1.1, 0.2.0, 0.3.0, 0.4.0, 0.7.0, 0.8.0, 0.9
0, 0.9.1, 0.9.2, 0.9.3)
ERROR: No matching distribution found for models