Thiaan Kruger
Thiaan Kruger

Reputation: 21

Python Programming error . 'import sitecustomize' failed; use -v for traceback

Anything that I code I get this same error. import sitecustomize failed; use -v for traceback. What am I doing wrong?

Upvotes: 0

Views: 4225

Answers (1)

Martijn Pieters
Martijn Pieters

Reputation: 1124568

Do what the error message tells you to do; run Python from the command line with the -v command line switch to get a traceback. There is an error in the sitecustomize.py module and you need to fix that.

Alternatively, set the PYTHONVERBOSE environment variable to get the same effect.

Upvotes: 2

Related Questions