Giter Club home page Giter Club logo

Comments (3)

bitsadmin avatar bitsadmin commented on May 14, 2024

Hi Monte-Christo, in my experience in most cases you won't need the chardet library as the text file is usually stored in ASCII encoding.

For your issue, pip3.exe is installed in the Scripts folder of your Python3 installation. If you navigate to that folder using cmd.exe or PowerShell and execute the command you mentioned, it should work well.

Nevertheless, good point to add some additional documentation on this. Will leave this issue open to add it to the documentation.

Hope this works!

from wesng.

Monte-Christo avatar Monte-Christo commented on May 14, 2024

Hi,

Thanks for the quick response. My biggest problem was that somehow Python 3.7.2 (py.exe) got installed in c:\Windows, without pip or anything else (Is is part of Visual Studio 2017, 2019, or VS Code?). "where py" returns c:\Windows,and .py files are associated with py.exe.

I had to download Python separately from python.org and set the path manually, then things started to work. But chardet is definitely needed to run wes.py on my laptop.

I hope my experiences help others avoid some of these issues.

from wesng.

bitsadmin avatar bitsadmin commented on May 14, 2024

I see, possibly some Visual Studio extension indeed installed the minimum python without pip. You also seem to get a different error than the one that is being caught. ModuleNotFoundError instead of ImportError. Improved robustness by catching both of them now. Let me know in case it still fails for some reason.

from wesng.

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.