由于IDA设置,需要提供系统环境变量PYTHONHOME,在本机上配置为E:Anaconda3,内含版本python3.8
但是使用conda创建新环境python3.5后,python环境还是python3.8,导致python无法启动等系列问题
Fatal Python error: Py_Initialize: can't initialize sys standard streams
Traceback (most recent call last):
File "E:Anaconda3libio.py", line 52, in <module>
File "E:Anaconda3libabc.py", line 106
print(f"Class: {cls.__module__}.{cls.__qualname__}", file=file)
解决方案,在activate E:py35 启动虚拟环境后设置虚拟环境变量将其置空
conda env config vars set PYTHONHOME=""
conda deactivate
再次激活即可解决问题,其余python版本同理