Questions tagged [pynsist]

Pynsist builds Windows installers for Python applications

Pynsist builds Windows installers for Python applications.

The installers it builds include an installer for the required version of Python, so you can distribute your application to people who don't already have Python installed. Start menu shortcuts and uninstall entries are created automatically. Unlike freeze tools, all of your code is installed as regular Python files, avoiding many potential pitfalls of trying to make an exe containing Python code.

Pynsist supports Python 2 and 3. Thanks to support in NSIS, it can even build Windows installers from other platforms.

31 questions
5
votes
1 answer

Package streamlit app and run executable on windows

this is my first question on Stackoverflow. I hope my question is clear, otherwise let me know and don't hesitate to ask me more details. I'm trying to package a streamlit app for a personal project. I'm developing under linux but I have to deploy…
mattiatantardini
  • 525
  • 1
  • 5
  • 23
5
votes
3 answers

how to build .exe for python 3.5+, 3.6 if possible?

Is there now an easy protocol to build a .exe from python 3.5+, using modules pyqtgraph, qt5, theano, pymc3, numpy, scipy, os and sys, and opening a simple GUI stored in a '.ui' file ? I lost hours and eventually failed to make one (for w7-64…
Stéphane
  • 1,389
  • 3
  • 13
  • 34
3
votes
1 answer

Package PyGObject Python 3 program with pynsist?

I would like to package a Python3-PyGObject program with pynsist. The repository has an example for PyGTK and it made me think that it shouldn't be too hard to change the example. The example can be found…
tobias47n9e
  • 2,233
  • 3
  • 28
  • 54
2
votes
1 answer

How to make an installer the way it creates an icon on desktop?

I've got ready, already compiled python application for windows but there is a problem with making an installer, which creates desktop icon for it when you check a corresponding mark. I made an installer using clean NSIS script, fbs and pynsist.…
Tymofii Koval
  • 153
  • 1
  • 8
2
votes
1 answer

How to install numpy in python with Pynsist

If i have built an application using Pynsist package and then after the installation of that application, I will have a numpy package in the pkg folder of the application path just like what i mentioned in the installer.cfg. But there wont be any…
akshit bhatia
  • 573
  • 6
  • 22
2
votes
1 answer

[ Python 2.7 ]Package program with Pynsist

I am packaging a Python 2.7 program with the lastest version of Pynsist. I've created an installer.cfg file following this example. But when I try to package my application running pynsist installer.cgf into the application folder it comes up…
Richard Wave
  • 89
  • 2
  • 10
2
votes
1 answer

Bundling a PyQt4 application with pynsist

I am trying to create a installer with pynsist for my python application, which uses PyQt4. I want to bundle the python installation, therefore, I have to use python 3.5, as pynsist supports bundling only for python 3.5. I used a fresh WinPython…
Randrian
  • 1,055
  • 12
  • 25
1
vote
1 answer

Pynsist error: NoWheelError: No compatible wheels found for blinker 1.4

I have built a web app by using streamlit. Now, I want to share my app to others without deploying in the cloud. I tried to create an executable file by using pynsist. I followed the steps mentioned in this Package streamlit app and run executable…
Shan
  • 63
  • 2
  • 7
1
vote
0 answers

Cannot bundle namespace package 'mpl_toolkits'

Good morning ! I am using pynsist to create a windows installer for a script written in python. I have listed all the packages the script needs in the [Include] section. When I run the python -m nsist installer.cfg command to generate the installer,…
Abdoul
  • 11
  • 1
1
vote
1 answer

Missing wheel for et-xmlfile when creating install of python program

I just added the ability of my python application to write a data set out to an excel file using openpyxl. Apparently openpyxl is dependent on the et-xmlfile. I create an install of my application by first running "setup.py sdist bdist_wheel" and…
GAF
  • 301
  • 3
  • 9
1
vote
1 answer

GitHub Actions Pynsist NSIS YAML

I am trying to create a GitHub action that will use Pynsist (a python package together with NSIS) to produce a build folder with the setup file my project on my github repository. I wondered if anyone has a working example of a YAML script that can…
R_100
  • 103
  • 1
  • 6
1
vote
2 answers

GUI Built with Pynsist and PyQt: Import Error 'sip'

I have built a GUI using PyQt5 and wanted to distribute it to other computers without Python installed by packageing it with pynsist. Unfortunately, when launching the shortcuts produced by the installer, the GUI does not open as expected and Python…
alex_555
  • 1,092
  • 1
  • 14
  • 27
1
vote
0 answers

Pynsist + Basemap - ImportError: no module named '_geoslib'

I'm trying to use pynsist with basemap. I'm starting with the pynsist 'Guess the Number' example. I'm on Windows, using python 3.5.1. Creating the program with pynsist installer.cfg and installing it work fine, but when I try to run the installed…
AnonymousCowherd
  • 145
  • 2
  • 11
1
vote
1 answer

Selenium ModuleNotFoundError running installed program bundled with Pynsist

I wrote a small python program in 3.6 to automate a task I do monthly at work. It could be useful to other people I work with, so I've been trying to bundle it with Pynsist. Before bundling, the program runs successfully both from IDLE and the…
Auraten
  • 11
  • 3
1
vote
1 answer

KeyError when using Pynsist

I'm trying to replicate the following example: https://github.com/takluyver/pynsist/tree/master/examples/tkinter but it is not working. I have a python file and .cfg that are copy pasted from here, but when I run py -m nsist installer.cfg on my…
TheStrangeQuark
  • 2,257
  • 5
  • 31
  • 58
1
2 3