Coder Social home page Coder Social logo

No such file about python HOT 11 CLOSED

ipinfo avatar ipinfo commented on August 20, 2024
No such file

from python.

Comments (11)

UmanShahzad avatar UmanShahzad commented on August 20, 2024 1

@sergeynosov13 thanks for the report, will look into it ASAP.

@abu-usama can you check it?

from python.

UmanShahzad avatar UmanShahzad commented on August 20, 2024

@sergeynosov13 can you tell us how you faced this error? We've tried to replicate and couldn't - the latest version installs and works fine for us.

from python.

sergeynosov13 avatar sergeynosov13 commented on August 20, 2024

Idk, running python file-normal, compiling with PyInstaller-this error

from python.

sergeynosov13 avatar sergeynosov13 commented on August 20, 2024

Sorry for bad English

from python.

sergeynosov13 avatar sergeynosov13 commented on August 20, 2024

I can send my code

from python.

sergeynosov13 avatar sergeynosov13 commented on August 20, 2024

I need this for school project in 2 weeks)

from python.

UmanShahzad avatar UmanShahzad commented on August 20, 2024

@sergeynosov13 this seems to be because you're using PyInstaller - it's not including static files like countries.json when building a final output.

See https://stackoverflow.com/questions/46474588/pyinstaller-how-to-include-data-files-from-an-external-package-that-was-install for a solution to this.

Let me know if that solves it for you!

from python.

sergeynosov13 avatar sergeynosov13 commented on August 20, 2024

Your package searching file in TEMP directory, idk how get his path.

from python.

UmanShahzad avatar UmanShahzad commented on August 20, 2024

Can you please share more details to help debug? We don't use PyInstaller and don't know anyone except yourself so far that has used it with this SDK, so will need more info to help you out.

from python.

UmanShahzad avatar UmanShahzad commented on August 20, 2024

We'll be updating this SDK and others to start using in-code data rather than loading from files so this won't happen going forward for any kind of installer or context.

from python.

UmanShahzad avatar UmanShahzad commented on August 20, 2024

This is now completed. Let me know if the issue pops up again on the latest version, @sergeynosov13 ?

from python.

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.