glofere.blogg.se

Paul romer python jupyter notebook
Paul romer python jupyter notebook





paul romer python jupyter notebook

envs\FC19ove38\Library\Ext\PySide) to be the default PySide for the environment for booting FreeCAD under Spyder/IPython, and it was enough to find out that when, under Bayesian's startup sequence, "pyside" is selected for QT_API, it is rejected for not being of sufficient version for IPython to create a Qt loop.

paul romer python jupyter notebook

I did that once after forcing PySide under FreeCAD (. I booted spyder-kernels inside of FreeCAD and started getting some communications between FreeCAD and an open Spyder, but the latter is not good enough to attach debugging to. I haven't made much new progress towards my final goal, but I did succeed (all with Python 3.8.2 and FreeCAD 0.19.alpha2) in booting FreeCAD from Spyder, and sort-of booting IPython within FreeCAD (which ran down and froze after a while).

PAUL ROMER PYTHON JUPYTER NOTEBOOK CODE

I would be happy with a seamless embedding of FreeCAD into an IPython page, which I think is possible more easily, and with (probably) creation of a spyder_nsole thing or IPython console under FreeCAD so the code could be watched from a debugger under Spyder. There is a part of this which is about controlling an instance of FreeCAD, and a part that is about embedding an instance of FreeCAD, is kind of what I came away with. That kind of stuff, but it took me 2 days to figure it out. I needed to plot a smooth as possible involute of the circle, I did so using ParametricCurves, but then couldn't sweep with it, it turned out that the black color and inability to sweep was because it had so many nodes in it that I couldn't actually select the wire. I have had idiosyncratic problems with several workbenches and would benefit from seeing what is going wrong in a debugger, even though I don't believe those WBs have real bugs. If this post needs to be re-directed, please do so, I am actually focused on trying to get Spyder debugging going under FreeCAD. Thank you all ( Looo, sgrogan, Bayesian, also CCordoba on Spyder) for your various posts around. I have tried importing them, they do so without complaint in the FreeCAD python console, but I haven't tried to make them perform yet, I need to experiment with the process on some toy code first to make sure when it doesn't work it isn't me doing it wrong.

paul romer python jupyter notebook

My last piece is to try to boot the spyder-kernels core from FreeCAD as per the instructions for using Spyder to remote debug. SVG file.Ģ) I get messages in the Report box about an incompatibility between IPython's load of QT5 and pyside, and PyQt5 which Bayesian says is a known issue for the Conda builds over Python 3.7. I get two problems:ġ) Whether or not I boot FreeCAD this way there is an error about failing to load a. I can then put up the following from Bayesian, either from a jupyter notebook or from the IPython prompt:Īnd FreeCAD 0.19.alpha2 boots. The Tornado fix needs to be applied to Spyder afterwards to run it on 3.8:Īt_event_loop_policy(asyncio.WindowsSelectorEventLoopPolicy()) I have got 2, Spyder 4.1.1 and Jupyter Notebook running in a Python 3.8.2 environment, created as,Ĭonda create -n FC19over38 freecad=0.19.alpha2 python=3.8 spyder jupyter notebook







Paul romer python jupyter notebook