Can't install Deep_privacy2 in the Google Collab with miniconda and python3.9
AbdirayimovS opened this issue · 4 comments
AbdirayimovS commented
PedroKBrant commented
Hello @AbdirayimovS , did you managed to solve this issue? I'm also interested in training the network on collab
hukkelas commented
Hi, I'm not familiar with google colab and do not have time currently to look into it. Although, it should not be required to use miniconda/anaconda on google cloud.
Gordon-4389 commented
You can clone and build it separately, but you have to loosen the dependencies:
- First clone the repo
!git clone https://github.com/hukkelas/deep_privacy2/
- Then, in 'setup.py' change the following using a script:
scipy==1.7.1
toscipy
setuptools==5.9.5.0
tosetuptools
pillow==8.3.1
topillow
- Then, I just build:
%cd deep_privacy2
! pip install -e .
%cd ..
From this, I managed to get anonymization working, but I've run into some of my own issues I am working to resolve.
AbdirayimovS commented
I have solved the issue with downgrading the python to 3.8 or 3.9. Sorry for late response. @Gordon-4389 solution looks very promising.