่ฟ™ๆ˜ฏindexlocๆไพ›็š„ๆœๅŠก๏ผŒไธ่ฆ่พ“ๅ…ฅไปปไฝ•ๅฏ†็ 
Skip to content

[BUG] Please use pip<24.1 if you need to use this version.ย #20

@tryfasting

Description

@tryfasting

๐Ÿ› Bug

์•ˆ๋…•ํ•˜์„ธ์š”. ์ฑ… ์ž˜ ๋ณด๊ณ  ์žˆ์Šต๋‹ˆ๋‹ค. ํฐ ๋ฌธ์ œ๋Š” ์•„๋‹Œ ๊ฒƒ ๊ฐ™์Šต๋‹ˆ๋‹ค๋งŒ, ์ฒ˜์Œ !pip install ratsnlp๋ฅผ ์‹คํ–‰ํ•  ๋•Œ pip ๋ฒ„์ „ ๋ฌธ์ œ๋กœ ํŒจํ‚ค์ง€๋“ค์ด ์ž˜ ์„ค์น˜๋˜์ง€ ์•Š๋Š” ๋ฒ„๊ทธ๊ฐ€ ์žˆ์–ด์„œ ์ œ๋ณด ๋“œ๋ฆฝ๋‹ˆ๋‹ค.

To Reproduce

  1. !pip install ratsnlp
  2. ์ดํ›„ ์—๋Ÿฌ ๋ฐœ์ƒ.(์ƒ์„ธํ•œ ์˜ค๋ฅ˜๋ฉ”์„ธ์ง€๋Š” ๋งจ ํ•˜๋‹จ์— ์ฒจ๋ถ€ํ•˜์˜€์Šต๋‹ˆ๋‹ค.)

Expected behavior

ํŒจํ‚ค์ง€๋“ค์ด ์„ค์น˜๋˜์ง€ ์•Š์Œ. ์ดํ›„ ์‹ค์Šต์ด ์•„์ฃผ ์ž ๊น ๋ง‰ํ˜”์—ˆ์Šต๋‹ˆ๋‹ค.
pip ๋ฒ„์ „์„ ๋‚ฎ์ถ”๋ฉด ํ•ด๊ฒฐ๋˜๋Š” ๋ฌธ์ œ์ด๊ธฐ์— ๋‹ค์Œ๊ณผ ๊ฐ™์ด ํ•ด๊ฒฐํ–ˆ์Šต๋‹ˆ๋‹ค.

!python3 -m pip install --upgrade "pip<24.1"

๊ทธ๋ฆฌ๊ณ  ๋‹ค์‹œ ํŒจํ‚ค์ง€๋ฅผ ์„ค์น˜ํ•ฉ๋‹ˆ๋‹ค.

!pip install ratsnlp

์ดํ›„๋กœ ๋ฌธ์ œ๋Š” ํ•ด๊ฒฐํ–ˆ์Šต๋‹ˆ๋‹ค.

Environment

๊ตฌ๊ธ€ ์ฝ”๋žฉ

Additional context

์•„๋ž˜๋Š” ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ ์„ค์น˜ ์‹œ์ž‘ ์‹œ ๋–ด๋˜ ์˜ค๋ฅ˜ ๋ฉ”์„ธ์ง€ ์ „๋ถ€์ž…๋‹ˆ๋‹ค.
๊ฐ์‚ฌํ•ฉ๋‹ˆ๋‹ค.

Collecting ratsnlp
  Downloading ratsnlp-1.0.53-py3-none-any.whl.metadata (741 bytes)
Collecting pytorch-lightning==1.6.1 (from ratsnlp)
  Downloading pytorch_lightning-1.6.1-py3-none-any.whl.metadata (33 kB)
WARNING: Ignoring version 1.6.1 of pytorch-lightning since it has invalid metadata:
Requested pytorch-lightning==1.6.1 from https://files.pythonhosted.org/packages/77/5f/7f0b36c036334cb416230a7909b54c9a128a38623d2e18e87170e2055cd9/pytorch_lightning-1.6.1-py3-none-any.whl (from ratsnlp) has invalid metadata: .* suffix can only be used with `==` or `!=` operators
    torch (>=1.8.*)
           ~~~~~~^
Please use pip<24.1 if you need to use this version.
INFO: pip is looking at multiple versions of ratsnlp to determine which version is compatible with other requirements. This could take a while.
Collecting ratsnlp
  Downloading ratsnlp-1.0.52-py3-none-any.whl.metadata (760 bytes)
Collecting pytorch-lightning==1.6.1 (from ratsnlp)
  Using cached pytorch_lightning-1.6.1-py3-none-any.whl.metadata (33 kB)
WARNING: Ignoring version 1.6.1 of pytorch-lightning since it has invalid metadata:
Requested pytorch-lightning==1.6.1 from https://files.pythonhosted.org/packages/77/5f/7f0b36c036334cb416230a7909b54c9a128a38623d2e18e87170e2055cd9/pytorch_lightning-1.6.1-py3-none-any.whl (from ratsnlp) has invalid metadata: .* suffix can only be used with `==` or `!=` operators
    torch (>=1.8.*)
           ~~~~~~^
Please use pip<24.1 if you need to use this version.
Collecting ratsnlp
  Downloading ratsnlp-1.0.51-py3-none-any.whl.metadata (760 bytes)
Collecting pytorch-lightning==1.3.4 (from ratsnlp)
  Downloading pytorch_lightning-1.3.4-py3-none-any.whl.metadata (24 kB)
Collecting transformers==4.10.0 (from ratsnlp)
  Downloading transformers-4.10.0-py3-none-any.whl.metadata (51 kB)
     โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ” 51.6/51.6 kB 3.3 MB/s eta 0:00:00
Collecting Korpora>=0.2.0 (from ratsnlp)
  Downloading Korpora-0.2.0-py3-none-any.whl.metadata (26 kB)
Requirement already satisfied: flask>=1.1.4 in /usr/local/lib/python3.10/dist-packages (from ratsnlp) (2.2.5)
Collecting flask-ngrok>=0.0.25 (from ratsnlp)
  Downloading flask_ngrok-0.0.25-py3-none-any.whl.metadata (1.8 kB)
Collecting flask-cors>=3.0.10 (from ratsnlp)
  Downloading Flask_Cors-5.0.0-py2.py3-none-any.whl.metadata (5.5 kB)
Requirement already satisfied: numpy>=1.17.2 in /usr/local/lib/python3.10/dist-packages (from pytorch-lightning==1.3.4->ratsnlp) (1.26.4)
Requirement already satisfied: torch>=1.4 in /usr/local/lib/python3.10/dist-packages (from pytorch-lightning==1.3.4->ratsnlp) (2.5.0+cu121)
Requirement already satisfied: future>=0.17.1 in /usr/local/lib/python3.10/dist-packages (from pytorch-lightning==1.3.4->ratsnlp) (1.0.0)
Requirement already satisfied: tqdm>=4.41.0 in /usr/local/lib/python3.10/dist-packages (from pytorch-lightning==1.3.4->ratsnlp) (4.66.6)
Collecting PyYAML<=5.4.1,>=5.1 (from pytorch-lightning==1.3.4->ratsnlp)
  Downloading PyYAML-5.4.1.tar.gz (175 kB)
     โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ” 175.1/175.1 kB 6.3 MB/s eta 0:00:00
  Installing build dependencies ... done
  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.
  Getting requirements to build wheel ... error
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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions