类别
|
操作系统/python版本
|
|
是否解决 |
基础 |
|
|
|
|
|
|
|
mac |
|
OSError: [Errno 1] Operation not permitted |
是
|
|
|
|
|
local variable 'TOKEN' referenced before assignment |
是
|
|
编码 |
|
|
|
|
|
|
|
|
SyntaxError: Non-ASCII character '\xe8' in file wangyepaqu.py on line 2 |
是
|
|
类型转换 |
|
|
|
是
|
|
float<->deciaml |
* |
|
TypeError: unsupported operand type(s) for +: 'Decimal' and 'float' |
是
|
|
时间 |
|
|
|
|
|
|
|
|
ValueError: time data 'Sun, 18 Oct 2020 03:00:13 -0700' does not match format '%a, %d %b %Y %H:%M:%S %Z' |
是 |
|
SSL |
|
|
|
|
|
json |
|
|
TypeError: Decimal('12364.90900') is not JSON serializable |
|
|
字符串 |
|
|
ValueError: unsupported format character ''' (0x27) at index 119 |
是
|
安装 |
|
|
3.6.9 |
zipimport.ZipImportError: can't decompress data; zlib not available |
|
|
|
|
|
|
|
模块 |
|
|
|
|
|
|
SimpleHTTPServer
|
|
|
|
|
|
|
|
|
使用SimpleHTTPServer启动带证书web服务访问时找不到页面 |
否 |
|
setuptools
|
|
|
|
|
|
|
|
|
error: Setup script exited with error in marshmallow setup command: 'extras_require' must be a dictionary whose values are strings or lists of strings containing valid project/version requirement specifiers. |
|
|
easy_install |
|
|
TabError: inconsistent use of tabs and spaces in indentation |
否
|
|
pip |
mac |
3.x |
pkg_resources.DistributionNotFound: The 'pip==19.1.1' distribution was not found and is required by the application |
是
|
|
|
|
|
Cannot uninstall 'scipy'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall |
是
|
|
|
|
2.x |
Error:No available formula with the name "pip" pip is part of the python formula |
是
|
|
redis |
|
|
ImportError: No module named redis |
是 |
|
sqlalchemy |
|
|
ERROR: Unable find `sqlalchemy`. |
|
|
|
|
|
ImportError: No module named 'MySQLdb'
|
|
|
|
|
|
MySQLdb._exceptions.ProgrammingError: unsupported operand type(s) for %: 'bytes' and 'tuple' |
|
|
|
|
|
sqlalchemy怎么隐藏-------、=======、<class '_mysql.connection'>等 |
|
邮件 |
mime |
|
|
ImportError: No module named mime.multipart |
是
|
smtplib
|
|
|
smtplib.SMTPException: SMTP AUTH extension not supported by server
|
是
|
|
imaplib |
|
|
imaplib.error: [ALERT] Please log in via your web browser: https://support.google.com/mail/accounts/answer/78754 (Failure) |
是
|
|
MySQL-python
|
|
|
IndexError: string index out of range(mysql) |
是
|
|
|
|
|
Warning: Data truncated for column 'cpm' at row 1 |
是 |
|
|
|
|
_mysql_exceptions.ProgrammingError: not enough arguments for format string
|
是 |
|
|
centos |
3.4 |
ImportError: No module named 'ConfigParser'
|
|
|
|
ubuntu |
3.6 |
sh: 1: mysql_config: not found
|
是 |
|
|
|
|
mysql_exceptions.OperationalError: (1690, "DECIMAL value is out of range in '(8, 5)'") |
|
|
|
|
|
MySQLdb._exceptions.OperationalError: (1267, "Illegal mix of collations (latin1_swedish_ci,IMPLICIT) and (utf8_general_ci,COERCIBLE) for operation '='") |
|
|
|
|
|
TIDB |
|
|
|
|
|
InterfaceError: (-1, 'error totally whack') |
|
|
|
|
|
OperationalError: (2006, 'MySQL server has gone away')
|
|
|
mysqlclient
|
|
|
ImportError: No module named 'pymysql' |
|
|
matplotlib
|
|
|
No module named matplotlib |
是
|
|
|
|
|
Font family [‘sans-serif‘] not found.Falling back to DejaVu Sans
|
是 |
|
argparse |
|
|
error: argument -o/--official: expected one argument |
是
|
|
decimal |
|
|
NameError: global name 'Decimal' is not defined |
是
|
|
lxml |
|
|
bs4.FeatureNotFound: Couldn't find a tree builder with the features you requested: html_parser. Do you need to install a parser |
是
|
请求 |
|
|
|
urllib2.HTTPError: HTTP Error 400: Bad Request |
是 |
|
requests
|
|
|
ModuleNotFoundError: No module named 'requests' |
是 |
|
|
|
A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL c |
|
|
urllib |
|
|
AttributeError: 'function' object has no attribute 'urlencode' |
是 |
|
urlparse |
|
|
|
|
|
selenium
|
|
|
ImportError: No module named selenium |
是
|
|
|
|
|
selenium.common.exceptions.WebDriverException: Message: 'chromedriver' executable needs to be in PATH
|
是 |
|
|
|
|
selenium.common.exceptions.WebDriverException: Message: unknown error: cannot determine loading status from unknown error: missing or invalid 'entry.level' (Session info: chrome=84.0.4147.125) (Driver info: chromedriver=2.28.455517 (2c6d2707d8ea850c862 |
是 |
|
IPython
|
|
|
ModuleNotFoundError: No module named 'IPython' |
|
|
pandas
|
|
|
Cannot uninstall 'numpy'. It is a distutils installed project and thus we cannot accurately determine which files belong to it w |
是
|
|
|
|
|
ValueError: DataFrame constructor not properly called!
|
是 |
|
|
|
|
TypeError: ufunc 'isnan' not supported for the input types, and the inputs could not be safely coerced to any supported types according to the casting rule ''safe'' |
是 |
|
|
|
|
dataframe |
|
|
|
|
|
ValueError: If using all scalar values, you must pass an index
|
是 |
|
|
|
|
ValueError: Shape of passed values is (2, 5), indices imply (1, 5) |
是 |
|
|
|
|
str |
|
|
|
|
|
ValueError: cannot convert float NaN to integer |
是 |
|
|
|
|
append/concat函数 |
|
|
|
|
|
pandas append dataframe后报KeyError: 1 |
是 |
|
|
|
|
InvalidIndexError: Reindexing only valid with uniquely valued Index objects |
是 |
|
|
|
|
map函数 |
|
|
|
|
|
pandas map值替换后显示为NaN |
否 |
|
|
|
|
assign函数 |
|
|
|
|
|
ValueError: Unknown format code '%' for object of type 'str' |
是 |
|
|
|
|
astype函数 |
|
|
|
|
|
ValueError: Cannot convert non-finite values (NA or inf) to integer |
是 |
|
|
|
|
TypeError: cannot convert the series to type 《'float'》 |
是 |
|
|
|
|
drop_duplicates函数 |
|
|
|
|
|
pandas drop_duplicates不生效
|
是 |
|
|
|
|
query函数 |
|
|
|
|
|
ValueError: cannot assign without a target object |
是 |
|
|
|
|
read_csv函数 |
|
|
|
|
|
TypeError: initial_value must be unicode or None, not str |
是 |
|
|
|
|
Excel |
|
|
|
|
|
ValueError: Index 学号 invalid |
是 |
|
|
|
|
ImportError: Install xlrd >= 1.0.0 for Excel support |
是 |
|
|
|
|
ImportError: No module named openpyxl.workbook |
是 |
|
|
|
|
IOError: [Errno 2] No such file or directory: '~/adx_stat/files/excel/dsp_report/2020101.xls' |
是 |
|
|
|
|
google sheet |
|
|
|
|
|
pandas.errors.ParserError: Error tokenizing data. C error: Expected 4 fields in line 4, saw 6 |
是 |
|
|
|
|
gspread.exceptions.SpreadsheetNotFound |
是 |
|
nbconvert |
|
|
ModuleNotFoundError:No module named 'nbconvert' |
|
|
numpy |
|
|
ModuleNotFoundError:No module named 'numpy' |
|
|
airlfow |
|
|
Command "python setup.py egg_info" failed with error code 1 in /private/tmp/pip-install-FmcEfW/flask-appbuilder/ |
|
|
|
|
|
TypeError: unsupported operand type(s) for +=: 'int' and 'NoneType'
|
|
|
pypandoc |
|
|
pkg_resources.DistributionNotFound: The 'pypandoc>=1.4' distribution was not found and is required by great-expectations |
|
|
marshmallow |
|
|
ERROR: Package 'marshmallow' requires a different Python: 2.7.5 not in '>=3.5'
|
|
|
|
|
|
pkg_resources.DistributionNotFound: marshmallow>=2.0,<3.0
|
|
|
os |
|
|
NameError: global name 'FileExistsError' is not defined |
否
|
|
django |
|
|
File "manage.py", line 16 SyntaxError: invalid syntax |
|
|
|
|
|
django.db.utils.OperationalError: (1046, 'No database selected')
|
|
|
|
|
|
MySQLdb._exceptions.ProgrammingError: (1146, "Table 'data_quality.django_session' doesn't exist") |
|
|
django_tables2
|
|
|
ModuleNotFoundError: No module named 'django_tables2' |
|
|
|
|
|
MySQLdb._exceptions.OperationalError: (1267, "Illegal mix of collations (latin1_swedish_ci,IMPLICIT) and (utf8_general_ci,COERCIBLE) for operation '='") |
|
|
pyecharts
|
|
|
ModuleNotFoundError: No module named 'pyecharts' |
|
|
cx_Oracle |
|
|
ModuleNotFoundError: No module named 'cx_Oracle' |
|
|
ldap3 |
|
|
ModuleNotFoundError: No module named 'ldap3' |
|
|
psycopg2 |
|
|
ModuleNotFoundError: No module named 'psycopg2' |
|
|
|
|
|
Error: pg_config executable not found |
|
|
|
|
|
|
|
|
sandbox |
|
|
ModuleNotFoundError: No module named 'sandbox' |
|
|
bootstrap3 |
|
|
ModuleNotFoundError: No module named 'bootstrap3' |
|
|
polls |
|
|
ModuleNotFoundError: No module named 'polls' |
|
|
djangocodemirror |
|
|
ModuleNotFoundError: No module named 'djangocodemirror' |
|
|
钉钉 |
|
|
{"errcode":300001,"errmsg":"message param title is null "} |
是
|
|
bs4 |
|
|
ImportError: No module named bs4 |
是 |
开源软件 |
great_expectations
|
|
|
pkg_resources.DistributionNotFound: great-expectations==0.18 |
|
|
|
|
|
The 'great-expectations==0-unknown' distribution was not found and is required by the application |
|
|
|
|
|
ImportError: cannot import name 'MappingProxyType' |
|
|
|
|
|
Some of the data assets you specified were not found: test.user,test.user_new |
|
|
|
|
|
|
|