一、问题描述 condacreate-ncodeExtract创建虚拟环境 pipinstall-rrequirements.txt安装Python包 pythonxxx.py运行某Python文件 出现报错FatalPythonerror:initfsencoding:unabletoloadthefilesystemcodecModuleNotFoundError:Nomodulenamed'encodings'Currentthread0x00008ad8(mostrecentcallfirst):' pipinstall所安装的包不在虚拟环境中 二、排查问题 1.首先检查已经激活了...