[英]When trying to import pandas get 'Process finished with exit code 132 (interrupted by signal 4: SIGILL)'
[英]"Process finished with exit code 132 (interrupted by signal 4: SIGILL)" when importing numpy or pandas in Pycharm
我在 PyCharm 中運行我的代碼時遇到了這個問題。 我不導入 pandas 或 NumPy 的其他代碼工作正常。
我已經在我的終端中嘗試了上一個問題中建議的解決方案:
pip install --user --force-reinstall --ignore-installed --no-binary :all: pandas
但我收到以下錯誤:
錯誤:無法為使用 PEP 517 且無法直接安裝的 numpy 構建輪子
我是股票,不知道從這里做什么。
感謝上面的一些評論,我設法找到了解決方案。
首先,我打開了導入 pandas 和 numpy 的其他項目。 我運行了其中一個代碼並且一切正常。
然后我比較環境之間的庫版本(numpy 和 pandas)。 我遇到問題的環境版本不是最新的。 所以我去了終端,我激活了有問題的環境,我在其他環境中安裝了相同的版本
pip install numpy==1.19.5
pip install pandas==1.1.5
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.