nitin
nitin

Reputation: 31

pip install -- python 3 -- conda [Illegal instruction: 4]

i'm doing pip install of scikit-learn and nltk in python 3.6 and get error Illegal instruction: 4. i'm on osx 10.7.5. i had earlier updated python 3 version with conda install python=3

i've re-installed conda, and it looks like a complier error. i'm not fully sure how to de-bug it.

how can i understand what's causing this error? how can i fix this?

Upvotes: 3

Views: 1883

Answers (1)

Nate
Nate

Reputation: 2193

See this post. What is the "Illegal Instruction: 4" error and why does "-mmacosx-version-min=10.x" fix it?

The "illegal instruction" message is simply telling you that your binaries contain instructions the version of the OS that you are attempting to run them under does not understand. I can't give you the precise meaning of 4 but I expect that is internal to Apple.

Upvotes: 3

Related Questions