|
|
sudo rm -f /etc/conda/condarc && sudo touch /etc/conda/condarc |
|
|
conda create -n py38 python=3.8 -y |
|
|
conda install -n py38 ipykernel -y |
|
|
source activate py38 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
python -m ipykernel install --user --name py38 --display-name "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 --user -U https://pai-dlc.oss-cn-zhangjiakou.aliyuncs.com/tunnel/common_io/common_io-0.4.1%2Btunnel-py2.py3-none-any.whl |
|
|
pip install oss2 |
|
|
pip install ujson cn2an whoosh openpyxl rapidfuzz numpy pandas tqdm jieba scikit-learn seaborn |
|
|
|
|
|
pip install http://eas-data.oss-cn-shanghai.aliyuncs.com/sdk/allspark-0.15-py2.py3-none-any.whl |
|
|
|
|
|
|