Python Forum
Error with Pyinstaller Modules
Thread Rating:
  • 3 Vote(s) - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Error with Pyinstaller Modules
#8
Test of numpy,it make a working exe for me.
There a stuff you have to know,now we work with virtual environment.
So numpy has to be install into virtual environment.
I use numpy for Gohlke,because we need wheel for not setting up a compiler.
So i activate environment and pip install wheel,i have placed wheel in scripts folder.
(pyinstaller_test) C:\Python35\pyinstaller_test\Scripts
λ pip install numpy-1.12.0+mkl-cp35-cp35m-win32.whl
Processing c:\python35\pyinstaller_test\scripts\numpy-1.12.0+mkl-cp35-cp35m-win32.whl
Installing collected packages: numpy
Successfully installed numpy-1.12.0+mkl
λ cd ..

# Make exe
(pyinstaller_test) C:\Python35\pyinstaller_test
λ pyinstaller numpy_test.py
Script i make exe of numpy_test.py
import numpy

a = numpy.array([1, 2])
a.fill(9)
print(a)
input()
(pyinstaller_test) C:\Python35\pyinstaller_test

λ pyinstaller numpy_test.py
A lot of install stuff..............
Now in dist folder numpy_test.exe(a working exe for me).
Reply


Messages In This Thread
Error with Pyinstaller Modules - by sym - Jan-16-2017, 10:33 AM
RE: Error with Pyinstaller Modules - by sym - Jan-19-2017, 08:24 AM
RE: Error with Pyinstaller Modules - by wavic - Jan-19-2017, 09:03 AM
RE: Error with Pyinstaller Modules - by snippsat - Jan-19-2017, 06:27 PM
RE: Error with Pyinstaller Modules - by sym - Jan-20-2017, 02:22 PM
RE: Error with Pyinstaller Modules - by snippsat - Jan-20-2017, 03:49 PM
RE: Error with Pyinstaller Modules - by sym - Jan-20-2017, 04:14 PM
RE: Error with Pyinstaller Modules - by snippsat - Jan-21-2017, 01:31 AM
RE: Error with Pyinstaller Modules - by sym - Jan-23-2017, 08:56 AM
RE: Error with Pyinstaller Modules - by sym - Jan-23-2017, 04:12 PM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020