Notices


Reply
Thread Tools
irulestar's Avatar
Posts: 217 | Thanked: 89 times | Joined on Dec 2013 @ Indonesia, Banyuwangi
#51
Originally Posted by Ancelad View Post
Just open grob
What!? I dun understand. Please more step
__________________
any Question? ask here and Follow first @irulestar
 
irulestar's Avatar
Posts: 217 | Thanked: 89 times | Joined on Dec 2013 @ Indonesia, Banyuwangi
#52
Iv try open grob.
The same notice

[NotebookApp] Using existing profile dir: u'/home/user/.config/ipython/profile_default'
[NotebookApp] Serving notebooks from /home/user
[NotebookApp] The IPython Notebook is running at: http://127.0.0.1:8888/
[NotebookApp] Use Control-C to stop this server and shut down all kernels.
[NotebookApp] No web browser found: could not locate runnable browser.
__________________
any Question? ask here and Follow first @irulestar
 
Posts: 1,269 | Thanked: 3,961 times | Joined on May 2011 @ Brazil
#53
Originally Posted by irulestar View Post
I open the Py notebook. But it says no browser runable...
What does it mean n how to run it!?
See the 1st post in the IPython for MeeGo Harmattan topic :
So you can open a web browser and point it to "http://127.0.0.1:8888/".

Or you can configure the $BROWSER variable by choosing one web browser, using Terminal and typing "export BROWSER=<pathname-to-web-browser>". To make this configuration automatic for :
- MeeGo Harmattan native web browser, type in Terminal :
$ echo 'export BROWSER=/usr/bin/grob' >> ~/.profile
- Fennec/Firefox from Nokia Store, type :
$ echo 'export BROWSER=/opt/fennec/lib/fennec-15.0/fennec' >> ~/.profile
- Opera Mobile, type :
$ echo 'export BROWSER=/opt/operamobile-labs/bin/operamobile-labs' >> ~/.profile
Then reboot your Nokia N9 so this configuration will take effect.
__________________
Python, C/C++, Qt and CAS developer. For Maemo/MeeGo/Sailfish :
Integral, Derivative, Limit - calculating mathematical integrals, derivatives and limits. SymPy - Computer Algebra System.
MatPlotLib - 2D & 3D plots in Python. IPython - Python interactive shell.
-- My blog about mobile & scientific computing ---
Sailfish : Sony Xperia X, Gemini, Jolla, Jolla C, Jolla Tablet, Nexus 4. Nokia N9, N900, N810.
 
irulestar's Avatar
Posts: 217 | Thanked: 89 times | Joined on Dec 2013 @ Indonesia, Banyuwangi
#54
[HELP]
Everytime I Try %pylab inline, i always got Error message...
What I have lost!?
Please help
#N9
__________________
any Question? ask here and Follow first @irulestar
 
Posts: 1,269 | Thanked: 3,961 times | Joined on May 2011 @ Brazil
#55
Originally Posted by irulestar View Post
[HELP]
Everytime I Try %pylab inline, i always got Error message...
What I have lost!?
Please help
#N9
PyLab = NumPy + MatPlotLib. So install NumPy and MatPlotLib. MatPlotLib will be updated in the following days and it will be easier to install (via Warehouse).
__________________
Python, C/C++, Qt and CAS developer. For Maemo/MeeGo/Sailfish :
Integral, Derivative, Limit - calculating mathematical integrals, derivatives and limits. SymPy - Computer Algebra System.
MatPlotLib - 2D & 3D plots in Python. IPython - Python interactive shell.
-- My blog about mobile & scientific computing ---
Sailfish : Sony Xperia X, Gemini, Jolla, Jolla C, Jolla Tablet, Nexus 4. Nokia N9, N900, N810.
 
irulestar's Avatar
Posts: 217 | Thanked: 89 times | Joined on Dec 2013 @ Indonesia, Banyuwangi
#56
Originally Posted by rcolistete View Post
PyLab = NumPy + MatPlotLib. So install NumPy and MatPlotLib. MatPlotLib will be updated in the following days and it will be easier to install (via Warehouse).
Still cant use the Plot!?
I have tried those tutorial....
Can Anyone give me a link for clear install MatPlotLib and use this SymPy!?
Pleaseeee...
__________________
any Question? ask here and Follow first @irulestar
 
irulestar's Avatar
Posts: 217 | Thanked: 89 times | Joined on Dec 2013 @ Indonesia, Banyuwangi
#57
02:32:54 MSK 2012 armv7l GNU/Linux
In [2]:

%pylab inline
---------------------------------------------------------------------------
ImportError Traceback (most recent call last)
<ipython-input-2-550caa57204a> in <module>()
----> 1 get_ipython().magic(u'pylab inline')

