I've executed a file from ipython and get errors immediately that suggest
incomplete installation or misunderstood install, or python path problem.
My script is launched from leo-ipython started with python2.6.
It contains:
-
from OCC.PAF.Context import ParametricM
A while back Thomas suggested:
In order to check your installation, run src/unittest programs.
When I execute
python2.5 occ_unittest.py
output is:
Ran 11 tests in 4.730s
OK
-
To test that the SMESH wrapper works: run the examples from
src/examples/Level1/SMESH
python2.5
Hi,
I spent some time tonight to try to compile pythonocc on Debian unstable.
Here are some patches:
- 0001-Fix-end-of-lines.patch
End-of-line is not consistent, some files have a mix of DOS and
Unix conventions
- 0002-Fix-help-message-with-salomegeom-option-has-been-rep.patch
Subject
On Wed, May 19, 2010 at 12:09 PM, John Griessen wrote:
> Can I refer to python2.5 in my scripts and what ipython calls execute
> even though ipython was compiled with python2.6? I used python2.6 to satisfy
> the latest leo editor's python dependency.
You can start a script off like this if you wa
Can I refer to python2.5 in my scripts and what ipython calls execute
even though ipython was compiled with python2.6? I used python2.6 to satisfy
the latest leo editor's python dependency.
John
___
Pythonocc-users mailing list
Pythonocc-users@gna.org
Hi, I'm new at ipython and am a little confused at the tutorial wording:
"The best way to get all the power of PAF is certainly to use the ipython
console. When your PAF script is ready
(let’s name it test_paf.py’), then just: ipython -wthread test_paf.py"
And then the tutorial mentions step one
Thomas Paviot wrote:
> Hi John,
>
> I'm not sure the -classic and/or -nomodernargs can be safely used with
> SWIG and python2.6.
Do you want to be able to run with python2.6?
I'm going to start learning pythonocc with 2.5, but wanted to use the
leo editor with ipython and so get into a dependen