Giter Club home page Giter Club logo

pyenchant-feedstock's Introduction

About pyenchant

Home: https://pyenchant.github.io/pyenchant/

Package license: LGPL-2.1-only

Feedstock license: BSD-3-Clause

Summary: Python bindings for the Enchant spellchecking system

Current build status

All platforms:

Current release info

Name Downloads Version Platforms
Conda Recipe Conda Downloads Conda Version Conda Platforms

Installing pyenchant

Installing pyenchant from the conda-forge channel can be achieved by adding conda-forge to your channels with:

conda config --add channels conda-forge
conda config --set channel_priority strict

Once the conda-forge channel has been enabled, pyenchant can be installed with:

conda install pyenchant

It is possible to list all of the versions of pyenchant available on your platform with:

conda search pyenchant --channel conda-forge

About conda-forge

Powered by NumFOCUS

conda-forge is a community-led conda channel of installable packages. In order to provide high-quality builds, the process has been automated into the conda-forge GitHub organization. The conda-forge organization contains one repository for each of the installable packages. Such a repository is known as a feedstock.

A feedstock is made up of a conda recipe (the instructions on what and how to build the package) and the necessary configurations for automatic building using freely available continuous integration services. Thanks to the awesome service provided by CircleCI, AppVeyor and TravisCI it is possible to build and upload installable packages to the conda-forge Anaconda-Cloud channel for Linux, Windows and OSX respectively.

To manage the continuous integration and simplify feedstock maintenance conda-smithy has been developed. Using the conda-forge.yml within this repository, it is possible to re-render all of this feedstock's supporting files (e.g. the CI configuration files) with conda smithy rerender.

For more information please check the conda-forge documentation.

Terminology

feedstock - the conda recipe (raw material), supporting scripts and CI configuration.

conda-smithy - the tool which helps orchestrate the feedstock. Its primary use is in the construction of the CI .yml files and simplify the management of many feedstocks.

conda-forge - the place where the feedstock and smithy live and work to produce the finished article (built conda distributions)

Updating pyenchant-feedstock

If you would like to improve the pyenchant recipe or build a new package version, please fork this repository and submit a PR. Upon submission, your changes will be run on the appropriate platforms to give the reviewer an opportunity to confirm that the changes result in a successful build. Once merged, the recipe will be re-built and uploaded automatically to the conda-forge channel, whereupon the built conda packages will be available for everybody to install and use from the conda-forge channel. Note that all branches in the conda-forge/pyenchant-feedstock are immediately built and any created packages are uploaded, so PRs should be based on branches in forks and branches in the main repository should only be used to build distinct package versions.

In order to produce a uniquely identifiable distribution:

  • If the version of a package is not being increased, please add or increase the build/number.
  • If the version of a package is being increased, please remember to return the build/number back to 0.

Feedstock Maintainers

pyenchant-feedstock's People

Contributors

conda-forge-admin avatar conda-forge-curator[bot] avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

pyenchant-feedstock's Issues

Dictionary for language 'en_US' could not be found

Solution to issue cannot be found in the documentation.

  • I checked the documentation.

Issue

The instructions on
https://github.com/conda-forge/pyenchant-feedstock
say the following should install pyenchant"

conda config --add channels conda-forge
conda config --set channel_priority strict
conda install pyenchant

The instruction on
https://pyenchant.github.io/pyenchant/
say the following should then work

python
import enchant
d = enchant.Dict("en_US")

The result is

>>> d = enchant.Dict("en_US")                                                                                                                                                                                                                                      
Traceback (most recent call last):                                                                                                                                                                                                                                 
  File "<stdin>", line 1, in <module>                                                                                                                                                                                                                              
  File "/opt/conda/lib/python3.11/site-packages/enchant/__init__.py", line 542, in __init__                                                                                                                                                                        
    super().__init__()                                                                                                                                                                                                                                             
  File "/opt/conda/lib/python3.11/site-packages/enchant/__init__.py", line 144, in __init__                                                                                                                                                                        
    self._init_this()                                                                                                                                                                                                                                              
  File "/opt/conda/lib/python3.11/site-packages/enchant/__init__.py", line 549, in _init_this                                                                                                                                                                      
    this = self._broker._request_dict_data(self.tag)                                                                                                                                                                                                               
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^                                                                                                                                                                                                               
  File "/opt/conda/lib/python3.11/site-packages/enchant/__init__.py", line 287, in _request_dict_data                                                                                                                                                              
    self._raise_error(e_str % (tag,), DictNotFoundError)                                                                                                                                                                                                           
  File "/opt/conda/lib/python3.11/site-packages/enchant/__init__.py", line 233, in _raise_error
    raise eclass(default)
