Jyouhou / ICDAR2019-ArT-Recognition-Alchemy

PKU Team Zero's code for participation in ICDAR2019 ArT Recognition track (Champion)
MIT License
220 stars 67 forks source link

Environment problems #9

Closed DoUMissMee closed 2 years ago

DoUMissMee commented 5 years ago

when I want to create the conda environment, warning and error occurs. could you please give me advice to fix it ? thanks very much.

conda env create -f environment.yml

Warning: you have pip-installed dependencies in your environment file, but you do not list pip itself as one of your conda dependencies. Conda may not use the correct pip to install your packages, and they may end up in the wrong place. Please add an explicit pip dependency. I'm adding one for you, but still nagging you.

CondaValueError: prefix already exists: /home/geart-jzw/anaconda3

PkuDavidGuan commented 5 years ago

How about change the name and prefix in the original environment.yml? Actually not many extra packages are needed in this project. You can create a virtual environment by

conda install pytorch torchvision

Then I think only tensorflow(cpu version)、editdistance are needed.

Jyouhou commented 5 years ago

Hi @DoUMissMee ,

You should change several fields in the yml file:

name: base and prefix: /home/longshangbang/anaconda3/envs/SLong