NLP-kr / tensorflow-ml-nlp-tf2

텐서플로2와 머신러닝으로 시작하는 자연어처리 (로지스틱회귀부터 BERT와 GPT3까지) 실습자료
Apache License 2.0
275 stars 135 forks source link

requirements.txt 설치하려고 하니 certifi에서 계속 걸려있네요 #27

Closed saekomdalkom closed 3 years ago

saekomdalkom commented 3 years ago

파이썬 초보임을 감안해주시면 감사하겠습니다 pip install -r requirements.txt로 설치 시도를 했는데 certifi가 계속 호환되는 버전을 찾아서 과거로 과거로만 갑니다.

INFO: pip is looking at multiple versions of certifi to determine which version is compatible with other requirements. This could take a while. INFO: This is taking longer than usual. You might need to provide the dependency resolver with stricter constraints to reduce runtime. If you want to abort this run, you can press Ctrl + C to do so. To improve how pip performs, tell us what happened here: https://pip.pypa.io/surveys/backtracking

벌써 버전을 10개쯤 더듬어서 2018년까지 가 있는데 정상인가요? 계속 두면 되는 게 맞는지 여쭤봅니다. 가상환경 새로 만들어서 python=3.6으로 깨끗한 상태에서 설치 시도 중입니다.

Taekyoon commented 3 years ago

안녕하세요. 몇 가지 확인해볼 점이 있습니다.

saekomdalkom commented 3 years ago

확인해보니 anaconda가 4.10.1 버전이네요. readme를 보니 3.5버전을 권장하셨는데 conda를 다운그레이드 해야 할까요? 현재는 certifi는 넘어갔는데 regex에서 몇 시간째 걸려있습니다.

Taekyoon commented 3 years ago

네 anaconda 버전이 문제일 수 있어서요 한번 3.5로 맞춰서 설치해주실 수 있을까요?

saekomdalkom commented 3 years ago

네 올려주신 3.5.0 버전 새로 설치해서 진행해봤는데 그대로입니다 ㅠ 새로 만든 깨끗한 가상환경에서 진행했고 파이썬 버전 3.6.13입니다.

Taekyoon commented 3 years ago

혹시 설치하실 때 나오는 에러를 공유주실 수 있으신가요?

saekomdalkom commented 3 years ago

