Difference between revisions of "ImportError"
Jump to navigation
Jump to search
(8 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
ImportError: No module named [[boto3]] | ImportError: No module named [[boto3]] | ||
− | ImportError: attempted relative import with no known parent package | + | [[ImportError: attempted relative import with no known parent package]] |
+ | |||
+ | ImportError: cannot import name '[[PROTOCOL_TLS]]' | ||
== Related == | == Related == | ||
* <code>[[pip install]]</code> | * <code>[[pip install]]</code> | ||
− | * <code>[[import]]</code> | + | * [[PEP 328]] https://peps.python.org/pep-0328/ |
+ | * <code>[[import (Python)|import]]</code> | ||
+ | * <code>[[from]]</code> | ||
+ | |||
+ | == Activities == | ||
+ | * Read https://stackoverflow.com/questions/16981921/relative-imports-in-python-3 | ||
== See also == | == See also == | ||
+ | * {{PEP}} | ||
* {{Python}} | * {{Python}} | ||
[[Category:Python]] | [[Category:Python]] |
Latest revision as of 15:49, 5 September 2023
ImportError: cannot import name 'docevents' from 'botocore.docs.bcdoc' (/usr/local/lib/python3.8/dist-packages/botocore/docs/bcdoc/__init__.py)
ImportError: No module named boto3
ImportError: attempted relative import with no known parent package
ImportError: cannot import name 'PROTOCOL_TLS'
Related[edit]
Activities[edit]
See also[edit]
- PEP, PEP 8, PEP 328, PEP 517, PEP 571, PEP 3333
- Python, PIP, GIL, Flask, Django, Marshmallow,
def
, logging, Pandas, Numpy, AWS Chalice,import
,from
,tuple
,list
, Python exceptions,virtualenv
,.append
,pytz
,TZ
,print
,python3 -c
,os
, PEP, Python Institute, Methods: Dunder methods, Flake8, Python collections, Function decorators in Python, Click python library, Python module, Flower,kwargs
, Black (Python), Python list structure, Mypy,variables
, Casting,try:
, pydoc, argparse, Anaconda,pyenv, setup.py, python3 --version, python3 --help
, Data Classes, raise
Advertising: