BianQue icon indicating copy to clipboard operation
BianQue copied to clipboard

proactivehealthgpt_py38.yml seems broken, cannot build conda env with this file

Open silent780 opened this issue 1 year ago • 3 comments

Thanks for your work !!!

I used Win 10 platform and tried to build the conda env with your yml file mentioned in the README, but returns an error like this:

Collecting package metadata (repodata.json): done
Solving environment: failed

ResolvePackageNotFound:
  - ncurses==6.4=h6a678d5_0
  - argon2-cffi-bindings==21.2.0=py38h7f8727e_0
  - nest-asyncio==1.5.6=py38h06a4308_0
  - ipykernel==6.19.2=py38hb070fc8_0
  - jinja2==3.1.2=py38h06a4308_0
  - libffi==3.4.2=h6a678d5_6
  - flit-core==3.8.0=py38h06a4308_0
  - glib==2.69.1=he621ea3_2
  - jupyter_client==8.1.0=py38h06a4308_0
  - xz==5.2.10=h5eee18b_1
  - libedit==3.1.20221030=h5eee18b_0
  - pkgutil-resolve-name==1.3.10=py38h06a4308_0
  - ca-certificates==2023.01.10=h06a4308_0
  - qtpy==2.2.0=py38h06a4308_0
  - pyzmq==23.2.0=py38h6a678d5_0
  - certifi==2022.12.7=py38h06a4308_0
  - prometheus_client==0.14.1=py38h06a4308_0
  - gstreamer==1.14.1=h5eee18b_1
  - pip==23.0.1=py38h06a4308_0
  - qtwebkit==5.212=h3fafdc1_5
  - urllib3==1.26.15=py38h06a4308_0
  - libxml2==2.10.3=hcbfbd50_0
  - prompt-toolkit==3.0.36=py38h06a4308_0
  - _openmp_mutex==5.1=1_gnu
  - wheel==0.38.4=py38h06a4308_0
  - babel==2.11.0=py38h06a4308_0
  - libevent==2.1.12=h8f2d780_0
  - nspr==4.33=h295c915_0
  - libstdcxx-ng==11.2.0=h1234567_1
  - freetype==2.12.1=h4a9f257_0
  - notebook-shim==0.2.2=py38h06a4308_0
  - setuptools==65.6.3=py38h06a4308_0
  - tk==8.6.12=h1ccaba5_0
  - libclang==14.0.6=default_hc6dbbc7_1
  - libsodium==1.0.18=h7b6447c_0
  - nbclassic==0.5.4=py38h06a4308_0
  - nbclient==0.5.13=py38h06a4308_0
  - jupyter==1.0.0=py38h06a4308_8
  - websocket-client==0.58.0=py38h06a4308_4
  - tinycss2==1.2.1=py38h06a4308_0
  - libllvm14==14.0.6=hdb19cb5_2
  - ipywidgets==8.0.4=py38h06a4308_0
  - pcre==8.45=h295c915_0
  - zstd==1.5.5=hc292b87_0
  - pysocks==1.7.1=py38h06a4308_0
  - libtiff==4.5.0=h6a678d5_2
  - jupyter_core==5.3.0=py38h06a4308_0
  - nbformat==5.7.0=py38h06a4308_0
  - terminado==0.17.1=py38h06a4308_0
  - debugpy==1.5.1=py38h295c915_0
  - icu==58.2=he6710b0_3
  - ld_impl_linux-64==2.38=h1181459_1
  - libpng==1.6.39=h5eee18b_0
  - libwebp-base==1.2.4=h5eee18b_1
  - dbus==1.13.18=hb2f20db_0
  - python-fastjsonschema==2.16.2=py38h06a4308_0
  - zlib==1.2.13=h5eee18b_0
  - lerc==3.0=h295c915_0
  - krb5==1.19.4=h568e23c_0
  - matplotlib-inline==0.1.6=py38h06a4308_0
  - tomli==2.0.1=py38h06a4308_0
  - brotlipy==0.7.0=py38h27cfd23_1003
  - comm==0.1.2=py38h06a4308_0
  - lxml==4.9.2=py38h5eee18b_0
  - expat==2.4.9=h6a678d5_0
  - lz4-c==1.9.4=h6a678d5_0
  - python==3.8.16=h7a1cb2a_3
  - nss==3.74=h0370c37_0
  - jupyter_server==1.23.4=py38h06a4308_0
  - gst-plugins-base==1.14.1=h6a678d5_1
  - libxkbcommon==1.0.1=h5eee18b_1
  - pyqt5-sip==12.11.0=py38h6a678d5_1
  - libpq==12.9=h16c4e8d_3
  - packaging==23.0=py38h06a4308_0
  - typing_extensions==4.4.0=py38h06a4308_0
  - libdeflate==1.17=h5eee18b_0
  - libxslt==1.1.37=h2085143_0
  - sqlite==3.41.1=h5eee18b_0
  - jupyterlab==3.5.3=py38h06a4308_0
  - mistune==0.8.4=py38h7b6447c_1000
  - giflib==5.2.1=h5eee18b_3
  - qtconsole==5.4.2=py38h06a4308_0
  - libclang13==14.0.6=default_he11475f_1
  - jupyterlab_server==2.22.0=py38h06a4308_0
  - traitlets==5.7.1=py38h06a4308_0
  - jsonschema==4.17.3=py38h06a4308_0
  - jedi==0.18.1=py38h06a4308_1
  - libwebp==1.2.4=h11a3e52_1
  - libuuid==1.41.5=h5eee18b_0
  - idna==3.4=py38h06a4308_0
  - pyqt==5.15.7=py38h6a678d5_1
  - openssl==1.1.1t=h7f8727e_0
  - ipython==8.12.0=py38h06a4308_0
  - libxcb==1.15=h7f8727e_0
  - tornado==6.2=py38h5eee18b_0
  - libgcc-ng==11.2.0=h1234567_1
  - beautifulsoup4==4.12.0=py38h06a4308_0
  - cffi==1.15.1=py38h5eee18b_3
  - libgomp==11.2.0=h1234567_1
  - jupyter_console==6.6.3=py38h06a4308_0
  - zeromq==4.3.4=h2531618_0
  - soupsieve==2.4=py38h06a4308_0
  - jupyterlab_widgets==3.0.5=py38h06a4308_0
  - qt-webengine==5.15.9=hbbf29b9_6
  - entrypoints==0.4=py38h06a4308_0
  - sip==6.6.2=py38h6a678d5_0
  - jpeg==9e=h5eee18b_1
  - fontconfig==2.14.1=h4c34cd2_2
  - nbconvert==6.5.4=py38h06a4308_0
  - widgetsnbextension==4.0.5=py38h06a4308_0
  - qt-main==5.15.2=h8373d8f_8
  - readline==8.2=h5eee18b_0
  - notebook==6.5.3=py38h06a4308_0
  - pyopenssl==23.0.0=py38h06a4308_0

