Coder Social home page Coder Social logo

Comments (9)

daspartho avatar daspartho commented on June 9, 2024

In theory pyinstaller should bundle python interpreter. Anyone got any idea what's wrong?

from spotibyeads.

AnonymouX47 avatar AnonymouX47 commented on June 9, 2024

The attempted automatic dependency installation tries to execute "pip3" command which would be unavailable on a system not having python3 installed.

Normally, the main program shouldn't even include dependency installation. It should be manually handled by the user or a separate script (probably a shell script) can be added for that.

Attempting dependency installation would be fatal on any system not having python installed.
I removed this in #29 commit 2e4ce41.

from spotibyeads.

AnonymouX47 avatar AnonymouX47 commented on June 9, 2024

An alternative would be to bundle the 3rd-party libraries with the application but I'm not sure it's a good idea or if it'll even work properly.

from spotibyeads.

import-brain avatar import-brain commented on June 9, 2024

@AnonymouX47 @daspartho Bundling the 3rd-party libraries does seem good, but I'm surprised the PyInstaller-made exe won't recognize pip3 when it's called in the file.

from spotibyeads.

AnonymouX47 avatar AnonymouX47 commented on June 9, 2024

It's trying to execute an external program... pip is not packaged with the program.

from spotibyeads.

daspartho avatar daspartho commented on June 9, 2024

Merged #29

from spotibyeads.

import-brain avatar import-brain commented on June 9, 2024

Merged #29

Perfect! So I can pull changes to my fork and get pyInstaller to work now?

from spotibyeads.

AnonymouX47 avatar AnonymouX47 commented on June 9, 2024

As long as you have the dependencies installed, i think PyInstaller should automatically bundle them with the application.

Try using the --one-file option.

from spotibyeads.

AnonymouX47 avatar AnonymouX47 commented on June 9, 2024

I think this discussion is better continued at #42, it's a broader version of this issue.

from spotibyeads.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.