enchant.errors.DictNotFoundError: Dictionary for language 'en_US' could not be found
Please check https://pyenchant.github.io/pyenchant/ for details

The following command will create the environment and reproduce the problem:

sudo docker pull continuumio/miniconda3
sudo docker run -it continuumio/miniconda3 bash
conda config --add channels conda-forge
conda config --set channel_priority strict
conda install -y pyenchant
python
import enchant
d = enchant.Dict("en_US")

Installed packages

(base) root@1eaafa2e7d60:/# conda list
# packages in environment at /opt/conda:
#
# Name                    Version                   Build  Channel
_libgcc_mutex             0.1                 conda_forge    conda-forge
_openmp_mutex             4.5                       2_gnu    conda-forge
aoo-mozilla-en-dict-au    2024.01.01           hd8ed1ab_0    conda-forge
aoo-mozilla-en-dict-ca    2024.01.01           hd8ed1ab_0    conda-forge
aoo-mozilla-en-dict-gb    2024.01.01           hd8ed1ab_0    conda-forge
aoo-mozilla-en-dict-us    2024.01.01           hd8ed1ab_0    conda-forge
aoo-mozilla-en-dict-za    2024.01.01           hd8ed1ab_0    conda-forge
archspec                  0.2.1              pyhd3eb1b0_0  
boltons                   23.0.0          py311h06a4308_0  
brotli-python             1.0.9           py311h6a678d5_7  
bzip2                     1.0.8                h7b6447c_0  
c-ares                    1.19.1               h5eee18b_0  
ca-certificates           2023.11.17           hbcca054_0    conda-forge
certifi                   2023.11.17         pyhd8ed1ab_0    conda-forge
cffi                      1.15.1          py311h5eee18b_3  
charset-normalizer        2.0.4              pyhd3eb1b0_0  
conda                     23.11.0         py311h38be061_1    conda-forge
conda-content-trust       0.2.0           py311h06a4308_0  
conda-libmamba-solver     23.11.1         py311h06a4308_0  
conda-package-handling    2.2.0           py311h06a4308_0  
conda-package-streaming   0.9.0           py311h06a4308_0  
cryptography              41.0.3          py311hdda0065_0  
distro                    1.9.0              pyhd8ed1ab_0    conda-forge
enchant                   2.3.1                h9f60fe5_0    conda-forge
fmt                       9.1.0                hdb19cb5_0  
gettext                   0.21.1               h27087fc_0    conda-forge
glib                      2.68.4               h9c3ff4c_1    conda-forge
glib-tools                2.68.4               h9c3ff4c_1    conda-forge
hunspell                  1.7.0             h68659b9_1001    conda-forge
hunspell-en               2024.01.01           hd8ed1ab_0    conda-forge
icu                       73.1                 h6a678d5_0  
idna                      3.4             py311h06a4308_0  
jsonpatch                 1.32               pyhd3eb1b0_0  
jsonpointer               2.1                pyhd3eb1b0_0  
krb5                      1.20.1               h143b758_1  
ld_impl_linux-64          2.38                 h1181459_1  
libarchive                3.6.2                h6ac8c49_2  
libcurl                   8.4.0                h251f7ec_0  
libedit                   3.1.20221030         h5eee18b_0  
libev                     4.33                 h7f8727e_1  
libffi                    3.4.4                h6a678d5_0  
libgcc-ng                 13.2.0               h807b86a_5    conda-forge
libglib                   2.68.4               h174f98d_1    conda-forge
libgomp                   13.2.0               h807b86a_5    conda-forge
libiconv                  1.17                 hd590300_2    conda-forge
libmamba                  1.5.3                haf1ee3a_0  
libmambapy                1.5.3           py311h2dafd23_0  
libnghttp2                1.57.0               h2d74bed_0  
libsolv                   0.7.24               he621ea3_0  
libssh2                   1.10.0               hdbd6064_2  
libstdcxx-ng              11.2.0               h1234567_1  
libuuid                   1.41.5               h5eee18b_0  
libxml2                   2.10.4               hf1b16e4_1  
lz4-c                     1.9.4                h6a678d5_0  
menuinst                  2.0.2           py311h38be061_0    conda-forge
ncurses                   6.4                  h6a678d5_0  
openssl                   3.2.1                hd590300_0    conda-forge
packaging                 23.1            py311h06a4308_0  
pcre                      8.45                 h9c3ff4c_0    conda-forge
pcre2                     10.42                hebb0a14_0  
pip                       23.3            py311h06a4308_0  
platformdirs              4.2.0              pyhd8ed1ab_0    conda-forge
pluggy                    1.0.0           py311h06a4308_1  
pybind11-abi              4                    hd3eb1b0_1  
pycosat                   0.6.6           py311h5eee18b_0  
pycparser                 2.21               pyhd3eb1b0_0  
pyenchant                 3.2.2              pyhd8ed1ab_0    conda-forge
pyopenssl                 23.2.0          py311h06a4308_0  
pysocks                   1.7.1           py311h06a4308_0  
python                    3.11.5               h955ad1f_0  
python_abi                3.11                    2_cp311    conda-forge
readline                  8.2                  h5eee18b_0  
reproc                    14.2.4               h295c915_1  
reproc-cpp                14.2.4               h295c915_1  
requests                  2.31.0          py311h06a4308_0  
ruamel.yaml               0.17.21         py311h5eee18b_0  
setuptools                68.0.0          py311h06a4308_0  
sqlite                    3.41.2               h5eee18b_0  
tk                        8.6.12               h1ccaba5_0  
tqdm                      4.65.0          py311h92b7b1e_0  
truststore                0.8.0           py311h06a4308_0  
tzdata                    2023c                h04d1e81_0  
urllib3                   1.26.18         py311h06a4308_0  
wheel                     0.41.2          py311h06a4308_0  
xz                        5.4.2                h5eee18b_0  
yaml-cpp                  0.8.0                h6a678d5_0  
zlib                      1.2.13               h5eee18b_0  
zstandard                 0.19.0          py311h5eee18b_0  
zstd                      1.5.5                hc292b87_0  
(base) root@1eaafa2e7d60:/#

