Quantcast

File "site-packages\openpyxl\packaging\extended.py", line 4, in <module> ImportError: cannot import name '__version__'

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

File "site-packages\openpyxl\packaging\extended.py", line 4, in <module> ImportError: cannot import name '__version__'

prashanthi.muriki
Hello,

i have successfully created the executable file from the python but when iam executing the .exe file it is showing the below error. Please help me to fix this issue.

Below is the error log :


Traceback (most recent call last):
  File "AtlasReport.py", line 5, in <module>
  File "C:\Users\pmuriki\AppData\Local\Programs\Python\Python35-32\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 389, in load_module
    exec(bytecode, module.__dict__)
  File "site-packages\openpyxl\__init__.py", line 29, in <module>
  File "C:\Users\pmuriki\AppData\Local\Programs\Python\Python35-32\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 389, in load_module
    exec(bytecode, module.__dict__)
  File "site-packages\openpyxl\workbook\__init__.py", line 5, in <module>
  File "C:\Users\pmuriki\AppData\Local\Programs\Python\Python35-32\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 389, in load_module
    exec(bytecode, module.__dict__)
  File "site-packages\openpyxl\workbook\workbook.py", line 16, in <module>
  File "C:\Users\pmuriki\AppData\Local\Programs\Python\Python35-32\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 389, in load_module
    exec(bytecode, module.__dict__)
  File "site-packages\openpyxl\writer\write_only.py", line 23, in <module>
  File "C:\Users\pmuriki\AppData\Local\Programs\Python\Python35-32\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 389, in load_module
    exec(bytecode, module.__dict__)
  File "site-packages\openpyxl\writer\excel.py", line 36, in <module>
  File "C:\Users\pmuriki\AppData\Local\Programs\Python\Python35-32\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 389, in load_module
    exec(bytecode, module.__dict__)
  File "site-packages\openpyxl\packaging\extended.py", line 4, in <module>
ImportError: cannot import name '__version__'
Failed to execute script AtlasReport

Thanks & Regards,
Prashanthi

--
You received this message because you are subscribed to the Google Groups "PyInstaller" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/pyinstaller.
For more options, visit https://groups.google.com/d/optout.
Loading...