(tfpractice) C:\Users\User\Desktop\projects_vscode\tensorflow-ml-nlp-tf2>pip install -r requirements.txt Collecting numpy<=1.16.2 Using cached numpy-1.16.2-cp36-cp36m-win_amd64.whl (11.9 MB) Collecting jupyter Using cached jupyter-1.0.0-py2.py3-none-any.whl (2.7 kB) Collecting pandas Using cached pandas-1.1.5-cp36-cp36m-win_amd64.whl (8.7 MB) Collecting html5lib Using cached html5lib-1.1-py2.py3-none-any.whl (112 kB) Collecting seaborn Using cached seaborn-0.11.1-py3-none-any.whl (285 kB) Collecting matplotlib<3.3 Using cached matplotlib-3.2.2-cp36-cp36m-win_amd64.whl (9.2 MB) Collecting nltk==3.3 Using cached nltk-3.3.0.zip (1.4 MB) Collecting tqdm Using cached tqdm-4.62.0-py2.py3-none-any.whl (76 kB) Collecting seqeval Using cached seqeval-1.2.2.tar.gz (43 kB) Collecting transformers==3.0.2 Using cached transformers-3.0.2-py3-none-any.whl (769 kB) Collecting sentencepiece==0.1.85 Using cached sentencepiece-0.1.85-cp36-cp36m-win_amd64.whl (1.2 MB) Collecting mxnet Using cached mxnet-1.7.0.post2-py2.py3-none-win_amd64.whl (33.1 MB) Collecting gluonnlp==0.9.1 Using cached gluonnlp-0.9.1.tar.gz (252 kB) Collecting scikit-learn>=0.19.1 Using cached scikit_learn-0.24.2-cp36-cp36m-win_amd64.whl (6.8 MB) Collecting wordcloud Using cached wordcloud-1.8.1-cp36-cp36m-win_amd64.whl (154 kB) Collecting gensim Using cached gensim-4.0.1-cp36-cp36m-win_amd64.whl (23.9 MB) Collecting xgboost Using cached xgboost-1.4.2-py3-none-win_amd64.whl (97.8 MB) Collecting wget==3.2 Using cached wget-3.2.zip (10 kB) Collecting tokenizers==0.8.1.rc1 Using cached tokenizers-0.8.1rc1-cp36-cp36m-win_amd64.whl (1.9 MB) Collecting tensorflow==2.2.0 Using cached tensorflow-2.2.0-cp36-cp36m-win_amd64.whl (459.1 MB) Collecting h5py<3.0.0 Using cached h5py-2.10.0-cp36-cp36m-win_amd64.whl (2.4 MB) Collecting konlpy Using cached konlpy-0.5.2-py2.py3-none-any.whl (19.4 MB) Collecting beautifulsoup4 Using cached beautifulsoup4-4.9.3-py3-none-any.whl (115 kB) Collecting kaggle Using cached kaggle-1.5.12.tar.gz (58 kB) Collecting six Using cached six-1.16.0-py2.py3-none-any.whl (11 kB) Collecting packaging Using cached packaging-21.0-py3-none-any.whl (40 kB) Collecting sacremoses Using cached sacremoses-0.0.45-py3-none-any.whl (895 kB) Collecting requests Using cached requests-2.26.0-py2.py3-none-any.whl (62 kB) Collecting regex!=2019.12.17 Using cached regex-2021.8.3-cp36-cp36m-win_amd64.whl (270 kB) Collecting dataclasses Using cached dataclasses-0.8-py3-none-any.whl (19 kB) Collecting filelock Using cached filelock-3.0.12-py3-none-any.whl (7.6 kB) Collecting cython Using cached Cython-0.29.24-cp36-cp36m-win_amd64.whl (1.6 MB) Collecting astunparse==1.6.3 Using cached astunparse-1.6.3-py2.py3-none-any.whl (12 kB) Collecting termcolor>=1.1.0 Using cached termcolor-1.1.0.tar.gz (3.9 kB) Collecting grpcio>=1.8.6 Using cached grpcio-1.39.0-cp36-cp36m-win_amd64.whl (3.2 MB) Collecting keras-preprocessing>=1.1.0 Using cached Keras_Preprocessing-1.1.2-py2.py3-none-any.whl (42 kB) Collecting scipy==1.4.1 Using cached scipy-1.4.1-cp36-cp36m-win_amd64.whl (30.8 MB) Collecting google-pasta>=0.1.8 Using cached google_pasta-0.2.0-py3-none-any.whl (57 kB) Collecting gast==0.3.3 Using cached gast-0.3.3-py2.py3-none-any.whl (9.7 kB) Collecting tensorflow-estimator<2.3.0,>=2.2.0 Using cached tensorflow_estimator-2.2.0-py2.py3-none-any.whl (454 kB) Collecting protobuf>=3.8.0 Using cached protobuf-3.17.3-cp36-cp36m-win_amd64.whl (910 kB) Collecting tensorboard<2.3.0,>=2.2.0 Using cached tensorboard-2.2.2-py3-none-any.whl (3.0 MB) Collecting opt-einsum>=2.3.2 Using cached opt_einsum-3.3.0-py3-none-any.whl (65 kB) Collecting absl-py>=0.7.0 Using cached absl_py-0.13.0-py3-none-any.whl (132 kB) Collecting wrapt>=1.11.1 Using cached wrapt-1.12.1.tar.gz (27 kB) Requirement already satisfied: wheel>=0.26 in c:\users\user\anaconda3_2\envs\tfpractice\lib\site-packages (from tensorflow==2.2.0->-r requirements.txt (line 20)) (0.37.0) Collecting ipywidgets Using cached ipywidgets-7.6.3-py2.py3-none-any.whl (121 kB) Collecting notebook Using cached notebook-6.4.3-py3-none-any.whl (9.9 MB) Collecting qtconsole Using cached qtconsole-5.1.1-py3-none-any.whl (119 kB) Collecting jupyter-console Using cached jupyter_console-6.4.0-py3-none-any.whl (22 kB) Collecting ipykernel Using cached ipykernel-5.5.5-py3-none-any.whl (120 kB) Collecting nbconvert Using cached nbconvert-6.0.7-py3-none-any.whl (552 kB) Collecting python-dateutil>=2.7.3 Using cached python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB) Collecting pytz>=2017.2 Using cached pytz-2021.1-py2.py3-none-any.whl (510 kB) Collecting webencodings Using cached webencodings-0.5.1-py2.py3-none-any.whl (11 kB) Collecting kiwisolver>=1.0.1 Using cached kiwisolver-1.3.1-cp36-cp36m-win_amd64.whl (51 kB) Collecting cycler>=0.10 Using cached cycler-0.10.0-py2.py3-none-any.whl (6.5 kB) Collecting pyparsing!=2.0.4,!=2.1.2,!=2.1.6,>=2.0.1 Using cached pyparsing-2.4.7-py2.py3-none-any.whl (67 kB) Collecting colorama Using cached colorama-0.4.4-py2.py3-none-any.whl (16 kB) Collecting graphviz<0.9.0,>=0.8.1 Using cached graphviz-0.8.4-py2.py3-none-any.whl (16 kB) Collecting requests Using cached requests-2.18.4-py2.py3-none-any.whl (88 kB) Collecting threadpoolctl>=2.0.0 Using cached threadpoolctl-2.2.0-py3-none-any.whl (12 kB) Collecting joblib>=0.11 Using cached joblib-1.0.1-py3-none-any.whl (303 kB) Collecting pillow Using cached Pillow-8.3.1-1-cp36-cp36m-win_amd64.whl (3.2 MB) Collecting cython Using cached Cython-0.29.21-cp36-cp36m-win_amd64.whl (1.6 MB) Collecting smart-open>=1.8.1 Using cached smart_open-5.1.0-py3-none-any.whl (57 kB) Collecting JPype1>=0.7.0 Using cached JPype1-1.3.0-cp36-cp36m-win_amd64.whl (361 kB) Collecting tweepy>=3.7.0 Using cached tweepy-3.10.0-py2.py3-none-any.whl (30 kB) Collecting beautifulsoup4 Using cached beautifulsoup4-4.6.0-py3-none-any.whl (86 kB) Collecting lxml>=4.1.0 Using cached lxml-4.6.3-cp36-cp36m-win_amd64.whl (3.5 MB) Requirement already satisfied: certifi in c:\users\user\anaconda3_2\envs\tfpractice\lib\site-packages (from kaggle->-r requirements.txt (line 24)) (2021.5.30) Collecting python-slugify Using cached python_slugify-5.0.2-py2.py3-none-any.whl (6.7 kB) Collecting urllib3 Using cached urllib3-1.26.6-py2.py3-none-any.whl (138 kB) Collecting typing-extensions Using cached typing_extensions-3.10.0.0-py3-none-any.whl (26 kB) Collecting idna<2.7,>=2.5 Using cached idna-2.6-py2.py3-none-any.whl (56 kB) Collecting urllib3 Using cached urllib3-1.22-py2.py3-none-any.whl (132 kB) Collecting chardet<3.1.0,>=3.0.2 Using cached chardet-3.0.4-py2.py3-none-any.whl (133 kB) Collecting tensorboard-plugin-wit>=1.6.0 Using cached tensorboard_plugin_wit-1.8.0-py3-none-any.whl (781 kB) Collecting werkzeug>=0.11.15 Using cached Werkzeug-2.0.1-py3-none-any.whl (288 kB) Collecting google-auth-oauthlib<0.5,>=0.4.1 Downloading google_auth_oauthlib-0.4.5-py2.py3-none-any.whl (18 kB) Collecting tensorboard<2.3.0,>=2.2.0 Using cached tensorboard-2.2.1-py3-none-any.whl (3.0 MB) Using cached tensorboard-2.2.0-py3-none-any.whl (2.8 MB) INFO: pip is looking at multiple versions of smart-open to determine which version is compatible with other requirements. This could take a while. Collecting smart-open>=1.8.1 Using cached smart_open-5.0.0-py3-none-any.whl (56 kB) Using cached smart_open-4.2.0.tar.gz (119 kB) Using cached smart_open-4.1.2-py3-none-any.whl (111 kB) Using cached smart_open-4.1.0.tar.gz (116 kB) Using cached smart_open-4.0.1.tar.gz (117 kB) Using cached smart_open-4.0.0.tar.gz (106 kB) Using cached smart_open-3.0.0.tar.gz (113 kB) INFO: pip is looking at multiple versions of smart-open to determine which version is compatible with other requirements. This could take a while. Using cached smart_open-2.2.1.tar.gz (122 kB) Collecting boto3 Downloading boto3-1.18.21-py3-none-any.whl (131 kB) |████████████████████████████████| 131 kB 136 kB/s Collecting smart-open>=1.8.1 Using cached smart_open-2.2.0.tar.gz (113 kB) Using cached smart_open-2.1.1.tar.gz (111 kB) Collecting boto Using cached boto-2.49.0-py2.py3-none-any.whl (1.4 MB) Collecting smart-open>=1.8.1 Using cached smart_open-2.1.0.tar.gz (116 kB) Using cached smart_open-2.0.0.tar.gz (103 kB) INFO: This is taking longer than usual. You might need to provide the dependency resolver with stricter constraints to reduce runtime. If you want to abort this run, you can press Ctrl + C to do so. To improve how pip performs, tell us what happened here: https://pip.pypa.io/surveys/backtracking Using cached smart_open-1.11.1.tar.gz (105 kB) Using cached smart_open-1.11.0.tar.gz (101 kB) Using cached smart_open-1.10.1.tar.gz (92 kB) Using cached smart_open-1.10.0.tar.gz (99 kB) Collecting google-cloud-storage Using cached google_cloud_storage-1.42.0-py2.py3-none-any.whl (105 kB) Collecting smart-open>=1.8.1 Using cached smart_open-1.9.0.tar.gz (70 kB) INFO: pip is looking at multiple versions of boto to determine which version is compatible with other requirements. This could take a while. Collecting boto>=2.32 Using cached boto-2.48.0-py2.py3-none-any.whl (1.4 MB) Using cached boto-2.47.0-py2.py3-none-any.whl (1.4 MB) Using cached boto-2.46.1-py2.py3-none-any.whl (1.4 MB) Using cached boto-2.46.0-py2.py3-none-any.whl (1.3 MB) Using cached boto-2.45.0-py2.py3-none-any.whl (1.3 MB) Using cached boto-2.44.0-py2.py3-none-any.whl (1.3 MB) Using cached boto-2.43.0-py2.py3-none-any.whl (1.3 MB) INFO: pip is looking at multiple versions of boto to determine which version is compatible with other requirements. This could take a while. Using cached boto-2.42.0-py2.py3-none-any.whl (1.3 MB) Using cached boto-2.41.0-py2.py3-none-any.whl (1.3 MB) Using cached boto-2.40.0-py2.py3-none-any.whl (1.3 MB) Using cached boto-2.39.0-py2.py3-none-any.whl (1.3 MB) Using cached boto-2.38.0-py2.py3-none-any.whl (1.3 MB) INFO: This is taking longer than usual. You might need to provide the dependency resolver with stricter constraints to reduce runtime. If you want to abort this run, you can press Ctrl + C to do so. To improve how pip performs, tell us what happened here: https://pip.pypa.io/surveys/backtracking Using cached boto-2.37.0-py2.py3-none-any.whl (1.3 MB) Using cached boto-2.36.0-py2.py3-none-any.whl (1.3 MB) Using cached boto-2.35.2-py2.py3-none-any.whl (1.3 MB) Using cached boto-2.35.1-py2.py3-none-any.whl (1.3 MB) Using cached boto-2.35.0-py2.py3-none-any.whl (1.3 MB) Using cached boto-2.34.0-py2.py3-none-any.whl (1.3 MB) Using cached boto-2.33.0-py2.py3-none-any.whl (1.3 MB) Using cached boto-2.32.1-py2.py3-none-any.whl (1.2 MB) Using cached boto-2.32.0.tar.gz (7.2 MB) Collecting smart-open>=1.8.1 Using cached smart_open-1.8.4.tar.gz (63 kB) Using cached smart_open-1.8.3.tar.gz (60 kB) Using cached smart_open-1.8.2.tar.gz (57 kB) Collecting bz2file Using cached bz2file-0.98.tar.gz (11 kB) Collecting smart-open>=1.8.1 Using cached smart_open-1.8.1.tar.gz (48 kB) INFO: pip is looking at multiple versions of six to determine which version is compatible with other requirements. This could take a while. Collecting six Using cached six-1.15.0-py2.py3-none-any.whl (10 kB) Using cached six-1.14.0-py2.py3-none-any.whl (10 kB) Using cached six-1.13.0-py2.py3-none-any.whl (10 kB) Using cached six-1.12.0-py2.py3-none-any.whl (10 kB) INFO: pip is looking at multiple versions of idna to determine which version is compatible with other requirements. This could take a while. Collecting idna<2.7,>=2.5 Using cached idna-2.5-py2.py3-none-any.whl (55 kB) INFO: pip is looking at multiple versions of six to determine which version is compatible with other requirements. This could take a while. INFO: pip is looking at multiple versions of chardet to determine which version is compatible with other requirements. This could take a while. Collecting chardet<3.1.0,>=3.0.2 Using cached chardet-3.0.3-py2.py3-none-any.whl (133 kB) INFO: This is taking longer than usual. You might need to provide the dependency resolver with stricter constraints to reduce runtime. If you want to abort this run, you can press Ctrl + C to do so. To improve how pip performs, tell us what happened here: https://pip.pypa.io/surveys/backtracking Using cached chardet-3.0.2-py2.py3-none-any.whl (133 kB) INFO: pip is looking at multiple versions of certifi to determine which version is compatible with other requirements. This could take a while. Collecting certifi Using cached certifi-2021.5.30-py2.py3-none-any.whl (145 kB) INFO: pip is looking at multiple versions of idna to determine which version is compatible with other requirements. This could take a while. Using cached certifi-2020.12.5-py2.py3-none-any.whl (147 kB) INFO: This is taking longer than usual. You might need to provide the dependency resolver with stricter constraints to reduce runtime. If you want to abort this run, you can press Ctrl + C to do so. To improve how pip performs, tell us what happened here: https://pip.pypa.io/surveys/backtracking INFO: pip is looking at multiple versions of chardet to determine which version is compatible with other requirements. This could take a while. Using cached certifi-2020.11.8-py2.py3-none-any.whl (155 kB) Using cached certifi-2020.6.20-py2.py3-none-any.whl (156 kB) INFO: This is taking longer than usual. You might need to provide the dependency resolver with stricter constraints to reduce runtime. If you want to abort this run, you can press Ctrl + C to do so. To improve how pip performs, tell us what happened here: https://pip.pypa.io/surveys/backtracking Using cached certifi-2020.4.5.2-py2.py3-none-any.whl (157 kB) Using cached certifi-2020.4.5.1-py2.py3-none-any.whl (157 kB) Using cached certifi-2020.4.5-py2.py3-none-any.whl (156 kB) INFO: pip is looking at multiple versions of certifi to determine which version is compatible with other requirements. This could take a while. Using cached certifi-2019.11.28-py2.py3-none-any.whl (156 kB) Using cached certifi-2019.9.11-py2.py3-none-any.whl (154 kB) Using cached certifi-2019.6.16-py2.py3-none-any.whl (157 kB) Using cached certifi-2019.3.9-py2.py3-none-any.whl (158 kB) Using cached certifi-2018.11.29-py2.py3-none-any.whl (154 kB) INFO: This is taking longer than usual. You might need to provide the dependency resolver with stricter constraints to reduce runtime. If you want to abort this run, you can press Ctrl + C to do so. To improve how pip performs, tell us what happened here: https://pip.pypa.io/surveys/backtracking Using cached certifi-2018.10.15-py2.py3-none-any.whl (146 kB) Using cached certifi-2018.8.24-py2.py3-none-any.whl (147 kB) Using cached certifi-2018.8.13-py2.py3-none-any.whl (146 kB) Using cached certifi-2018.4.16-py2.py3-none-any.whl (150 kB) Using cached certifi-2018.1.18-py2.py3-none-any.whl (151 kB) Using cached certifi-2017.11.5-py2.py3-none-any.whl (330 kB) Using cached certifi-2017.7.27.1-py2.py3-none-any.whl (349 kB) Using cached certifi-2017.7.27-py2.py3-none-any.whl (349 kB) Using cached certifi-2017.4.17-py2.py3-none-any.whl (375 kB) INFO: pip is looking at multiple versions of requests to determine which version is compatible with other requirements. This could take a while. INFO: pip is looking at multiple versions of regex to determine which version is compatible with other requirements. This could take a while. Collecting regex!=2019.12.17 Using cached regex-2021.7.6-cp36-cp36m-win_amd64.whl (270 kB) Using cached regex-2021.7.5-cp36-cp36m-win_amd64.whl (270 kB)

