SKTBrain / KoBERT

Korean BERT pre-trained cased (KoBERT)
Apache License 2.0
1.31k stars 370 forks source link

[BUG] pip install error #111

Open Foundsheep opened 6 months ago

Foundsheep commented 6 months ago

πŸ› Bug

pip install git+https://git@github.com/SKTBrain/KoBERT.git@master 둜 μ„€μΉ˜ μ‹œ 였λ₯˜κ°€ λ‚©λ‹ˆλ‹€.

To Reproduce

ERROR: Cannot install kobert because these package versions have conflicting dependencies.

The conflict is caused by:
    onnxruntime 1.8.0 depends on numpy>=1.16.6
    gluonnlp 0.6.0 depends on numpy
    mxnet 1.4.0.post0 depends on numpy<1.15.0 and >=1.8.2
    onnxruntime 1.8.0 depends on numpy>=1.16.6
    gluonnlp 0.6.0 depends on numpy
    mxnet 1.4.0 depends on numpy<1.15.0 and >=1.8.2

버그λ₯Ό μž¬ν˜„ν•˜κΈ° μœ„ν•œ μž¬ν˜„μ ˆμ°¨λ₯Ό μž‘μ„±ν•΄μ£Όμ„Έμš”.

    • conda create -n ... κ°€μƒν™˜κ²½ 생성 및 conda activate ...
    • pip install git+https://git@github.com/SKTBrain/KoBERT.git@master μ‚¬μš©
  1. -

Expected behavior

Environment

Additional context

sayyes304 commented 1 week ago

μ•ˆλ…•ν•˜μ„Έμš”, 저도 같은 μ—λŸ¬κ°€ λ°œμƒν–ˆλŠ”λ°, ν˜Ήμ‹œ ν•΄κ²°ν•˜μ…¨μ„κΉŒμš”?

Foundsheep commented 1 week ago

@sayyes304 μ •ν™•ν•˜κ²Œ 기얡은 μ•ˆ λ‚˜μ§€λ§Œ κ²°κ΅­ μ„€λͺ…λœλŒ€λ‘œ μ„€μΉ˜ν•˜μ§€ μ•Šμ•˜λ˜ 것 κ°™μŠ΅λ‹ˆλ‹€. λŒ€μ‹ μ— huggingfaceμ—μ„œ λ‹€λ₯Έ λͺ¨λΈμ„ 찾아보렀 ν–ˆλ˜ 것 κ°™μŠ΅λ‹ˆλ‹€.

sayyes304 commented 1 week ago

κ°μ‚¬ν•©λ‹ˆλ‹€ !