Re: [sage-support] import

2021-10-07 Thread cyrille.piate...@univ-orleans.fr
Envoyé: Mercredi 6 Octobre 2021 13:50:27 Objet: Re: [sage-support] import Je ne peux rien pour votre compte. En revanche, ceci devrait vous éclairer : sage: Ex = x > 3 sage: Ex.lhs() x sage: Ex.rhs() 3 sage: Ex.operator() # Kekcékçà ? sage: import_statements(Ex.operator()) from _

Re: [sage-support] import

2021-10-06 Thread Emmanuel Charpentier
ccès aux signes <= ou >= dans > une inégalité (.lhs() pour le terme de gauche, .rhs() pour le terme de > droite mais pour le signe ? > > Cordialement > > Cyrille Piatecki > > -- > *De: *"slelievre" > *À: *"sage-support"

Re: [sage-support] import

2021-10-04 Thread cyrille.piate...@univ-orleans.fr
our le terme de droite mais pour le signe ? Cordialement Cyrille Piatecki De: "slelievre" À: "sage-support" Envoyé: Dimanche 26 Septembre 2021 15:06:59 Objet: Re: [sage-support] import A web search for [ import ipynb ] https://duckduckgo.com/?q=import+ipynb also r

Re: [sage-support] import

2021-09-26 Thread slelievre
A web search for [ import ipynb ] https://duckduckgo.com/?q=import+ipynb also reveals tools such as ipynb and import-ipynb, which can be pip-installed. --Samuel -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this

Re: [sage-support] import

2021-09-26 Thread Dima Pasechnik
They have a tool, nbmerge, to merge notebooks. https://github.com/jupyter/nbconvert/issues/253 Beyond this, no, you really would need to have code either in *.sage file, and load() it in a Sage notebook, or have a *.py file, and import it in the usual Python way. HTH Dima On Sun, Sep 26, 2021

[sage-support] import

2021-09-26 Thread Henri Girard
Hi, Iq there a way to import function from a sage notebook to another notebook ? I have long graphic one about 30 lines and I would like to show the graphic in another notebook, like with an attach method "show(g)" with import  and be able to add functions ? Any help welcome best Henri

Re: [sage-support] Import error for lrcalc library

2021-02-04 Thread slelievre
This was reported to the Arch Linux forums: https://bbs.archlinux.org/viewtopic.php?id=263214 -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to

Re: [sage-support] Import error for lrcalc library

2021-02-01 Thread Matthias Koeppe
As Dima said, please report bugs of distribution packaging of Sage to the distribution. On Monday, February 1, 2021 at 8:29:17 AM UTC-8 tiger...@gmail.com wrote: > I should also add this. > If from an ipython module I invoke `from sage.misc.misc_c import prod`, > everything works fine. > On

Re: [sage-support] Import error for lrcalc library

2021-02-01 Thread Simone Perriello
I should also add this. If from an ipython module I invoke `from sage.misc.misc_c import prod`, everything works fine. On the other hand, `from sage.rings.all import RealField` works well inside ipython, but produce a different error from a source file. Relevant link

Re: [sage-support] Import error for lrcalc library

2021-02-01 Thread Dima Pasechnik
This has to be reported to Arch people. On Mon, Feb 1, 2021 at 1:39 PM Simone Perriello wrote: > > > Operating system: ArchLinux. > Sage installed through official packages. > If I just launch `sage` from terminal it gives this stacktrace > https://pastebin.com/s1FnMhe2 > > The same happens if

[sage-support] Import error for lrcalc library

2021-02-01 Thread Simone Perriello
Operating system: ArchLinux. Sage installed through official packages. If I just launch `sage` from terminal it gives this stacktrace https://pastebin.com/s1FnMhe2 The same happens if I try to do a `from sage.all import *` from ipython, from a python file or from sage -python. -- You

[sage-support] Import skimage(scikit-image) in sage

2015-07-08 Thread avi kaur
I found a library skimage. How should I import it in sage? http://scikit-image.org/ -- Avi kaur Blog: https://avikashyap620.wordpress.com There is no lacking of opportunity, The thing is you do not want to see It -- You received this message because you are subscribed to the

[sage-support] Import scikits sklearn fails?

2012-01-01 Thread DavidG
I'm trying to import scikits sklearn.gaussian_process and I suspect its compiled for a 32bit install Is there any way I can recompile to work in sage??? Thanks for any help. Here's the error: Traceback (most recent call last): File stdin, line 1, in module File _sage_input_25.py, line 10, in

[sage-support] Import scikits sklearn fails?

2012-01-01 Thread Maarten Derickx
It seems that you installed sklearn in the wrong way. To install sklearn for usage with sage do: sage -sh To start a shell wich is configered so that all sage directories and binaries and the sage python are in your path. And then do whatever the sklearn documentation sais you should do. We

[sage-support] Import scikits sklearn fails?

2012-01-01 Thread Maarten Derickx
It seems that you installed sklearn in the wrong way. To install sklearn for usage with sage do: sage -sh To start a shell wich is configered so that all sage directories and binaries and the sage python are in your path. And then do whatever the sklearn documentation sais you should do. We

Re: [sage-support] import .sage file [was : Evaluating Symbolic Expressions]

2011-11-02 Thread Laurent
Hi, I think its a issue of parsing. If your file is called hello.py it gives the errors you mentioned. However if you call your file hello.sage it works. If you call your file hello.sage and run sage hello.sage it generates a hello.py which I append below - I know that, but I never

Re: [sage-support] import .sage file [was : Evaluating Symbolic Expressions]

2011-11-02 Thread William Stein
On Wed, Nov 2, 2011 at 3:22 AM, Laurent moky.m...@gmail.com wrote: Hi, I think its a issue of parsing. If your file is called hello.py it gives the errors you mentioned. However if you call your file hello.sage it works. If you call your file hello.sage and run sage hello.sage it

Re: [sage-support] import .sage file [was : Evaluating Symbolic Expressions]

2011-11-02 Thread Laurent
.sage files are not meant to be used like normal Python modules. You can only load or attach them. I implemented this in 2005, when I was basically implementing something like Magma on top of Python. I'm not sure this is good or bad, but I definitely find sage: attach file.sage to be

Re: [sage-support] Import Ellipse module?

2011-05-27 Thread Rajeev Singh
On Thu, May 26, 2011 at 10:26 PM, Mel chemmyg...@gmail.com wrote: Do I need to download/load something before I can import the ellipse module? When I type from sage.plot.ellipse import Ellipse I get ImportError: No module named ellipse Thanks! -- To post to this group, send email to

[sage-support] Import Ellipse module?

2011-05-26 Thread Mel
Do I need to download/load something before I can import the ellipse module? When I type from sage.plot.ellipse import Ellipse I get ImportError: No module named ellipse Thanks! -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email

[sage-support] Import a Data file

2010-03-04 Thread Oscar Castillo-Felisola
Hi everybody, I'd like to know if it is possible to import data into Sage, so that plots (or other manipulation) might be done. Thank you guys! -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to

Re: [sage-support] Import a Data file

2010-03-04 Thread Robert Bradshaw
On Mar 4, 2010, at 12:10 PM, Oscar Castillo-Felisola wrote: Hi everybody, I'd like to know if it is possible to import data into Sage, so that plots (or other manipulation) might be done. Yes, it's possible. - Robert -- To post to this group, send email to

[sage-support] import and global namespace

2009-10-28 Thread zeliboba
dear all in documentation for var() it is stated variables ... automatically injected into the global namespace. I'd like to define variable in module and then use it from several scripts, but variable is not exported actually. my prog.sage looks like: from mod import * createVar('A') f = A^2

[sage-support] import

2009-10-12 Thread Mikie
My Python script is getting very large. The html pages I am creating are all class defs. Can I save the defs in a text file then import them? If so where do I put them. Isn't Sage just one large bounce of Python files? Please, excuse my lack of Python/Sage knowledge. Six months ago I

[sage-support] import statements

2009-08-27 Thread kcrisman
Dear support, factorial() is defined (globally) in a couple places in Sage. For one, we have in rings/all from arith import * [and factorial is defined there] but for another we have in functions/all from other import ... factorial ... But sage: factorial? makes it look like it lives in

[sage-support] Import users to sage

2009-08-24 Thread Alexandre Belousov
Hello! Currently I've got a moodle installation on the same server as sage notebbok is installed on with plenty of users (dept students and teachers) and mysql authentication. I wonder is there a way to auth users via external mysql database. Or (in case it's currently impossible) just import

[sage-support] import sage.rings.integer fails

2007-11-25 Thread Timothy Clemans
Hi, I started writing an external library that uses Sage and I meditatly ran into: import sage.rings.integer Traceback (most recent call last): File stdin, line 1, in module ImportError: libcsage.so: cannot open shared object file: No such file or directory import sage.rings.arith Traceback