Giter VIP home page Giter VIP logo

Comments (6)

dmerejkowsky avatar dmerejkowsky commented on July 26, 2024

No clear installation manual

I don't get it. Did you not see the URL you just copy/pasted? It contains instructions to install PyEnchant...

from pyenchant.

vedmed85 avatar vedmed85 commented on July 26, 2024

yes i saw link. and it does't work for Ubuntu 22/18

from pyenchant.

vedmed85 avatar vedmed85 commented on July 26, 2024

i found.
libenchant stored in the package libenchant-dev
so before pip needed
sudo apt-get install libenchant-dev

from pyenchant.

dmerejkowsky avatar dmerejkowsky commented on July 26, 2024

Hum. PyEnchant should be able to find the C library without the -dev package

from pyenchant.

pmhahn avatar pmhahn commented on July 26, 2024

Hum. PyEnchant should be able to find the C library without the -dev package

Many Linux distributions (Debian, Ubuntu, SUSE, RedHat, …) separate runtime files from development files: the later are required for actually running programs while the later are only required if you want to compile your own programs: They include header files and other control files like Makefiles or AutoConf fragments.
As PyEnchant is a wrapper around the low-level C-library libenchant it needs those headers and as such you must install the libenchant-dev package which contains them. How those packages are named heavily depends the one Linux distribution you use.
After the build stage the development package is no longer needed as the generated PyEnchant wrapper only needs the runtime package. You can then remove the development package until you want to build (a new version of) PyEnchant again.

Separating runtime files from development files not only shrinks the space required on your file system, but also slightly can improve security as you should not install unneeded software on your servers as each peace of software might contain bugs and simplifies the life of hackers as they have more things available to be abused.

from pyenchant.

dmerejkowsky avatar dmerejkowsky commented on July 26, 2024

@pmhahn : I agree with your reasoning, but I think we should also patch the documentation if we don't intend to fix this.

from pyenchant.

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.