Open callummole opened 2 years ago
@hkscy why do we need python2? Can we migrate to python3? I recall you came across an error.
Some older tools (e.g., the shadysim ones) rely on Python2. In the case of shadysim, I recall there was a Python3 rewrite somewhere on the web. I had started porting one of them to Python3 and while it took some effort it wasn't an impossible task (i.e., I don't recall any Python2-only dependences).
On Mon, 1 Nov 2021, 14:58 Callum Mole, @.***> wrote:
@hkscy https://github.com/hkscy why do we need python2? Can we migrate to python3? I recall you came across an error.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/alan-turing-institute/uicc_identity_toolbox/issues/16#issuecomment-956305636, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB6EUVMK4YAXCGXSTQVGGYLUJ2TK5ANCNFSM5HEGHJZQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
There are two virtual environments needed, one for pySim that uses python3, and one for stkp2.
Confusingly you need to use a different environment even in the same subfolder, dependent on the argument (see notes).
I suggest that we use Poetry or pyenv to manage environments, and refactor the repo so that it is clearer what parts of the code need which environments.