Hi Just to try to resolve the antivirus problem , I disabled all the shield protection , including antivirus firewall , web protection and all.
I restarted the spyder but , unfortunately I am still getting the same error. 'import sitecustomize' failed; use ‑v for traceback ‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑‑ ZMQError Traceback (most recent call last) C:\Users\PARTH\Anaconda\lib\site‑packages\spyderlib\widgets\externalshell\start_ipython_kernel.py in() 185 ipk_temp = IPKernelApp.instance() Kindly help I really want to use spyder asap. Thanks On Friday, June 20, 2014 10:42:37 AM UTC-6, Carlos Córdoba wrote: > > Hi, > > This error is usually generated because your Antivirus is too strict and > doesn't let us open a port in your machine to send and receive data between > Spyder and the local process in charge of running code. > > You have two options here: > > 1. If you are using Norton, you need to uninstall it and install a > different Antivirus (I couldn't find a way to change its behavior!). I'd > recommend you ZoneAlarm. > > 2. Find a way to define a new rule for your antivirus to let Spyder to > open internal ports. This depends on the antivirus, so I'm sorry for being > unable to give you more detailed advice about it. > > > Cheers, > Carlos > > El 20/06/14 10:34, parth shrotri escribió: > > Hi , I am very new to python dev. > I recently installed anaconda for windows 7 with 64 bit with python 2.7.7 > Upon launching spyder I got following error in '''import sitecustomize' > failed; use -v for traceback'' > > Also I am not able to run any python script and getting error as > NameError: name 'runfile' is not defined. > > Can you plaese help. > > Please find attached kernel console messages. > > Thanks > > On Friday, March 16, 2012 7:05:22 AM UTC-6, Roel De Coninck wrote: >> >> Dear all, >> >> I had 2 big problems with spyder (windows7, 64 bit) >> 1) the program does not always start (I see a window popping up for a >> second, then it closes and nothing happens) >> 2) import sitecustomize failed >> >> The first problem seemed to occur more often after spyder was closed >> down: restarting rarely worked. >> Now I found a solution to that problem, that is very surprising to me: I >> right click on the shortcut to start spyder, and copy the target (looks >> like this: >> C:\Python27\python.exe "C:\Python27\Scripts\spyder"). Then I go to a >> windows command window, paste and enter ==> spyder starts without any >> problem. Why would this work, but not by clicking on the shortcut? >> >> I just thought I'd let you know. I'm extremely delighted that this >> works, I hope the trick will keep on working in the future, or even better: >> that spyder would launch from the shortcut directly. >> Regards, >> Roel >> >> >> >> -- > You received this message because you are subscribed to the Google Groups > "spyder" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] <javascript:>. > To post to this group, send email to [email protected] > <javascript:>. > Visit this group at http://groups.google.com/group/spyderlib. > For more options, visit https://groups.google.com/d/optout. > > > -- You received this message because you are subscribed to the Google Groups "spyder" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/spyderlib. For more options, visit https://groups.google.com/d/optout.