Environment info

(base) root@071b4dae85b8:/# conda info

     active environment : base
    active env location : /opt/conda
            shell level : 1
       user config file : /root/.condarc
 populated config files : /root/.condarc
          conda version : 23.11.0
    conda-build version : not installed
         python version : 3.11.5.final.0
                 solver : libmamba (default)
       virtual packages : __archspec=1=skylake
                          __conda=23.11.0=0
                          __glibc=2.31=0
                          __linux=6.6.6=0
                          __unix=0=0
       base environment : /opt/conda  (writable)
      conda av data dir : /opt/conda/etc/conda
  conda av metadata url : None
           channel URLs : https://conda.anaconda.org/conda-forge/linux-64
                          https://conda.anaconda.org/conda-forge/noarch
                          https://repo.anaconda.com/pkgs/main/linux-64
                          https://repo.anaconda.com/pkgs/main/noarch
                          https://repo.anaconda.com/pkgs/r/linux-64
                          https://repo.anaconda.com/pkgs/r/noarch
          package cache : /opt/conda/pkgs
                          /root/.conda/pkgs
       envs directories : /opt/conda/envs
                          /root/.conda/envs
               platform : linux-64
             user-agent : conda/23.11.0 requests/2.31.0 CPython/3.11.5 Linux/6.6.6-200.fc39.x86_64 debian/11.8 glibc/2.31 solver/libmamba conda-libmamba-solver/23.11.1 libmambapy/1.5.3
                UID:GID : 0:0
             netrc file : None
           offline mode : False


(base) root@071b4dae85b8:/#

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.