명시적인 오류 메세지가 뜨지는 않는데 이런 식으로 호환되는 버전을 찾아서 pip이 계속 떠돌고 있습니다. 몇 시간째 계속 이런 상태로 끝나질 않네요.

Taekyoon commented 3 years ago

기존에 설치한 캐쉬 문제 일 수 있을것 으로 보이는데요. pip 실행 시에 '--no-cache-dir'을 넣어서 설치 해보실 수 있을까요?

saekomdalkom commented 3 years ago

주말동안 해당 옵션 넣어서 다른 새 컴퓨터에서 시도해봤는데 같은 증상이 마찬가지로 일어납니다. 이 컴퓨터에서는 완전히 포맷한 환경에서 새로 시도중입니다.

https://github.com/pypa/pip/issues/9215 여기 첫 번째로 달린 답변에 몇 가지 해결책이 제시되어 있는 것 같네요. 실제로는 충돌이 없는데 충돌이 있을 수 있다며 계속 종속성 오류가 생길 때는 --no-deps 옵션을 넣으면 설치가 된다는데 이렇게 해볼까요? requirements.txt를 그대로 설치할 경우 실제로는 충돌이 없을까요?

pip 20.3 버전일 경우 --use-deprecated=legacy-resolver 옵션을 넣어서 해보라는데 저는 pip 21.2 버전이고, 시도했더니 다른 오류가 생기네요.

