Python

刘超 3天前 ⋅ 4656 阅读   编辑

类别

操作系统/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'

是 

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

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')
  mysqlclient
  ImportError: No module named 'pymysql'

matplotlib
No module named matplotlib

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

是 

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

selenium 

ImportError: No module named selenium

 

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!

 

dataframe

 

ValueError: If using all scalar values, you must pass an index

 

assign函数

 

ValueError: Unknown format code '%' for object of type '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'
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 "}

         

 

开源软件 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 

 

 

 


注意:本文归作者所有,未经作者允许,不得转载

全部评论: 0

    我有话说: