hi 

I am getting the error (docx.opc.exceptions.PackageNotFoundError: Package 
not found

while executing exe for python.I have generated a exe using python code for 
docx . I have used the following import(from docx import Document)

I am using PyInstaller in generating exe.

Below is the Error 

Traceback (most recent call last):
File "<string>", line 20, in <module>
File "C:\Python27\PyInstaller\build\Folder_name\out 00-PYZ.pyz\docx.ap
i", line 25, in Document
File "C:\Python27\PyInstaller\build\Folder_name\out 00-PYZ.pyz\docx.op
c.package", line 116, in open
File "C:\Python27\PyInstaller\build\Folder_name\out 00-PYZ.pyz\docx.op
c.pkgreader", line 32, in from_file
File "C:\Python27\PyInstaller\build\Folder_name\out 00-PYZ.pyz\docx.op
c.phys_pkg", line 31, in __new__
docx.opc.exceptions.PackageNotFoundError: Package not found at 
'C:\Python27\PYIN
ST~1\dist\ADA_TE~1\docx\templates\default.docx'

Pls anybody can help

-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/pyinstaller.
For more options, visit https://groups.google.com/d/optout.

Reply via email to