youseungH / NLP

0 stars 0 forks source link

kss모듈 설치문제 #1

Closed youseungH closed 2 months ago

youseungH commented 2 months ago

yoush@yuseunghyeon-ui-MacBookAir ~ % brew install git ==> Auto-updating Homebrew... Adjust how often this is run with HOMEBREW_AUTO_UPDATE_SECS or disable with HOMEBREW_NO_AUTO_UPDATE. Hide these hints with HOMEBREW_NO_ENV_HINTS (see man brew). ==> Homebrew collects anonymous analytics. Read the analytics documentation (and how to opt-out) here: https://docs.brew.sh/Analytics No analytics have been recorded yet (nor will be during this brew run).

==> Homebrew is run entirely by unpaid volunteers. Please consider donating: https://github.com/Homebrew/brew#donations

==> Auto-updated Homebrew! Updated 2 taps (homebrew/core and homebrew/cask). ==> New Formulae h26forge mako wcurl ==> New Casks airdash blip font-afacad-flux pia

==> Downloading https://ghcr.io/v2/homebrew/core/git/manifests/2.45.2 ##################################################################################################################################################################################################### 100.0% ==> Fetching dependencies for git: gettext and pcre2 ==> Downloading https://ghcr.io/v2/homebrew/core/gettext/manifests/0.22.5 ##################################################################################################################################################################################################### 100.0% ==> Fetching gettext ==> Downloading https://ghcr.io/v2/homebrew/core/gettext/blobs/sha256:4b5b6cb0692b4606b9220fcbc9da3ab546234348dc87ef8033830e22c4c7bdb1 ##################################################################################################################################################################################################### 100.0% ==> Downloading https://ghcr.io/v2/homebrew/core/pcre2/manifests/10.44 ##################################################################################################################################################################################################### 100.0% ==> Fetching pcre2 ==> Downloading https://ghcr.io/v2/homebrew/core/pcre2/blobs/sha256:78fe8885f70cc1ec83eefd678e1dfc3b341aedf4b44132327da98300c5e04cdf ##################################################################################################################################################################################################### 100.0% ==> Fetching git ==> Downloading https://ghcr.io/v2/homebrew/core/git/blobs/sha256:46ac8df4305f4c039e8cb628c8196b93b245b111118cce3d6277f1f34a01da55 #################################################### #################################################### #################################################### #################################################### ##################################################################################################################################################################################################### 100.0% ==> Installing dependencies for git: gettext and pcre2 ==> Installing git dependency: gettext ==> Downloading https://ghcr.io/v2/homebrew/core/gettext/manifests/0.22.5 Already downloaded: /Users/yoush/Library/Caches/Homebrew/downloads/447e45b77bb47ede0377f7eab1863825298ecaaaeed0bbd84aca3bd300b00508--gettext-0.22.5.bottle_manifest.json ==> Pouring gettext--0.22.5.arm64_sonoma.bottle.tar.gz 🍺 /opt/homebrew/Cellar/gettext/0.22.5: 2,044 files, 24.4MB ==> Installing git dependency: pcre2 ==> Downloading https://ghcr.io/v2/homebrew/core/pcre2/manifests/10.44 Already downloaded: /Users/yoush/Library/Caches/Homebrew/downloads/22ed791461c5bf400adde8c3b432c1230866aa1db3c5cb81e06a6ff21cac96ee--pcre2-10.44.bottle_manifest.json ==> Pouring pcre2--10.44.arm64_sonoma.bottle.tar.gz 🍺 /opt/homebrew/Cellar/pcre2/10.44: 237 files, 6.3MB ==> Installing git ==> Pouring git--2.45.2.arm64_sonoma.bottle.tar.gz ==> Caveats The Tcl/Tk GUIs (e.g. gitk, git-gui) are now in the git-gui formula. Subversion interoperability (git-svn) is now in the git-svn formula.

zsh completions and functions have been installed to: /opt/homebrew/share/zsh/site-functions ==> Summary 🍺 /opt/homebrew/Cellar/git/2.45.2: 1,664 files, 51.5MB ==> Running brew cleanup git... Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP. Hide these hints with HOMEBREW_NO_ENV_HINTS (see man brew). ==> Caveats ==> git The Tcl/Tk GUIs (e.g. gitk, git-gui) are now in the git-gui formula. Subversion interoperability (git-svn) is now in the git-svn formula.

