ain-soph / trojanzoo

TrojanZoo provides a universal pytorch platform to conduct security researches (especially backdoor attacks/defenses) of image classification in deep learning.
https://ain-soph.github.io/trojanzoo
GNU General Public License v3.0
274 stars 62 forks source link

Install newest version fail #160

Closed CHR-ray closed 2 years ago

CHR-ray commented 2 years ago

Hello,

When I try to install your repo (commit 955b021ec911b4102f6478c79170d5b481931fa2) to a new conda env (created without any other packages installed before) by

git clone https://github.com/ain-soph/trojanzoo
pip install -e trojanzoo

I meet

ERROR: Package 'trojanzoo' requires a different Python: 3.9.7 not in '>=3.10' 

I think maybe your requirements file are not self-consistent for this commit?

ain-soph commented 2 years ago

Clearly you are creating an env with python version 3.9.7 rather than >=3.10.

Please create by conda create -n py310 python=3.10