mac成功解決 AttributeError: module 'enum' has no attribute 'IntFlag'?

在mac中,當覆蓋掉mac自帶的python2.7後,在終端輸入 python ,會出現AttributeError: module ‘enum’ has no attribute ‘IntFlag’?錯誤 該問題解決以下:python 進入bash_profileweb vim ~/.bash_profile 在該文件中找到pythonpath,把它刪掉,即把圖中標紅處刪掉 而後在終端輸入vim
相關文章
相關標籤/搜索