zsh completions and functions have been installed to: /opt/homebrew/share/zsh/site-functions yoush@yuseunghyeon-ui-MacBookAir ~ % python3 -m venv myenv yoush@yuseunghyeon-ui-MacBookAir ~ % source myenv/bin/activate (myenv) yoush@yuseunghyeon-ui-MacBookAir ~ % pip install kss Collecting kss Using cached kss-6.0.4.tar.gz (1.1 MB) Preparing metadata (setup.py) ... done Collecting emoji==1.2.0 (from kss) Using cached emoji-1.2.0-py3-none-any.whl.metadata (4.3 kB) Collecting pecab (from kss) Using cached pecab-1.0.8.tar.gz (26.4 MB) Preparing metadata (setup.py) ... done Collecting networkx (from kss) Using cached networkx-3.3-py3-none-any.whl.metadata (5.1 kB) Collecting jamo (from kss) Using cached jamo-0.4.1-py3-none-any.whl.metadata (2.3 kB) Collecting hangul-jamo (from kss) Using cached hangul_jamo-1.0.1-py3-none-any.whl.metadata (899 bytes) Collecting tossi (from kss) Using cached tossi-0.3.1.tar.gz (11 kB) Preparing metadata (setup.py) ... done Collecting distance (from kss) Using cached Distance-0.1.3.tar.gz (180 kB) Preparing metadata (setup.py) ... done Collecting pyyaml==6.0 (from kss) Using cached PyYAML-6.0.tar.gz (124 kB) Installing build dependencies ... done Getting requirements to build wheel ... error error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully. │ exit code: 1 ╰─> [54 lines of output] running egg_info writing lib/PyYAML.egg-info/PKG-INFO writing dependency_links to lib/PyYAML.egg-info/dependency_links.txt writing top-level names to lib/PyYAML.egg-info/top_level.txt Traceback (most recent call last): File "/Users/yoush/myenv/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in main() File "/Users/yoush/myenv/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main json_out['return_val'] = hook(hook_input['kwargs']) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/yoush/myenv/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 118, in get_requires_for_build_wheel return hook(config_settings) ^^^^^^^^^^^^^^^^^^^^^ File "/private/var/folders/89/_7y_lxkn675gp0h2wnqwdjgr0000gn/T/pip-build-env-uzzkvnp4/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 327, in get_requires_for_build_wheel return self._get_build_requires(config_settings, requirements=[]) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/private/var/folders/89/_7y_lxkn675gp0h2wnqwdjgr0000gn/T/pip-build-env-uzzkvnp4/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 297, in _get_build_requires self.run_setup() File "/private/var/folders/89/_7y_lxkn675gp0h2wnqwdjgr0000gn/T/pip-build-env-uzzkvnp4/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 313, in run_setup exec(code, locals()) File "", line 288, in File "/private/var/folders/89/_7y_lxkn675gp0h2wnqwdjgr0000gn/T/pip-build-env-uzzkvnp4/overlay/lib/python3.12/site-packages/setuptools/init.py", line 103, in setup return distutils.core.setup(attrs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/private/var/folders/89/_7y_lxkn675gp0h2wnqwdjgr0000gn/T/pip-build-env-uzzkvnp4/overlay/lib/python3.12/site-packages/setuptools/_distutils/core.py", line 184, in setup return run_commands(dist) ^^^^^^^^^^^^^^^^^^ File "/private/var/folders/89/_7y_lxkn675gp0h2wnqwdjgr0000gn/T/pip-build-env-uzzkvnp4/overlay/lib/python3.12/site-packages/setuptools/_distutils/core.py", line 200, in run_commands dist.run_commands() File "/private/var/folders/89/_7y_lxkn675gp0h2wnqwdjgr0000gn/T/pip-build-env-uzzkvnp4/overlay/lib/python3.12/site-packages/setuptools/_distutils/dist.py", line 970, in run_commands self.run_command(cmd) File "/private/var/folders/89/_7y_lxkn675gp0h2wnqwdjgr0000gn/T/pip-build-env-uzzkvnp4/overlay/lib/python3.12/site-packages/setuptools/dist.py", line 974, in run_command super().run_command(command) File "/private/var/folders/89/_7y_lxkn675gp0h2wnqwdjgr0000gn/T/pip-build-env-uzzkvnp4/overlay/lib/python3.12/site-packages/setuptools/_distutils/dist.py", line 989, in run_command cmd_obj.run() File "/private/var/folders/89/_7y_lxkn675gp0h2wnqwdjgr0000gn/T/pip-build-env-uzzkvnp4/overlay/lib/python3.12/site-packages/setuptools/command/egg_info.py", line 321, in run self.find_sources() File "/private/var/folders/89/_7y_lxkn675gp0h2wnqwdjgr0000gn/T/pip-build-env-uzzkvnp4/overlay/lib/python3.12/site-packages/setuptools/command/egg_info.py", line 329, in find_sources mm.run() File "/private/var/folders/89/_7y_lxkn675gp0h2wnqwdjgr0000gn/T/pip-build-env-uzzkvnp4/overlay/lib/python3.12/site-packages/setuptools/command/egg_info.py", line 550, in run self.add_defaults() File "/private/var/folders/89/_7y_lxkn675gp0h2wnqwdjgr0000gn/T/pip-build-env-uzzkvnp4/overlay/lib/python3.12/site-packages/setuptools/command/egg_info.py", line 588, in add_defaults sdist.add_defaults(self) File "/private/var/folders/89/_7y_lxkn675gp0h2wnqwdjgr0000gn/T/pip-build-env-uzzkvnp4/overlay/lib/python3.12/site-packages/setuptools/command/sdist.py", line 102, in add_defaults super().add_defaults() File "/private/var/folders/89/_7y_lxkn675gp0h2wnqwdjgr0000gn/T/pip-build-env-uzzkvnp4/overlay/lib/python3.12/site-packages/setuptools/_distutils/command/sdist.py", line 250, in add_defaults self._add_defaults_ext() File "/private/var/folders/89/_7y_lxkn675gp0h2wnqwdjgr0000gn/T/pip-build-env-uzzkvnp4/overlay/lib/python3.12/site-packages/setuptools/_distutils/command/sdist.py", line 335, in _add_defaults_ext self.filelist.extend(build_ext.get_source_files()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "", line 204, in get_source_files File "/private/var/folders/89/_7y_lxkn675gp0h2wnqwdjgr0000gn/T/pip-build-env-uzzkvnp4/overlay/lib/python3.12/site-packages/setuptools/_distutils/cmd.py", line 107, in getattr raise AttributeError(attr) AttributeError: cython_sources [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully. │ exit code: 1 ╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.

youseungH commented 2 months ago

소스 코드 다운로드 후 myenv로 파일 이동하여 해결함