ima-hima / PRIMO

0 stars 0 forks source link

Update to Python 3.8 #4

Closed ima-hima closed 1 year ago

ima-hima commented 5 years ago

Currently won't run beyond 3.5 I think it's a Jinja problem?

Notes: Use Python 3.5: create new virtual env: conda create --name primo python=3.5 pip install django-debug-toolbar pip install django-jinja conda install mysqlclient

Because Conda uses a weird activate script: source activate primo

ima-hima commented 5 years ago

Actually, it's a mysqlclient issue:

Issue on Stack Overflow

Copy client key and client certs from mysql data dir to rds dir. Find mysql data dir: mysql -uroot -p -e 'SHOW VARIABLES WHERE Variable_Name LIKE "%dir"'

Downgrade openssl to 1.0.2p: conda install openssl=1.0.2p

ima-hima commented 4 years ago

Now update to 3.7 or 3.8.

ima-hima commented 3 years ago

Updated to 3.6 on 12/17/2020.

ima-hima commented 1 year ago

Updated to 3.9 as of 4/17/23. Closing.