-1

I'm trying to use Pyinstaller on a python file

Pyinstaller.exe --onefile E:\Ava-Bot\AVA-Bot.py

But there is an error

failed to create process.

Note: I'm working on Windows 8.1

Jemoka
  • 276
  • 5
  • 10
xTrimy
  • 804
  • 9
  • 23

2 Answers2

1

the problem was in pyinstaller installing

I was installing it by pip installit doesn't work

tried to easy_install and it worked

xTrimy
  • 804
  • 9
  • 23
0

I used easy_install pyinstaller in the script folder under python. Something happened because now when I run pyinstaller it showes something else then the typical "the program does not exist".

Then I run this in command window:

pyinstaller test.py

It showed an error at the end, something like pypiwin32=322. I had to install that with pip too, but I can't recall now how I did it. But I googled it. It had to be the 322 witch was hard to get by.

Then I had to install, it did not work with latest version:

pip install altgraph==0.15

Even tough I am a newbie, and I spend 2 hours on this, I thought I share. My basic strategy was to read the errors at the end, and google the error message. Then it worked.

brandizzi
  • 26,083
  • 8
  • 103
  • 158
Michael
  • 1
  • 3
  • Oh thanks a lot, I did not think anyone would look at it. I am from Sweden, witch mean I understand much more than I can express, witch is bad. So tanks a lot again for correcting 100 mistakes. – Michael Aug 30 '18 at 08:37