Doug Fir
Doug Fir

Reputation: 21292

When trying to import pandas get 'Process finished with exit code 132 (interrupted by signal 4: SIGILL)'

I'm working on a python project in PyCharm and am trying to import pandas:

import pandas as pd

When I try to run this I get a message in the console:

Process finished with exit code 132 (interrupted by signal 4: SIGILL)

I'm working in conda environment and within PyCharm project interpreter settings I can see that pandas is available: enter image description here

Why am I getting this message and how can I get around it? My script will not run without pandas and I cannot get past this message when trying to import.

Upvotes: 1

Views: 5035

Answers (1)

Doug Fir
Doug Fir

Reputation: 21292

Following another SO question, I was able to overcome this by reinstalling pandas outside of conda with the following in the terminal:

pip install --user --force-reinstall --ignore-installed --no-binary :all: pandas

After that I was able to import pandas.

Upvotes: 3

Related Questions