saekomdalkom commented 3 years ago

(tfpractice) C:\Users\yoon5\Desktop\project_vscode\tensorflow-ml-nlp-tf2-master\tensorflow-ml-nlp-tf2-master>pip install -r requirements.txt --no-deps --no-cache-dir Requirement already satisfied: numpy<=1.16.2 in c:\users\yoon5\anaconda3\envs\tfpractice\lib\site-packages (from -r requirements.txt (line 1)) (1.16.2) Requirement already satisfied: jupyter in c:\users\yoon5\anaconda3\envs\tfpractice\lib\site-packages (from -r requirements.txt (line 2)) (1.0.0) Requirement already satisfied: pandas in c:\users\yoon5\anaconda3\envs\tfpractice\lib\site-packages (from -r requirements.txt (line 3)) (1.1.5) Requirement already satisfied: html5lib in c:\users\yoon5\anaconda3\envs\tfpractice\lib\site-packages (from -r requirements.txt (line 4)) (1.1) Requirement already satisfied: seaborn in c:\users\yoon5\anaconda3\envs\tfpractice\lib\site-packages (from -r requirements.txt (line 5)) (0.11.2) Requirement already satisfied: matplotlib<3.3 in c:\users\yoon5\anaconda3\envs\tfpractice\lib\site-packages (from -r requirements.txt (line 6)) (3.2.2) Requirement already satisfied: nltk==3.3 in c:\users\yoon5\anaconda3\envs\tfpractice\lib\site-packages (from -r requirements.txt (line 7)) (3.3) Requirement already satisfied: tqdm in c:\users\yoon5\anaconda3\envs\tfpractice\lib\site-packages (from -r requirements.txt (line 8)) (4.62.1) Requirement already satisfied: seqeval in c:\users\yoon5\anaconda3\envs\tfpractice\lib\site-packages (from -r requirements.txt (line 9)) (1.2.2) Requirement already satisfied: transformers==3.0.2 in c:\users\yoon5\anaconda3\envs\tfpractice\lib\site-packages (from -r requirements.txt (line 10)) (3.0.2) Requirement already satisfied: sentencepiece==0.1.85 in c:\users\yoon5\anaconda3\envs\tfpractice\lib\site-packages (from -r requirements.txt (line 11)) (0.1.85) Requirement already satisfied: mxnet in c:\users\yoon5\anaconda3\envs\tfpractice\lib\site-packages (from -r requirements.txt (line 12)) (1.7.0.post2) Collecting gluonnlp==0.9.1 Downloading gluonnlp-0.9.1.tar.gz (252 kB) |████████████████████████████████| 252 kB 2.2 MB/s Requirement already satisfied: scikit-learn>=0.19.1 in c:\users\yoon5\anaconda3\envs\tfpractice\lib\site-packages (from -r requirements.txt (line 14)) (0.24.2) Requirement already satisfied: wordcloud in c:\users\yoon5\anaconda3\envs\tfpractice\lib\site-packages (from -r requirements.txt (line 15)) (1.8.1) Collecting gensim Downloading gensim-4.0.1-cp36-cp36m-win_amd64.whl (23.9 MB) |████████████████████████████████| 23.9 MB 6.8 MB/s Requirement already satisfied: xgboost in c:\users\yoon5\anaconda3\envs\tfpractice\lib\site-packages (from -r requirements.txt (line 17)) (1.4.2) Requirement already satisfied: wget==3.2 in c:\users\yoon5\anaconda3\envs\tfpractice\lib\site-packages (from -r requirements.txt (line 18)) (3.2) Requirement already satisfied: tokenizers==0.8.1.rc1 in c:\users\yoon5\anaconda3\envs\tfpractice\lib\site-packages (from -r requirements.txt (line 19)) (0.8.1rc1) Requirement already satisfied: tensorflow==2.2.0 in c:\users\yoon5\anaconda3\envs\tfpractice\lib\site-packages (from -r requirements.txt (line 20)) (2.2.0) Requirement already satisfied: h5py<3.0.0 in c:\users\yoon5\anaconda3\envs\tfpractice\lib\site-packages (from -r requirements.txt (line 21)) (2.10.0) Requirement already satisfied: konlpy in c:\users\yoon5\anaconda3\envs\tfpractice\lib\site-packages (from -r requirements.txt (line 22)) (0.5.2) Collecting beautifulsoup4 Downloading beautifulsoup4-4.9.3-py3-none-any.whl (115 kB) |████████████████████████████████| 115 kB 6.8 MB/s Requirement already satisfied: kaggle in c:\users\yoon5\anaconda3\envs\tfpractice\lib\site-packages (from -r requirements.txt (line 24)) (1.5.12) Building wheels for collected packages: gluonnlp Building wheel for gluonnlp (setup.py) ... error ERROR: Command errored out with exit status 1: command: 'C:\Users\yoon5\Anaconda3\envs\tfpractice\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\yoon5\AppData\Local\Temp\pip-install-5wnid46w\gluonnlp_8604a4a117214d56b74ef5cab045146c\setup.py'"'"'; file='"'"'C:\Users\yoon5\AppData\Local\Temp\pip-install-5wnid46w\gluonnlp_8604a4a117214d56b74ef5cab045146c\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' bdistwheel -d 'C:\Users\yoon5\AppData\Local\Temp\pip-wheel-d6ck98a' cwd: C:\Users\yoon5\AppData\Local\Temp\pip-install-5wnid46w\gluonnlp_8604a4a117214d56b74ef5cab045146c\ Complete output (113 lines): running bdist_wheel running build running build_py creating build creating build\lib.win-amd64-3.6 creating build\lib.win-amd64-3.6\gluonnlp copying src\gluonnlp\base.py -> build\lib.win-amd64-3.6\gluonnlp copying src\gluonnlp_constants.py -> build\lib.win-amd64-3.6\gluonnlp copying src\gluonnlp__init.py -> build\lib.win-amd64-3.6\gluonnlp creating build\lib.win-amd64-3.6\gluonnlp\calibration copying src\gluonnlp\calibration\collector.py -> build\lib.win-amd64-3.6\gluonnlp\calibration copying src\gluonnlp\calibration__init.py -> build\lib.win-amd64-3.6\gluonnlp\calibration creating build\lib.win-amd64-3.6\gluonnlp\data copying src\gluonnlp\data\candidate_sampler.py -> build\lib.win-amd64-3.6\gluonnlp\data copying src\gluonnlp\data\conll.py -> build\lib.win-amd64-3.6\gluonnlp\data copying src\gluonnlp\data\dataloader.py -> build\lib.win-amd64-3.6\gluonnlp\data copying src\gluonnlp\data\dataset.py -> build\lib.win-amd64-3.6\gluonnlp\data copying src\gluonnlp\data\datasetloader.py -> build\lib.win-amd64-3.6\gluonnlp\data copying src\gluonnlp\data\glue.py -> build\lib.win-amd64-3.6\gluonnlp\data copying src\gluonnlp\data\intent_slot.py -> build\lib.win-amd64-3.6\gluonnlp\data copying src\gluonnlp\data\question_answering.py -> build\lib.win-amd64-3.6\gluonnlp\data copying src\gluonnlp\data\registry.py -> build\lib.win-amd64-3.6\gluonnlp\data copying src\gluonnlp\data\sampler.py -> build\lib.win-amd64-3.6\gluonnlp\data copying src\gluonnlp\data\sentiment.py -> build\lib.win-amd64-3.6\gluonnlp\data copying src\gluonnlp\data\stream.py -> build\lib.win-amd64-3.6\gluonnlp\data copying src\gluonnlp\data\super_glue.py -> build\lib.win-amd64-3.6\gluonnlp\data copying src\gluonnlp\data\transforms.py -> build\lib.win-amd64-3.6\gluonnlp\data copying src\gluonnlp\data\translation.py -> build\lib.win-amd64-3.6\gluonnlp\data copying src\gluonnlp\data\utils.py -> build\lib.win-amd64-3.6\gluonnlp\data copying src\gluonnlp\data\word_embedding_evaluation.py -> build\lib.win-amd64-3.6\gluonnlp\data copying src\gluonnlp\data__init.py -> build\lib.win-amd64-3.6\gluonnlp\data creating build\lib.win-amd64-3.6\gluonnlp\embedding copying src\gluonnlp\embedding\evaluation.py -> build\lib.win-amd64-3.6\gluonnlp\embedding copying src\gluonnlp\embedding\token_embedding.py -> build\lib.win-amd64-3.6\gluonnlp\embedding copying src\gluonnlp\embedding__init.py -> build\lib.win-amd64-3.6\gluonnlp\embedding creating build\lib.win-amd64-3.6\gluonnlp\initializer copying src\gluonnlp\initializer\initializer.py -> build\lib.win-amd64-3.6\gluonnlp\initializer copying src\gluonnlp\initializer__init.py -> build\lib.win-amd64-3.6\gluonnlp\initializer creating build\lib.win-amd64-3.6\gluonnlp\loss copying src\gluonnlp\loss\activation_regularizer.py -> build\lib.win-amd64-3.6\gluonnlp\loss copying src\gluonnlp\loss\label_smoothing.py -> build\lib.win-amd64-3.6\gluonnlp\loss copying src\gluonnlp\loss\loss.py -> build\lib.win-amd64-3.6\gluonnlp\loss copying src\gluonnlp\loss__init__.py -> build\lib.win-amd64-3.6\gluonnlp\loss creating build\lib.win-amd64-3.6\gluonnlp\metric copying src\gluonnlp\metric\length_normalized_loss.py -> build\lib.win-amd64-3.6\gluonnlp\metric copying src\gluonnlp\metric\masked_accuracy.py -> build\lib.win-amd64-3.6\gluonnlp\metric copying src\gluonnlp\metric\init.py -> build\lib.win-amd64-3.6\gluonnlp\metric creating build\lib.win-amd64-3.6\gluonnlp\model copying src\gluonnlp\model\attention_cell.py -> build\lib.win-amd64-3.6\gluonnlp\model copying src\gluonnlp\model\bert.py -> build\lib.win-amd64-3.6\gluonnlp\model copying src\gluonnlp\model\bilm_encoder.py -> build\lib.win-amd64-3.6\gluonnlp\model copying src\gluonnlp\model\block.py -> build\lib.win-amd64-3.6\gluonnlp\model copying src\gluonnlp\model\convolutional_encoder.py -> build\lib.win-amd64-3.6\gluonnlp\model copying src\gluonnlp\model\elmo.py -> build\lib.win-amd64-3.6\gluonnlp\model copying src\gluonnlp\model\highway.py -> build\lib.win-amd64-3.6\gluonnlp\model copying src\gluonnlp\model\language_model.py -> build\lib.win-amd64-3.6\gluonnlp\model copying src\gluonnlp\model\lstmpcellwithclip.py -> build\lib.win-amd64-3.6\gluonnlp\model copying src\gluonnlp\model\parameter.py -> build\lib.win-amd64-3.6\gluonnlp\model copying src\gluonnlp\model\sampled_block.py -> build\lib.win-amd64-3.6\gluonnlp\model copying src\gluonnlp\model\seq2seq_encoder_decoder.py -> build\lib.win-amd64-3.6\gluonnlp\model copying src\gluonnlp\model\sequence_sampler.py -> build\lib.win-amd64-3.6\gluonnlp\model copying src\gluonnlp\model\transformer.py -> build\lib.win-amd64-3.6\gluonnlp\model copying src\gluonnlp\model\translation.py -> build\lib.win-amd64-3.6\gluonnlp\model copying src\gluonnlp\model\utils.py -> build\lib.win-amd64-3.6\gluonnlp\model copying src\gluonnlp\model\init__.py -> build\lib.win-amd64-3.6\gluonnlp\model creating build\lib.win-amd64-3.6\gluonnlp\optimizer copying src\gluonnlp\optimizer\bert_adam.py -> build\lib.win-amd64-3.6\gluonnlp\optimizer copying src\gluonnlp\optimizer\init.py -> build\lib.win-amd64-3.6\gluonnlp\optimizer creating build\lib.win-amd64-3.6\gluonnlp\utils copying src\gluonnlp\utils\files.py -> build\lib.win-amd64-3.6\gluonnlp\utils copying src\gluonnlp\utils\parallel.py -> build\lib.win-amd64-3.6\gluonnlp\utils copying src\gluonnlp\utils\parameter.py -> build\lib.win-amd64-3.6\gluonnlp\utils copying src\gluonnlp\utils\version.py -> build\lib.win-amd64-3.6\gluonnlp\utils copying src\gluonnlp\utils\init.py -> build\lib.win-amd64-3.6\gluonnlp\utils creating build\lib.win-amd64-3.6\gluonnlp\vocab copying src\gluonnlp\vocab\bert.py -> build\lib.win-amd64-3.6\gluonnlp\vocab copying src\gluonnlp\vocab\elmo.py -> build\lib.win-amd64-3.6\gluonnlp\vocab copying src\gluonnlp\vocab\subwords.py -> build\lib.win-amd64-3.6\gluonnlp\vocab copying src\gluonnlp\vocab\vocab.py -> build\lib.win-amd64-3.6\gluonnlp\vocab copying src\gluonnlp\vocab\init__.py -> build\lib.win-amd64-3.6\gluonnlp\vocab creating build\lib.win-amd64-3.6\gluonnlp\data\batchify copying src\gluonnlp\data\batchify\batchify.py -> build\lib.win-amd64-3.6\gluonnlp\data\batchify copying src\gluonnlp\data\batchify\embedding.py -> build\lib.win-amd64-3.6\gluonnlp\data\batchify copying src\gluonnlp\data\batchify\language_model.py -> build\lib.win-amd64-3.6\gluonnlp\data\batchify copying src\gluonnlp\data\batchify\init__.py -> build\lib.win-amd64-3.6\gluonnlp\data\batchify creating build\lib.win-amd64-3.6\gluonnlp\data\corpora copying src\gluonnlp\data\corpora\google_billion_word.py -> build\lib.win-amd64-3.6\gluonnlp\data\corpora copying src\gluonnlp\data\corpora\large_text_compression_benchmark.py -> build\lib.win-amd64-3.6\gluonnlp\data\corpora copying src\gluonnlp\data\corpora\wikitext.py -> build\lib.win-amd64-3.6\gluonnlp\data\corpora copying src\gluonnlp\data\corpora\init__.py -> build\lib.win-amd64-3.6\gluonnlp\data\corpora creating build\lib.win-amd64-3.6\gluonnlp\model\train copying src\gluonnlp\model\train\cache.py -> build\lib.win-amd64-3.6\gluonnlp\model\train copying src\gluonnlp\model\train\embedding.py -> build\lib.win-amd64-3.6\gluonnlp\model\train copying src\gluonnlp\model\train\language_model.py -> build\lib.win-amd64-3.6\gluonnlp\model\train copying src\gluonnlp\model\train\init__.py -> build\lib.win-amd64-3.6\gluonnlp\model\train running egg_info writing src\gluonnlp.egg-info\PKG-INFO writing dependency_links to src\gluonnlp.egg-info\dependency_links.txt writing requirements to src\gluonnlp.egg-info\requires.txt writing top-level names to src\gluonnlp.egg-info\top_level.txt reading manifest file 'src\gluonnlp.egg-info\SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching '.py' under directory 'gluonnlp' warning: no previously-included files matching '' found under directory 'tests' warning: no previously-included files matching '*' found under directory 'scripts' writing manifest file 'src\gluonnlp.egg-info\SOURCES.txt' copying src\gluonnlp\data\fast_bert_tokenizer.pyx -> build\lib.win-amd64-3.6\gluonnlp\data running build_ext cythoning src/gluonnlp/data/fast_bert_tokenizer.pyx to src/gluonnlp/data\fast_bert_tokenizer.c C:\Users\yoon5\Anaconda3\envs\tfpractice\lib\site-packages\Cython\Compiler\Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: C:\Users\yoon5\AppData\Local\Temp\pip-install-5wnid46w\gluonnlp_8604a4a117214d56b74ef5cab045146c\src\gluonnlp\data\fast_bert_tokenizer.pyx tree = Parsing.p_module(s, pxd, full_module_name) building 'gluonnlp.data.fast_bert_tokenizer' extension error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/

