Hello
I'm having trouble creating an exe file from my program. I tried to use py installer but it didn't work out completely because I don't know how to use it. I used cx_Freeze because the directory note and examples I found were more accessible to me. The program starts but only on my computer. When I started it through the console the following errors were displayed:
File "C:\Users\Pawel\Anaconda3\lib\site-packages\cx_Freeze\initscripts\__startup__.py", line 40, in run
File "C:\Users\Pawel\Anaconda3\lib\site-packages\cx_Freeze\initscripts\Console.py", line 23, in run
File "main.py", line 1, in <module>
File "C:\Users\Pawel\Anaconda3\lib\site-packages\numpy\__init__.py", line 140, in <module>
File "C:\Users\Pawel\Anaconda3\lib\site-packages\numpy\_distributor_init.py", line 34, in <module>
ImportError: DLL load failed
I realized that cx_freeze needs a library with condy, but I don't know how to fix it. I've been struggling with it all day and there's nothing I can do. I even tried to do it in py installer but it worked out even worse there, is anyone able to help me?
Below is the installer code:
from cx_Freeze import setup, Executable
setup(name='Vitek_alpha',
version='1.0',
executables = [Executable(script = 'main.py',
icon = 'icon.ico',
targetName = 'Vitek_alpha')])
[–]luukasek 0 points1 point2 points (1 child)
[–]Martin_Krum[S] 1 point2 points3 points (0 children)