/usr/lib/pymodules/python2.6/IPython/core/interactiveshell.pyc in magic(self, arg_s)
2134 magic_name, _, magic_arg_s = arg_s.partition(' ')
2135 magic_name = magic_name.lstrip(prefilter.ESC_MAGIC)
-> 2136 return self.run_line_magic(magic_name, magic_arg_s)
2137
2138 #-------------------------------------------------------------------------

/usr/lib/pymodules/python2.6/IPython/core/interactiveshell.pyc in run_line_magic(self, magic_name, line)
2060 args.append(sys._getframe(stack_depth).f_locals)
2061 with self.builtin_trap:
-> 2062 result = fn(*args)
2063 return result
2064

/usr/lib/pymodules/python2.6/IPython/core/magics/pylab.pyc in pylab(self, parameter_s)

/usr/lib/pymodules/python2.6/IPython/core/magic.pyc in <lambda>(f, *a, **k)
189 # but it's overkill for just that one bit of state.
190 def magic_deco(arg):
--> 191 call = lambda f, *a, **k: f(*a, **k)
192
193 if callable(arg):

/usr/lib/pymodules/python2.6/IPython/core/magics/pylab.pyc in pylab(self, parameter_s)
86 import_all_status = True
87
---> 88 self.shell.enable_pylab(parameter_s, import_all=import_all_status)

/usr/lib/pymodules/python2.6/IPython/core/interactiveshell.pyc in enable_pylab(self, gui, import_all)
2782 ns = {}
2783 try:
-> 2784 gui = pylab_activate(ns, gui, import_all, self)
2785 except KeyError:
2786 error("Backend %r not supported" % gui)

