Error In Sitecustomize Set Pythonverbose For Traceback
Contents |
Sign in Pricing Blog Support Search GitHub This repository Watch 145 Star 1,453 Fork 348 spyder-ide/spyder Code Issues 694 Pull requests 20 an error occurred while starting the kernel spyder Projects 0 Wiki Pulse Graphs New issue Can't restart kernel or open error in sitecustomize set pythonverbose for traceback keyerror pythonpath a new console from spider #2697 Closed pichaio opened this Issue Sep 16, 2015 · 1 comment
Ipython An Error Occurred While Starting The Kernel
Projects None yet Labels Type-Duplicate Milestone No milestone Assignees No one assigned 2 participants pichaio commented Sep 16, 2015 Description What steps will reproduce the problem?
Spyder Ipython Connecting To Kernel
On IPython console, select restart kernel or open a new console. What is the expected output? What do you see instead? Kernel restarted or a new ipython console opened. Instead the following error appears. Error in sitecustomize; set PYTHONVERBOSE for traceback: TypeError: 'NoneType' object is not callable Traceback (most recent call last): File "/Users/pichai/anaconda/lib/python3.4/site‑packages/spyderlib/widgets/externalshell/start_ipython_kernel.py", line 175, in from spyder ipython console connecting to kernel IPython.kernel.zmq.kernelapp import IPKernelApp File "/Users/pichai/anaconda/lib/python3.4/site‑packages/IPython/init.py", line 48, in from .terminal.embed import embed File "/Users/pichai/anaconda/lib/python3.4/site‑packages/IPython/terminal/embed.py", line 16, in from IPython.core.interactiveshell import DummyMod File "/Users/pichai/anaconda/lib/python3.4/site‑packages/IPython/core/interactiveshell.py", line 31, in from pickleshare import PickleShareDB File "/Users/pichai/anaconda/lib/python3.4/site‑packages/pickleshare.py", line 41, in from path import path as Path File "/Users/pichai/anaconda/lib/python3.4/site‑packages/path.py", line 122, in version = pkg_resources.require('path.py')[0].version TypeError: 'NoneType' object is not callable Please provide any additional information below I just updated all the apps (ipython-notebook to 4.0.4, ipython-qtconsole to 4.0.1 and Spider to 2.3.6) from the Launcher app. Then the problem occured. Then I tried updating all packages using cmd conda update --all. Everything went fine. But the problem still persists. Version and main components Spyder Version: 2.3.6 Python Version: 3.4.3 Qt Versions: 4.8.6, PyQt4 (API v2) 4.11.3 on Darwin Optional dependencies pyflakes >=0.6.0: 0.9.2 (OK) pep8 >=0.6 : 1.6.2 (OK) pygments >=1.6 : 2.0.2 (OK) IPython >=1.0 : 4.0.0 (OK) zmq >=2.1.11 : 14.7.0 (OK) qtconsole >=4.0 : 4.0.1 (OK) pandas >=0.13.1 : 0.16.2 (OK) sphinx >=0.6.6 : 1.3.1 (OK) psutil >=0.3 : 2.2.1 (OK) rope >=0.9.2 :
here for a quick overview of the site Help Center Detailed answers to any questions
Pkg_resources Distributionnotfound
you might have Meta Discuss the workings and policies of this anaconda download site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers anaconda python or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community https://github.com/spyder-ide/spyder/issues/2697 of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Error while starting new IPython console in Spyder up vote 2 down vote favorite While I was training a neural network with Pybrain, my computer crashed and I had to reboot it. Now Spyder, http://stackoverflow.com/questions/32155633/error-while-starting-new-ipython-console-in-spyder Python, IPython seem to work fine, however, when trying to open a new IPython console in Spyder, I get the following error: Error in sitecustomize; set PYTHONVERBOSE for traceback: TypeError: 'NoneType' object is not callable Traceback (most recent call last): File "C:\Users\Mi\Anaconda3\lib\site‑packages\spyderlib\widgets\externalshell\start_ipython_kernel.py", line 167, in from IPython.kernel.zmq.kernelapp import IPKernelApp File "C:\Users\Mi\Anaconda3\lib\site‑packages\IPython\__init__.py", line 48, in from .core.application import Application File "C:\Users\Mi\Anaconda3\lib\site‑packages\IPython\core\application.py", line 22, in from IPython.config.application import Application, catch_config_error File "C:\Users\Mi\Anaconda3\lib\site‑packages\IPython\config\__init__.py", line 6, in from .application import * File "C:\Users\Mi\Anaconda3\lib\site‑packages\IPython\config\application.py", line 19, in from IPython.config.configurable import SingletonConfigurable File "C:\Users\Mi\Anaconda3\lib\site‑packages\IPython\config\configurable.py", line 14, in from IPython.utils.text import indent, wrap_paragraphs File "C:\Users\Mi\Anaconda3\lib\site‑packages\IPython\utils\text.py", line 28, in from IPython.external.path import path File "C:\Users\Mi\Anaconda3\lib\site‑packages\IPython\external\path\__init__.py", line 2, in from path import * File "C:\Users\Mi\Anaconda3\lib\site‑packages\path.py", line 122, in __version__ = pkg_resources.require('path.py')[0].version TypeError: 'NoneType' object is not callable The error does not seem to interfere with the execution of Python scripts however I am wondering if I accidentally messed something up. I searched the internet but found nothing that
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more http://stackoverflow.com/questions/23962319/error-output-in-textmate-2-using-python-3-4 about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Error output in Textmate 2 using Python 3.4 up vote 4 down error in vote favorite 4 I'm using Textmate 2.0 in a Mac OSX and I can't get it to stop printing an error message every time I run a script. It keeps saying: Error in sitecustomize; set PYTHONVERBOSE for traceback: AttributeError: 'NoneType' object has no attribute 'name' All I have done is to add the value /usr/local/bin/python3 to a TM_PYTHON variable in the Preferences menu. Does anyone know what's going on? python error in sitecustomize osx python-3.x textmate2 share|improve this question edited May 30 '14 at 19:44 Martijn Pieters♦ 499k7412921449 asked May 30 '14 at 19:42 rodrigoburg 213 add a comment| 1 Answer 1 active oldest votes up vote 6 down vote TextMate's Python bundle does some funky things behind the scene to be able to intercept the interpreter output and other good stuff. In doing so, it appears to be running into an incomplete fix in Python 3.4 for an import reload() regression in Python 3.3's new importlib. I've opened an issue on the Python bug tracker for it. In the meantime, if you want to you should be able to make the messages go away by creating a dummy sitecustomize.py file in a directory on sys.path for your Python 3.4. For example, in a terminal shell, run: echo '' > $(/usr/local/bin/python3.4 -c 'import site; print(site.getusersitepackages())')/sitecustomize.py share|improve this answer answered May 31 '14 at 2:20 Ned Deily 52.9k1097118 I've also commented on the issue tracker for the TM Python bundle: github.com/textmate/python.tmbundle/pull/40 –Ned Deily May 31 '14 at 2:48 add a comment| Your Answer draft saved draft discarded Sign up or log in Sign up using Google Sign up using Facebook Sign up using Email and Password Post