{"id":121,"date":"2015-03-24T03:58:15","date_gmt":"2015-03-24T11:58:15","guid":{"rendered":"https:\/\/www.actinia.me\/?p=121"},"modified":"2016-04-10T17:54:44","modified_gmt":"2016-04-11T01:54:44","slug":"spyder-error-import-sitecustomize-failed-use-v-for-traceback","status":"publish","type":"post","link":"https:\/\/www.actinia.me\/?p=121","title":{"rendered":"&#8220;spyder error: &#8216;import sitecustomize&#8217; failed; use -v for traceback"},"content":{"rendered":"<p>#this article was transferred from my Blogger.<\/p>\n<p>win8 spyder<\/p>\n<p>the programm is totally correct, and it did give a correct out put<\/p>\n<p>but after the out put there is an error message reads:&#8221;spyder error: &#8216;import sitecustomize&#8217; failed; use -v for traceback&#8221;<\/p>\n<p>solve:<a href=\"https:\/\/code.google.com\/p\/spyderlib\/issues\/detail?id=771#c8\" name=\"c8\">#8<\/a><span style=\"font-family: arial, sans-serif;\">\u00a0<\/span><a class=\"userlink\" href=\"https:\/\/code.google.com\/u\/104680084746978617135\/\">NathanH&#8230;@gmail.com<\/a><\/p>\n<pre>I decided to set an environment variable in Windows 7 to see if it would fix the problem.  I made a variable named SPYDER_ENCODING and set it to UTF-8.  I no longer get the error.  Is there some problem that spyder has with windows 7's default encoding?  Does anybody have any ideas?<\/pre>\n<pre><\/pre>\n<pre>from: https:\/\/code.google.com\/p\/spyderlib\/issues\/detail?id=771<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>#this article was transferred from my Blogger. win8 spyder the programm is totally correct, and it did give a correct out put but after the out put there is an error message reads:&#8221;spyder error: &#8216;import sitecustomize&#8217; failed; use -v for traceback&#8221; solve:#8\u00a0NathanH&#8230;@gmail.com I decided to set an environment variable in Windows 7 to see if [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[5],"tags":[],"_links":{"self":[{"href":"https:\/\/www.actinia.me\/index.php?rest_route=\/wp\/v2\/posts\/121"}],"collection":[{"href":"https:\/\/www.actinia.me\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.actinia.me\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.actinia.me\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.actinia.me\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=121"}],"version-history":[{"count":1,"href":"https:\/\/www.actinia.me\/index.php?rest_route=\/wp\/v2\/posts\/121\/revisions"}],"predecessor-version":[{"id":122,"href":"https:\/\/www.actinia.me\/index.php?rest_route=\/wp\/v2\/posts\/121\/revisions\/122"}],"wp:attachment":[{"href":"https:\/\/www.actinia.me\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=121"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.actinia.me\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=121"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.actinia.me\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=121"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}