ERROR: Failed building wheel for gluonnlp Running setup.py clean for gluonnlp Failed to build gluonnlp Installing collected packages: gluonnlp, gensim, beautifulsoup4 Running setup.py install for gluonnlp ... error ERROR: Command errored out with exit status 1: command: 'C:\Users\yoon5\Anaconda3\envs\tfpractice\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\yoon5\AppData\Local\Temp\pip-install-5wnid46w\gluonnlp_8604a4a117214d56b74ef5cab045146c\setup.py'"'"'; file='"'"'C:\Users\yoon5\AppData\Local\Temp\pip-install-5wnid46w\gluonnlp_8604a4a117214d56b74ef5cab045146c\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record 'C:\Users\yoon5\AppData\Local\Temp\pip-record-145cv8td\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\Users\yoon5\Anaconda3\envs\tfpractice\Include\gluonnlp' cwd: C:\Users\yoon5\AppData\Local\Temp\pip-install-5wnid46w\gluonnlp_8604a4a117214d56b74ef5cab045146c\ Complete output (111 lines): running install running build running build_py creating build creating build\lib.win-amd64-3.6 creating build\lib.win-amd64-3.6\gluonnlp copying src\gluonnlp\base.py -> build\lib.win-amd64-3.6\gluonnlp copying src\gluonnlp_constants.py -> build\lib.win-amd64-3.6\gluonnlp copying src\gluonnlp__init.py -> build\lib.win-amd64-3.6\gluonnlp creating build\lib.win-amd64-3.6\gluonnlp\calibration copying src\gluonnlp\calibration\collector.py -> build\lib.win-amd64-3.6\gluonnlp\calibration copying src\gluonnlp\calibration__init.py -> build\lib.win-amd64-3.6\gluonnlp\calibration creating build\lib.win-amd64-3.6\gluonnlp\data copying src\gluonnlp\data\candidate_sampler.py -> build\lib.win-amd64-3.6\gluonnlp\data copying src\gluonnlp\data\conll.py -> build\lib.win-amd64-3.6\gluonnlp\data copying src\gluonnlp\data\dataloader.py -> build\lib.win-amd64-3.6\gluonnlp\data copying src\gluonnlp\data\dataset.py -> build\lib.win-amd64-3.6\gluonnlp\data copying src\gluonnlp\data\datasetloader.py -> build\lib.win-amd64-3.6\gluonnlp\data copying src\gluonnlp\data\glue.py -> build\lib.win-amd64-3.6\gluonnlp\data copying src\gluonnlp\data\intent_slot.py -> build\lib.win-amd64-3.6\gluonnlp\data copying src\gluonnlp\data\question_answering.py -> build\lib.win-amd64-3.6\gluonnlp\data copying src\gluonnlp\data\registry.py -> build\lib.win-amd64-3.6\gluonnlp\data copying src\gluonnlp\data\sampler.py -> build\lib.win-amd64-3.6\gluonnlp\data copying src\gluonnlp\data\sentiment.py -> build\lib.win-amd64-3.6\gluonnlp\data copying src\gluonnlp\data\stream.py -> build\lib.win-amd64-3.6\gluonnlp\data copying src\gluonnlp\data\super_glue.py -> build\lib.win-amd64-3.6\gluonnlp\data copying src\gluonnlp\data\transforms.py -> build\lib.win-amd64-3.6\gluonnlp\data copying src\gluonnlp\data\translation.py -> build\lib.win-amd64-3.6\gluonnlp\data copying src\gluonnlp\data\utils.py -> build\lib.win-amd64-3.6\gluonnlp\data copying src\gluonnlp\data\word_embedding_evaluation.py -> build\lib.win-amd64-3.6\gluonnlp\data copying src\gluonnlp\data__init.py -> build\lib.win-amd64-3.6\gluonnlp\data creating build\lib.win-amd64-3.6\gluonnlp\embedding copying src\gluonnlp\embedding\evaluation.py -> build\lib.win-amd64-3.6\gluonnlp\embedding copying src\gluonnlp\embedding\token_embedding.py -> build\lib.win-amd64-3.6\gluonnlp\embedding copying src\gluonnlp\embedding__init.py -> build\lib.win-amd64-3.6\gluonnlp\embedding creating build\lib.win-amd64-3.6\gluonnlp\initializer copying src\gluonnlp\initializer\initializer.py -> build\lib.win-amd64-3.6\gluonnlp\initializer copying src\gluonnlp\initializer__init.py -> build\lib.win-amd64-3.6\gluonnlp\initializer creating build\lib.win-amd64-3.6\gluonnlp\loss copying src\gluonnlp\loss\activation_regularizer.py -> build\lib.win-amd64-3.6\gluonnlp\loss copying src\gluonnlp\loss\label_smoothing.py -> build\lib.win-amd64-3.6\gluonnlp\loss copying src\gluonnlp\loss\loss.py -> build\lib.win-amd64-3.6\gluonnlp\loss copying src\gluonnlp\loss__init__.py -> build\lib.win-amd64-3.6\gluonnlp\loss creating build\lib.win-amd64-3.6\gluonnlp\metric copying src\gluonnlp\metric\length_normalized_loss.py -> build\lib.win-amd64-3.6\gluonnlp\metric copying src\gluonnlp\metric\masked_accuracy.py -> build\lib.win-amd64-3.6\gluonnlp\metric copying src\gluonnlp\metric\init.py -> build\lib.win-amd64-3.6\gluonnlp\metric creating build\lib.win-amd64-3.6\gluonnlp\model copying src\gluonnlp\model\attention_cell.py -> build\lib.win-amd64-3.6\gluonnlp\model copying src\gluonnlp\model\bert.py -> build\lib.win-amd64-3.6\gluonnlp\model copying src\gluonnlp\model\bilm_encoder.py -> build\lib.win-amd64-3.6\gluonnlp\model copying src\gluonnlp\model\block.py -> build\lib.win-amd64-3.6\gluonnlp\model copying src\gluonnlp\model\convolutional_encoder.py -> build\lib.win-amd64-3.6\gluonnlp\model copying src\gluonnlp\model\elmo.py -> build\lib.win-amd64-3.6\gluonnlp\model copying src\gluonnlp\model\highway.py -> build\lib.win-amd64-3.6\gluonnlp\model copying src\gluonnlp\model\language_model.py -> build\lib.win-amd64-3.6\gluonnlp\model copying src\gluonnlp\model\lstmpcellwithclip.py -> build\lib.win-amd64-3.6\gluonnlp\model copying src\gluonnlp\model\parameter.py -> build\lib.win-amd64-3.6\gluonnlp\model copying src\gluonnlp\model\sampled_block.py -> build\lib.win-amd64-3.6\gluonnlp\model copying src\gluonnlp\model\seq2seq_encoder_decoder.py -> build\lib.win-amd64-3.6\gluonnlp\model copying src\gluonnlp\model\sequence_sampler.py -> build\lib.win-amd64-3.6\gluonnlp\model copying src\gluonnlp\model\transformer.py -> build\lib.win-amd64-3.6\gluonnlp\model copying src\gluonnlp\model\translation.py -> build\lib.win-amd64-3.6\gluonnlp\model copying src\gluonnlp\model\utils.py -> build\lib.win-amd64-3.6\gluonnlp\model copying src\gluonnlp\model\init__.py -> build\lib.win-amd64-3.6\gluonnlp\model creating build\lib.win-amd64-3.6\gluonnlp\optimizer copying src\gluonnlp\optimizer\bert_adam.py -> build\lib.win-amd64-3.6\gluonnlp\optimizer copying src\gluonnlp\optimizer\init.py -> build\lib.win-amd64-3.6\gluonnlp\optimizer creating build\lib.win-amd64-3.6\gluonnlp\utils copying src\gluonnlp\utils\files.py -> build\lib.win-amd64-3.6\gluonnlp\utils copying src\gluonnlp\utils\parallel.py -> build\lib.win-amd64-3.6\gluonnlp\utils copying src\gluonnlp\utils\parameter.py -> build\lib.win-amd64-3.6\gluonnlp\utils copying src\gluonnlp\utils\version.py -> build\lib.win-amd64-3.6\gluonnlp\utils copying src\gluonnlp\utils\init.py -> build\lib.win-amd64-3.6\gluonnlp\utils creating build\lib.win-amd64-3.6\gluonnlp\vocab copying src\gluonnlp\vocab\bert.py -> build\lib.win-amd64-3.6\gluonnlp\vocab copying src\gluonnlp\vocab\elmo.py -> build\lib.win-amd64-3.6\gluonnlp\vocab copying src\gluonnlp\vocab\subwords.py -> build\lib.win-amd64-3.6\gluonnlp\vocab copying src\gluonnlp\vocab\vocab.py -> build\lib.win-amd64-3.6\gluonnlp\vocab copying src\gluonnlp\vocab\init__.py -> build\lib.win-amd64-3.6\gluonnlp\vocab creating build\lib.win-amd64-3.6\gluonnlp\data\batchify copying src\gluonnlp\data\batchify\batchify.py -> build\lib.win-amd64-3.6\gluonnlp\data\batchify copying src\gluonnlp\data\batchify\embedding.py -> build\lib.win-amd64-3.6\gluonnlp\data\batchify copying src\gluonnlp\data\batchify\language_model.py -> build\lib.win-amd64-3.6\gluonnlp\data\batchify copying src\gluonnlp\data\batchify\init__.py -> build\lib.win-amd64-3.6\gluonnlp\data\batchify creating build\lib.win-amd64-3.6\gluonnlp\data\corpora copying src\gluonnlp\data\corpora\google_billion_word.py -> build\lib.win-amd64-3.6\gluonnlp\data\corpora copying src\gluonnlp\data\corpora\large_text_compression_benchmark.py -> build\lib.win-amd64-3.6\gluonnlp\data\corpora copying src\gluonnlp\data\corpora\wikitext.py -> build\lib.win-amd64-3.6\gluonnlp\data\corpora copying src\gluonnlp\data\corpora\init__.py -> build\lib.win-amd64-3.6\gluonnlp\data\corpora creating build\lib.win-amd64-3.6\gluonnlp\model\train copying src\gluonnlp\model\train\cache.py -> build\lib.win-amd64-3.6\gluonnlp\model\train copying src\gluonnlp\model\train\embedding.py -> build\lib.win-amd64-3.6\gluonnlp\model\train copying src\gluonnlp\model\train\language_model.py -> build\lib.win-amd64-3.6\gluonnlp\model\train copying src\gluonnlp\model\train\init__.py -> build\lib.win-amd64-3.6\gluonnlp\model\train running egg_info writing src\gluonnlp.egg-info\PKG-INFO writing dependency_links to src\gluonnlp.egg-info\dependency_links.txt writing requirements to src\gluonnlp.egg-info\requires.txt writing top-level names to src\gluonnlp.egg-info\top_level.txt reading manifest file 'src\gluonnlp.egg-info\SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching '.py' under directory 'gluonnlp' warning: no previously-included files matching '' found under directory 'tests' warning: no previously-included files matching '*' found under directory 'scripts' writing manifest file 'src\gluonnlp.egg-info\SOURCES.txt' copying src\gluonnlp\data\fast_bert_tokenizer.pyx -> build\lib.win-amd64-3.6\gluonnlp\data running build_ext skipping 'src/gluonnlp/data\fast_bert_tokenizer.c' Cython extension (up-to-date) building 'gluonnlp.data.fast_bert_tokenizer' extension error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/

