Question

When I use pyinstaller I met a problem that I don't know how to solve:

IOError:[Errno 22]: invalid mode <'wb'> or 
filename:'C:Users\\AppData\\Local\\Temp;D:\\academic software\\python\\me_test_exe.tmp'
Was it helpful?

Solution

This might be because of the space in the file path. Try renaming the directory

'academic software' to 'academic_software'.

If this solves the error, this is a bad piece of code :).

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top