Files
INTUIA/Programa final/spacy/cli/__pycache__/download.cpython-312.pyc
T

57 lines
7.4 KiB
Plaintext
Raw Normal View History

2026-03-15 13:27:50 +00:00
Ë
=û gÇã
óÆddlZddlmZmZddlmZddlZddlZddlm Z ddl
m Z ddl m
Z
ddlmZmZmZmZmZmZd d
lmZmZmZmZmZej6d d d d
œ¬«edd¬«eddddd¬«edddd¬«fdej8dededefd«Z d+dedededdfd „Z d,d!ed"ededefd#„Z!de"fd$„Z#ded%e"defd&„Z$dedefd'„Z% d-d(ed)eeeddfd*„Z&y).éN)ÚOptionalÚSequence)Úurljoin)Úmsgé)Úabout)ÚOLD_MODEL_SHORTCUTS)Úget_minor_versionÚis_in_interactiveÚ
is_in_jupyterÚ
is_packageÚis_prerelease_versionÚ run_commandé)Ú SDIST_SUFFIXÚ WHEEL_SUFFIXÚArgÚOptÚappÚdownloadT)Úallow_extra_argsÚignore_unknown_options)Úcontext_settings.z$Name of pipeline package to download)ÚhelpFz--directz-dz-Dz'Force direct download of name + versionz--sdistz-SzBDownload sdist (.tar.gz) archive instead of pre-built binary wheelÚctxÚmodelÚdirectÚsdistcó4t|||g|j¢­Žy)
Download compatible trained pipeline from the default download path using
pip. If --direct flag is set, the command expects the full package name with
version. For direct downloads, the compatibility check will be skipped. All
additional arguments provided to this command will be passed to `pip install`
on package installation.
DOCS: https://spacy.io/api/cli#download
AVAILABLE PACKAGES: https://spacy.io/models
N)rÚargs)rrrrs úSC:\Users\garci\AppData\Roaming\Python\Python312\site-packages\spacy/cli/download.pyÚ download_clir"sô,
ˆUF˜EÐ- C§H¡HÔÚreturncótd«s)td«sd|vrtjd«|dz}|rKd|vrtjdd|d d
¬ «|j d «}d
j |dd«}|d}nL|}|t vr,tjd|dt |d«t |}t«}t||«}t|||«}t||«tjdd|d«t«rd} tjd| «yt«rd} tjd| «yy)spacyz
spacy-nightlyú --no-depsaiSkipping pipeline package dependencies and setting `--no-deps`. You don't seem to have the spaCy package itself installed (maybe because you've built from source?), so installing the package dependencies would cause spaCy to be downloaded, which probably isn't what you want. If the pipeline package has other dependencies, you'll have to install them manually.)r'ú/zModel download rejectedzCannot download model 'z>'. Models are expected to be file names, not URLs or fragmentsT)ÚtitleÚtextÚexitsúéÿÿÿÿz"As of spaCy v3.0, shortcuts like 'z=' are deprecated. Please use the full pipeline package name 'z
' instead.z$Download and installation successfulz-You can now load the package via spacy.load('z')zÉIf you are in a Jupyter or Colab notebook, you may need to restart Python in order to load all the package's dependencies. You can do this by selecting the 'Restart kernel' or 'Restart runtime' option.zRestart to reload dependenciesz·If you are in an interactive Python session, you may need to exit and restart Python to load all the package's dependencies. You can exit with Ctrl-D (or Ctrl-Z and Enter on Windows).)r
rÚwarnÚfailÚsplitÚjoinr Úget_compatibilityÚ get_versionÚget_model_filenameÚdownload_modelÚgoodr r )
rrrÚpip_argsÚ
componentsÚ
model_nameÚversionÚ
compatibilityÚfilenameÚreload_deps_msgs
r!rr/smô˜Ô
¤J¨Ô$?Ø ˜  ð
Bô
ð˜,ˆÙ
à %‰<Ü H‰HØ.¨u¨gÐ5sÐõ
ð
—[[ Ó%ˆ
Ø—W‘W˜Z¨¨˜_Ó
ؘR.‰àˆ
Ø Ô H‰HØ4°U°Gð<7Ü7JÈ5Ñ7QÐ6RÐR\ð^ô
ô-¨UÑ3ˆJÜ
ܘj¨-Óä! *¨g°uÓ=€Hä8˜‡H
7¸
°|À2Ðôð
ð ô Ø õ
ô
Ô ð
Ið ô
Ø õ
ð
r#r:r;cóNd}|rtnt}|j|||¬«}|S)Nz{m}-{v}/{m}-{v}{s})Ús)rrÚformat)r:r;rÚdl_tplÚsuffixr=s r!r5r5vs)Ø
!€FÙ" €FØ}‰}˜z¨W¸ˆ?€HØ €Or#cóÎttj«rtj}nttj«}t j
tj «}|jdk7r8tjd|jddtjdd¬«|j«}|d}||vrtjd |d
d¬«||S) NéÈzServer error (ú)zXCouldn't fetch compatibility table. Please find a package for your spaCy installation (vzc), and download it manually. For more details, see the documentation: https://spacy.io/usage/modelsr©r+r&z"No compatible packages found for vz of spaCy) rrÚ __version__r
ÚrequestsÚgetÚ__compatibility__Ú status_coderr0Újson)r;Ú
comp_tableÚcomps r!r3r3}ÜœU×/Ü!&×!2Ñ!2‰ä#¤E×$5Ñ$5ÓÜ ”U×-€A؇}ÒÜ Ø˜QŸ]™]˜O¨1Ð Ü#×1,ð
õ