python - Pynistaller error while converting project to exe -


i have few python project has few .py files , few csv files. want convert project exe file can run on pc. using pyinstaller in command line following command

pyinstaller --onedir --onefile --name=software "c:\users\*******\pycharmprojects\project\main.py" 

but throwing error access denied. reference pasting below whole traceback:

traceback (most recent call last):   file "c:\users\******\appdata\local\programs\python\python35\scripts\pyinstaller-script.py", line 10, in <module>     load_entry_point('pyinstaller==3.2', 'console_scripts', 'pyinstaller')()   file "c:\users\******\appdata\local\programs\python\python35\lib\site-packages\pyinstaller\__main__.py", line 90, in run     run_build(pyi_config, spec_file, **vars(args))   file "c:\users\******\appdata\local\programs\python\python35\lib\site-packages\pyinstaller\__main__.py", line 46, in run_build     pyinstaller.building.build_main.main(pyi_config, spec_file, **kwargs)   file "c:\users\******\appdata\local\programs\python\python35\lib\site-packages\pyinstaller\building\build_main.py", line 788, in main     build(specfile, kw.get('distpath'), kw.get('workpath'), kw.get('clean_build'))   file "c:\users\******\appdata\local\programs\python\python35\lib\site-packages\pyinstaller\building\build_main.py", line 734, in build     exec(text, spec_namespace)   file "<string>", line 28, in <module>   file "c:\users\******\appdata\local\programs\python\python35\lib\site-packages\pyinstaller\building\api.py", line 398, in __init__     strip_binaries=self.strip, upx_binaries=self.upx,   file "c:\users\******\appdata\local\programs\python\python35\lib\site-packages\pyinstaller\building\api.py", line 189, in __init__     self.__postinit__()   file "c:\users\******\appdata\local\programs\python\python35\lib\site-packages\pyinstaller\building\datastruct.py", line 178, in __postinit__     self.assemble()   file "c:\users\******\appdata\local\programs\python\python35\lib\site-packages\pyinstaller\building\api.py", line 252, in assemble     dist_nm=inm)   file "c:\users\******\appdata\local\programs\python\python35\lib\site-packages\pyinstaller\building\utils.py", line 305, in checkcache     [language])   file "c:\users\******\appdata\local\programs\python\python35\lib\site-packages\pyinstaller\utils\win32\winmanifest.py", line 947, in update_resources     languages)   file "c:\users\******\appdata\local\programs\python\python35\lib\site-packages\pyinstaller\utils\win32\winmanifest.py", line 1025, in updatemanifestresourcesfromxml     languages or [0, "*"])   file "c:\users\******\appdata\local\programs\python\python35\lib\site-packages\pyinstaller\utils\win32\winresource.py", line 207, in updateresources     win32api.endupdateresource(hdst, 0) pywintypes.error: (5, 'endupdateresource', 'access denied.') 


Comments

Popular posts from this blog

account - Script error login visual studio DefaultLogin_PCore.js -

xcode - CocoaPod Storyboard error: -