Hi Matteo,

I've install fipy (should be available in a few hours), but sfepy is not 
available via pip, so it is not obvious to me how to make it available to 
Sage.

Best,
Andrey

On Tuesday, 9 February 2021 at 09:24:48 UTC-7 [email protected] wrote:

> Hi all! First of all thank you Andrey for SageMathCell. Sorry if I use 
> this thread but I have seen that here there are many requests about 
> installation of specific python libraries.
>
> So, if it's useful for you too and Andrey agrees, I'd like to try the 
> following libraries in SageMathCell (that I use mainly with a modified 
> version of the script sagecell-client.py 
> <https://github.com/sagemath/sagecell/blob/master/contrib/sagecell-client/sagecell-client.py>
>  
> that works easily on a smartphone with python installed as app) to find 
> numerical solutions of PDEs:
>
>    - Fipy (https://www.ctcms.nist.gov/fipy/index.html): finite volume 
>    methods
>    - Sfepy (http://sfepy.org/doc-devel/index.html): finite elements 
>    methods
>    
> Thank you
> Regards
> Matteo
>
> Il giorno domenica 7 febbraio 2021 alle 18:05:29 UTC+1 [email protected] 
> ha scritto:
>
>> Ingo: SageMathCell uses preforked kernels, so when you are trying to 
>> execute a cell it is already up and running, waiting for your code. If you 
>> can activate extra modules from a running session, e.g. by downloading and 
>> importing a module, you can already do it. If you want to install something 
>> on the system and then start a kernel - that's completely different 
>> approach (which is available to you in CoCalc). The rate of requests for 
>> new modules is not that big, so I am happy to add anything you want and it 
>> will be available by default. Of course, this assumes that this anything 
>> can be installed via standard means and be functional.
>>
>> Elimboto: this is not the case for Tk, Turtle, or Dash/Flask. I could not 
>> figure out a way to use Turtle on on a headless machine without displaying 
>> anything, although it seems there are ways to save plots after they have 
>> been shown. If you can dig up instructions on how to do it - I will be 
>> happy to incorporate them. For Dash I am still unclear what exactly you are 
>> are trying to accomplish and so what should work. If you are trying to 
>> create some interactive interface, you are unlikely to do anything apart 
>> from using ipywidgets or its @interact wrappers. All communication in 
>> SageMathCell is passing through IPython framework, nothing else is going to 
>> work without substantial efforts like implementing X11 protocol similar to 
>> William's work in CoCalc.
>>
>> pyswarms, pydot, graphviz, folium and openpyxl have been added to public 
>> servers!
>>
>> Best,
>> Andrey
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-cell" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-cell/f154eadd-610a-4f75-9eca-e90de7b05221n%40googlegroups.com.

Reply via email to