Skip to content

Cannot generate docs, raising error ImportError: cannot import name 'ascii_letters' from 'reportlab.lib.utils' #1

@kevin-rainmaker

Description

@kevin-rainmaker

Hello, when i try to gen th docs.Always raising the import error.
My reportlab version is 3.6.9 and python version is 3.7.1
I has installed requirements of reportlab. But encountering a error about the version when installing svglib.
I don't know whether the error is related to it.
Below is the result of pip list.

Package Version


altgraph 0.17.2
cffi 1.15.0
click 7.1.2
cssselect2 0.5.0
fonttools 4.31.2
future 0.18.2
gevent 21.12.0
greenlet 1.1.2
importlib-metadata 4.11.3
lxml 4.8.0
pefile 2021.9.3
Pillow 9.1.0
pip 21.0.1
Pmw-py3 2.1
preppy 4.0.2
pycparser 2.21
pyinstaller 4.10
pyinstaller-hooks-contrib 2022.3
PyQt5 5.15.4
pyqt5-plugins 5.15.4.2.2
PyQt5-Qt5 5.15.2
PyQt5-sip 12.9.1
PyQt5-stubs 5.15.2.0
pyqt5-tools 5.15.4.3.2
pyRXP 3.0.1
python-dotenv 0.20.0
pywin32-ctypes 0.2.0
qt5-applications 5.15.2.2.2
qt5-tools 5.15.2.1.2
reportlab 3.6.9
rlextra 3.6.9
SCons 4.3.0
setuptools 39.0.1
SQLAlchemy 1.3.23
svglib 1.1.0
tinycss2 1.1.1
typing-extensions 4.1.1
webencodings 0.5.1
zipp 3.7.0
zope.event 4.5.0
zope.interface 5.4.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions