Skip to content

name 'Progressbar' is not defined #8

@joseph-tharwat

Description

@joseph-tharwat

I write your code and get an error
the error is :
This error occured while importing neccesary modules or library No module named 'frontend'
Traceback (most recent call last):
File "C:\Users\jotha\AppData\Local\Programs\Python\Python310\lib\code.py", line 90, in runcode
exec(code, self.locals)
File "", line 1, in
File "C:\Program Files\JetBrains\PyCharm Community Edition 2022.1.3\plugins\python-ce\helpers\pydev_pydev_bundle\pydev_umd.py", line 198, in runfile
pydev_imports.execfile(filename, global_vars, local_vars) # execute the script
File "C:\Program Files\JetBrains\PyCharm Community Edition 2022.1.3\plugins\python-ce\helpers\pydev_pydev_imps_pydev_execfile.py", line 18, in execfile
exec(compile(contents+"\n", file, 'exec'), glob, loc)
File "D:/Programe_Project/python/pdfPreview/pdfPreview.py", line 33, in
variable2 = variable1.pdf_view(root,pdf_location=r"location",width=50,height=100)
File "C:\Users\jotha\AppData\Local\Programs\Python\Python310\lib\site-packages\tkPDFViewer\tkPDFViewer.py", line 31, in pdf_view
loading = Progressbar(self.frame,orient= HORIZONTAL,length=100,mode='determinate')
NameError: name 'Progressbar' is not defined
............................................................................................
I installed all Dependencies

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