2019年10月8日 星期二

[Note] ImportError: No module named pandas 排除

發現以下error時,代表有使用到pandas模組但是系統找不到此模組。

這裡紀錄在MAC OSX上安裝pandas模組的方法


# 相依性:
1. python
2. pip

# 安裝流程:
在console下輸入以下:
---------------
sudo pip install pandas
---------------

# trouble shooting
在安裝pandas時遇到以下 log :

ERROR: Cannot uninstall 'six'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall

可以透過以下command 來避掉:
---------------
sudo pip install pandas --ignore-installed six
---------------



沒有留言:

張貼留言