How to fix this error, thanks for your time !!!

silent780 avatar Jun 09 '23 08:06 silent780

Thanks for your question, the proactivehealthgpt_py38_.yml file for windows will be pushed soon!

scutcyr avatar Jun 09 '23 09:06 scutcyr

Thanks for your work !!!

I used Win 10 platform and tried to build the conda env with your yml file mentioned in the README, but returns an error like this:

Collecting package metadata (repodata.json): done
Solving environment: failed

ResolvePackageNotFound:
  - ncurses==6.4=h6a678d5_0
  - argon2-cffi-bindings==21.2.0=py38h7f8727e_0
  - nest-asyncio==1.5.6=py38h06a4308_0
  - ipykernel==6.19.2=py38hb070fc8_0
  - jinja2==3.1.2=py38h06a4308_0
  - libffi==3.4.2=h6a678d5_6
  - flit-core==3.8.0=py38h06a4308_0
  - glib==2.69.1=he621ea3_2
  - jupyter_client==8.1.0=py38h06a4308_0
  - xz==5.2.10=h5eee18b_1
  - libedit==3.1.20221030=h5eee18b_0
  - pkgutil-resolve-name==1.3.10=py38h06a4308_0
  - ca-certificates==2023.01.10=h06a4308_0
  - qtpy==2.2.0=py38h06a4308_0
  - pyzmq==23.2.0=py38h6a678d5_0
  - certifi==2022.12.7=py38h06a4308_0
  - prometheus_client==0.14.1=py38h06a4308_0
  - gstreamer==1.14.1=h5eee18b_1
  - pip==23.0.1=py38h06a4308_0
  - qtwebkit==5.212=h3fafdc1_5
  - urllib3==1.26.15=py38h06a4308_0
  - libxml2==2.10.3=hcbfbd50_0
  - prompt-toolkit==3.0.36=py38h06a4308_0
  - _openmp_mutex==5.1=1_gnu
  - wheel==0.38.4=py38h06a4308_0
  - babel==2.11.0=py38h06a4308_0
  - libevent==2.1.12=h8f2d780_0
  - nspr==4.33=h295c915_0
  - libstdcxx-ng==11.2.0=h1234567_1
  - freetype==2.12.1=h4a9f257_0
  - notebook-shim==0.2.2=py38h06a4308_0
  - setuptools==65.6.3=py38h06a4308_0
  - tk==8.6.12=h1ccaba5_0
  - libclang==14.0.6=default_hc6dbbc7_1
  - libsodium==1.0.18=h7b6447c_0
  - nbclassic==0.5.4=py38h06a4308_0
  - nbclient==0.5.13=py38h06a4308_0
  - jupyter==1.0.0=py38h06a4308_8
  - websocket-client==0.58.0=py38h06a4308_4
  - tinycss2==1.2.1=py38h06a4308_0
  - libllvm14==14.0.6=hdb19cb5_2
  - ipywidgets==8.0.4=py38h06a4308_0
  - pcre==8.45=h295c915_0
  - zstd==1.5.5=hc292b87_0
  - pysocks==1.7.1=py38h06a4308_0
  - libtiff==4.5.0=h6a678d5_2
  - jupyter_core==5.3.0=py38h06a4308_0
  - nbformat==5.7.0=py38h06a4308_0
  - terminado==0.17.1=py38h06a4308_0
  - debugpy==1.5.1=py38h295c915_0
  - icu==58.2=he6710b0_3
  - ld_impl_linux-64==2.38=h1181459_1
  - libpng==1.6.39=h5eee18b_0
  - libwebp-base==1.2.4=h5eee18b_1
  - dbus==1.13.18=hb2f20db_0
  - python-fastjsonschema==2.16.2=py38h06a4308_0
  - zlib==1.2.13=h5eee18b_0
  - lerc==3.0=h295c915_0
  - krb5==1.19.4=h568e23c_0
  - matplotlib-inline==0.1.6=py38h06a4308_0
  - tomli==2.0.1=py38h06a4308_0
  - brotlipy==0.7.0=py38h27cfd23_1003
  - comm==0.1.2=py38h06a4308_0
  - lxml==4.9.2=py38h5eee18b_0
  - expat==2.4.9=h6a678d5_0
  - lz4-c==1.9.4=h6a678d5_0
  - python==3.8.16=h7a1cb2a_3
  - nss==3.74=h0370c37_0
  - jupyter_server==1.23.4=py38h06a4308_0
  - gst-plugins-base==1.14.1=h6a678d5_1
  - libxkbcommon==1.0.1=h5eee18b_1
  - pyqt5-sip==12.11.0=py38h6a678d5_1
  - libpq==12.9=h16c4e8d_3
  - packaging==23.0=py38h06a4308_0
  - typing_extensions==4.4.0=py38h06a4308_0
  - libdeflate==1.17=h5eee18b_0
  - libxslt==1.1.37=h2085143_0
  - sqlite==3.41.1=h5eee18b_0
  - jupyterlab==3.5.3=py38h06a4308_0
  - mistune==0.8.4=py38h7b6447c_1000
  - giflib==5.2.1=h5eee18b_3
  - qtconsole==5.4.2=py38h06a4308_0
  - libclang13==14.0.6=default_he11475f_1
  - jupyterlab_server==2.22.0=py38h06a4308_0
  - traitlets==5.7.1=py38h06a4308_0
  - jsonschema==4.17.3=py38h06a4308_0
  - jedi==0.18.1=py38h06a4308_1
  - libwebp==1.2.4=h11a3e52_1
  - libuuid==1.41.5=h5eee18b_0
  - idna==3.4=py38h06a4308_0
  - pyqt==5.15.7=py38h6a678d5_1
  - openssl==1.1.1t=h7f8727e_0
  - ipython==8.12.0=py38h06a4308_0
  - libxcb==1.15=h7f8727e_0
  - tornado==6.2=py38h5eee18b_0
  - libgcc-ng==11.2.0=h1234567_1
  - beautifulsoup4==4.12.0=py38h06a4308_0
  - cffi==1.15.1=py38h5eee18b_3
  - libgomp==11.2.0=h1234567_1
  - jupyter_console==6.6.3=py38h06a4308_0
  - zeromq==4.3.4=h2531618_0
  - soupsieve==2.4=py38h06a4308_0
  - jupyterlab_widgets==3.0.5=py38h06a4308_0
  - qt-webengine==5.15.9=hbbf29b9_6
  - entrypoints==0.4=py38h06a4308_0
  - sip==6.6.2=py38h6a678d5_0
  - jpeg==9e=h5eee18b_1
  - fontconfig==2.14.1=h4c34cd2_2
  - nbconvert==6.5.4=py38h06a4308_0
  - widgetsnbextension==4.0.5=py38h06a4308_0
  - qt-main==5.15.2=h8373d8f_8
  - readline==8.2=h5eee18b_0
  - notebook==6.5.3=py38h06a4308_0
  - pyopenssl==23.0.0=py38h06a4308_0

How to fix this error, thanks for your time !!!

You can follow the following instruction. Specifically, requirements.txt is newly added. You can click on the file separately to download it. Alternatively, use git pull to update the local repository.

  • 【补充】Windows下的用户推荐参考如下流程配置环境
cd BianQue
conda create -n proactivehealthgpt_py38 python=3.8
conda activate proactivehealthgpt_py38
pip install torch==1.13.1+cu116 torchvision==0.14.1+cu116 torchaudio==0.13.1 --extra-index-url https://download.pytorch.org/whl/cu116
pip install -r requirements.txt
pip install rouge_chinese nltk jieba datasets
pip install streamlit

scutcyr avatar Jun 09 '23 10:06 scutcyr

The following package is also need.

pip install streamlit_chat

scutcyr avatar Jun 09 '23 10:06 scutcyr