ERROR: Command errored out with exit status 1: 'C:\Users\yoon5\Anaconda3\envs\tfpractice\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\yoon5\AppData\Local\Temp\pip-install-5wnid46w\gluonnlp_8604a4a117214d56b74ef5cab045146c\setup.py'"'"'; file='"'"'C:\Users\yoon5\AppData\Local\Temp\pip-install-5wnid46w\gluonnlp_8604a4a117214d56b74ef5cab045146c\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record 'C:\Users\yoon5\AppData\Local\Temp\pip-record-145cv8td\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\Users\yoon5\Anaconda3\envs\tfpractice\Include\gluonnlp' Check the logs for full command output.

--use-deprecated=legacy-resolver도 안되고 --no-deps도 안되고 --no-cache-dir도 안되네요... 다른 분들은 어떻게 하신건지 모르겠습니다 ㅠ

Taekyoon commented 3 years ago

우선 Microsoft C++ Build Tools 이거부터 설치 해보셔야 할 것 같습니다

saekomdalkom commented 3 years ago

원인을 찾았습니다. gluonnlp가 리눅스하고 맥 전용이라 윈도우에서는 설치가 안 되는 것 같아요. 코랩에서 해보니 정상적으로 설치가 되네요. 감사합니다 :-)

Taekyoon commented 3 years ago

해결되셨다니 다행입니다!