/usr/lib/pymodules/python2.6/IPython/core/pylabtools.pyc in pylab_activate(user_ns, gui, import_all, shell)
328 """
329 gui, backend = find_gui_and_backend(gui)
--> 330 activate_matplotlib(backend)
331 import_pylab(user_ns, import_all)
332 if shell is not None:

/usr/lib/pymodules/python2.6/IPython/core/pylabtools.pyc in activate_matplotlib(backend)
221 # This must be imported last in the matplotlib series, after
222 # backend/interactivity choices have been made
--> 223 import matplotlib.pylab as pylab
224
225 # XXX For now leave this commented out, but depending on discussions with

/usr/lib/pymodules/python2.6/matplotlib/pylab.py in <module>()
220 silent_list, iterable, dedent
221
--> 222 from matplotlib import mpl # pulls in most modules
223
224 from matplotlib.dates import date2num, num2date,\

/usr/lib/pymodules/python2.6/matplotlib/mpl.py in <module>()
1 from matplotlib import artist
2 from matplotlib import axis
----> 3 from matplotlib import axes
4 from matplotlib import cbook
5 from matplotlib import collections

/usr/lib/pymodules/python2.6/matplotlib/axes.py in <module>()
17 import matplotlib.colors as mcolors
18 import matplotlib.contour as mcontour
---> 19 import matplotlib.dates as _ # <-registers a date unit converter
20 from matplotlib import docstring
21 import matplotlib.font_manager as font_manager

/usr/lib/pymodules/python2.6/matplotlib/dates.py in <module>()
120 import matplotlib.ticker as ticker
121
--> 122 from dateutil.rrule import rrule, MO, TU, WE, TH, FR, SA, SU, YEARLY, \
123 MONTHLY, WEEKLY, DAILY, HOURLY, MINUTELY, SECONDLY
124 from dateutil.relativedelta import relativedelta

ImportError: No module named dateutil.rrule

In [ ]:


I get those message when i type %pylab inline
__________________
any Question? ask here and Follow first @irulestar
 

The Following User Says Thank You to irulestar For This Useful Post:
Posts: 1,269 | Thanked: 3,961 times | Joined on May 2011 @ Brazil
#58
Originally Posted by irulestar View Post
02:32:54 MSK 2012 armv7l GNU/Linux
In [2]:

%pylab inline

...

/usr/lib/pymodules/python2.6/matplotlib/axes.py in <module>()
17 import matplotlib.colors as mcolors
18 import matplotlib.contour as mcontour
---> 19 import matplotlib.dates as _ # <-registers a date unit converter
20 from matplotlib import docstring
21 import matplotlib.font_manager as font_manager

/usr/lib/pymodules/python2.6/matplotlib/dates.py in <module>()
120 import matplotlib.ticker as ticker
121
--> 122 from dateutil.rrule import rrule, MO, TU, WE, TH, FR, SA, SU, YEARLY, \
123 MONTHLY, WEEKLY, DAILY, HOURLY, MINUTELY, SECONDLY
124 from dateutil.relativedelta import relativedelta

ImportError: No module named dateutil.rrule

In [ ]:


I get those message when i type %pylab inline
Thanks, I've answerd in the MatPlotLib topic because it is a MatPlotLib bug (my fault when packaging v1.2.1).
__________________
Python, C/C++, Qt and CAS developer. For Maemo/MeeGo/Sailfish :
Integral, Derivative, Limit - calculating mathematical integrals, derivatives and limits. SymPy - Computer Algebra System.
MatPlotLib - 2D & 3D plots in Python. IPython - Python interactive shell.
-- My blog about mobile & scientific computing ---
Sailfish : Sony Xperia X, Gemini, Jolla, Jolla C, Jolla Tablet, Nexus 4. Nokia N9, N900, N810.
 
Posts: 1,269 | Thanked: 3,961 times | Joined on May 2011 @ Brazil
#59
SymPy 0.7.6.1 (03/09/2015) is now available for Sailfish (& Mer & Nemo) at OpenRepos.net.

Python 3 version of SymPy 0.7.6.1 is also available in OpenRepos.net.

To install SymPy 0.7.6.1 on Sailfish, see the 1st post.

Screenshot of Terminal running IPython (2.4.1) with SymPy 0.7.6.1 (for Python 2.7.9) on Jolla C with Sailfish OS 2.0.2.48.
__________________
Python, C/C++, Qt and CAS developer. For Maemo/MeeGo/Sailfish :
Integral, Derivative, Limit - calculating mathematical integrals, derivatives and limits. SymPy - Computer Algebra System.
MatPlotLib - 2D & 3D plots in Python. IPython - Python interactive shell.
-- My blog about mobile & scientific computing ---
Sailfish : Sony Xperia X, Gemini, Jolla, Jolla C, Jolla Tablet, Nexus 4. Nokia N9, N900, N810.
 

The Following 4 Users Say Thank You to rcolistete For This Useful Post:
Posts: 1,269 | Thanked: 3,961 times | Joined on May 2011 @ Brazil
#60
Only in interactive mode (using e.g., "isympy") that SymPy >= 0.7.3 automatically loads PyLab (NumPy & MatPlotLib).

Sailfish 2.0.2.48 with Python 2.7.9, IPython 2.3.0, NumPy 1.9.1 and MatPlotLib 1.4.1.

Benchmarks of SymPy 0.7.5 :

* Jolla (1), 2-core Krait @ 1.5 GHz :
- "from sympy import *" : 2.0s;
- "integrate(x**5/(alpha*x**2+beta)**2,x)" : 3.4s.

* Jolla C, 4-core Cortex A7 @ 1.3 GHz :
- "from sympy import *" : 2.0s;
- "integrate(x**5/(alpha*x**2+beta)**2,x)" : 3.2s.

* Jolla Tablet, 4-core Atom Z3735F @ 1.33 GHz :
- "from sympy import *" : 1.1s;
- "integrate(x**5/(alpha*x**2+beta)**2,x)" : 1.7s.

Benchmarks of SymPy 0.7.6.1 :

* Jolla (1), 2-core Krait @ 1.5 GHz :
- "from sympy import *" : 2.2s;
- isympy in X Terminal : 5.7s (with PyLab), 4.8s (without MatPlotLib), 4.5s (without PyLab);
- "integrate(x**5/(alpha*x**2+beta)**2,x)" : 5.0s.

* Jolla C, 4-core Cortex A7 @ 1.3 GHz :
- "from sympy import *" : 2.2s;
- isympy in X Terminal : 5.9s (with PyLab), 4.5s (without MatPlotLib), 4.2s (without PyLab);
- "integrate(x**5/(alpha*x**2+beta)**2,x)" : 4.7s.

* Jolla Tablet, 4-core Atom Z3735F @ 1.33 GHz :
- "from sympy import *" : 1.1s;
- isympy in X Terminal : 3.3s (with PyLab), 2.6s (without MatPlotLib), 2.5s (without PyLab);
- "integrate(x**5/(alpha*x**2+beta)**2,x)" : 2.5s.
__________________
Python, C/C++, Qt and CAS developer. For Maemo/MeeGo/Sailfish :
Integral, Derivative, Limit - calculating mathematical integrals, derivatives and limits. SymPy - Computer Algebra System.
MatPlotLib - 2D & 3D plots in Python. IPython - Python interactive shell.
-- My blog about mobile & scientific computing ---
Sailfish : Sony Xperia X, Gemini, Jolla, Jolla C, Jolla Tablet, Nexus 4. Nokia N9, N900, N810.

Last edited by rcolistete; 2016-08-16 at 14:17.
 

The Following 2 Users Say Thank You to rcolistete For This Useful Post:
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 04:53.