Problem with .show()

User 3625 | 3/16/2016, 4:45:56 AM

Having a problem with .show() receiving: Error: Requested port is unavailable: None

using OSX v. 10.11.3 installed with both pip and launcher.

tried graphlab.canvas.settarget('ipynb') graphlab.canvas.settarget('browser', ANY_PORT) ----- No luck with either

Launcher is using python 2.7.11-0 Juniper Notebook version 4.1.0

Error: Requested port is unavailable: None

AttributeError Traceback (most recent call last) <ipython-input-14-0542121da647> in <module>() ----> 1"Scatter Plot", x="sqft_living", y="price")

//Library/Enthought/Canopy64bit/User/lib/python2.7/site-packages/graphlab/datastructures/sframe.pyc in show(self, columns, view, x, y) 4920 LOGGER.warn("Column selection for is deprecated. To show only certain columns, use the sf[['column1', 'column2']] syntax or construct a new SFrame with the desired columns.") 4921 from import show -> 4922 show(self, view=view, x=x, y=y) 4923 4924 def packcolumns(self, columns=None, columnprefix=None, dtype=list,

//Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/multipledispatch/dispatcher.pyc in call(self, args, **kwargs) 162 self._cache[types] = func 163 try: --> 164 return func(args, **kwargs) 165 166 except MDNotImplementedError:

//Library/Enthought/Canopy64bit/User/lib/python2.7/site-packages/graphlab/canvas/glcdisplaydispatch.pyc in show(obj, **kwargs) 7 import graphlab.canvas.inspect 8 import graphlab.canvas.views.sframe ----> 9 graphlab.canvas.inspect.findvars(obj) 10 return, params=kwargs)) 11

//Library/Enthought/Canopy64bit/User/lib/python2.7/site-packages/graphlab/canvas/inspect.pyc in findvars(var) 41 (variablename, variable) = findvariablename(var) 42 if variablename is not None: ---> 43 target.addvariable((variablename,), variable) 44 return variablename 45

AttributeError: 'NoneType' object has no attribute 'add_variable'


User 1190 | 3/16/2016, 8:55:04 PM

Can you try running virtualenv python, or anaconda python? It might be an issue with Canopy.