Ask Your Question

PySDE: How to import this Python package?

asked 2013-06-18 16:56:53 +0100

this post is marked as community wiki

This post is a wiki. Anyone with karma >750 is welcome to improve it.

Hi, how can I add PySDE [] to Sage? I use version 5.9 Win64 VBox.

I want to run: """ add required Python packages """ from pysde import * from sympy import * """ Variables acclaimed """ x,dx=symbols('x dx') r,G,e,d=symbols('r G epsilon delta') """ Solve Kolmogorov Forward Equation """ l=sde.KolmogorovFE_Spdf(r(G-x),ex(1-x),0,1) sol=l.subs({e:rd})


Thanks! Roland

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2013-06-18 21:31:37 +0100

this post is marked as community wiki

This post is a wiki. Anyone with karma >750 is welcome to improve it.

have you tried the following:

1) 2) f

  1. download the from github
  2. in command line change directory to the download folder

    cd /path/to/download/folder

  3. in command line unzip the file


  4. in command line run the following

    /path/to/sage/folder/sage/local/bin/python pysde-master/python/ install

hopefully this helps!

edit flag offensive delete link more


Hi, Thanks for yor swift reply! I got an error when applying step 4: sde_wrap.cpp does not exist.. :(

Rolandb gravatar imageRolandb ( 2013-06-19 05:10:33 +0100 )edit

I install packages by executing sage -sh and the cd to directory with file. Then execute python ./ install Having troubles with markdown/html, but hopefully you understand the commands executed. N.B.: From the Git page: "This was a 2.0 attempt at a project for manipulating ArcSDE's C API directly with Python. What's here is an unfinished attempt at a proper SWIG bindings for the API modeled on GDAL's SWIG bindings layout. I'm pretty sure nothing really works, but it should be a good starting point for someone looking to make it happen."

rickhg12hs gravatar imagerickhg12hs ( 2013-06-19 05:23:56 +0100 )edit

@Rolandb Do you have ArcSDE's C API library?

torrho gravatar imagetorrho ( 2013-06-19 10:50:53 +0100 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2013-06-18 16:56:53 +0100

Seen: 715 times

Last updated: Jun 18 '13