help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Octave: Sympy 0.7.6 installation steps.


From: Mike Miller
Subject: Re: Octave: Sympy 0.7.6 installation steps.
Date: Wed, 26 Oct 2016 14:14:53 -0700
User-agent: NeoMutt/20161014 (1.7.1)

On Wed, Oct 26, 2016 at 22:56:17 +0200, Constantine Frangos wrote:
> 
> Hi All,
> 
> I have sympy 0.7.4.1 installed in an ubuntu linux 14.04 system. 
> 
> (1) Is it possible to download sympy 0.7.6 and install this
> in my /home directory without disturbing in any way the 
> standard installation file system ?
> 
> (2) Assuming (1) is possible, what are the steps to install the 
> latest version of the octave symbolic toolbox such that it uses 
> sympy 0.7.6 installed in my /home directory ? 

I would recommend using virtualenv to set up a Python environment with
SymPy 1.0. There are many resources for learning virtualenv, but briefly

  $ virtualenv ~/my-sympy-env  ## <- or choose whatever dir you like
  $ . ~/my-sympy-env/bin/activate
  $ pip install sympy
  $ octave
  ## do your Octave / octsympy work
  $ deactivate  ## or just exit the shell

The environment is self-contained and does not intrude on your normal
desktop or shell environment, so you'll have to activate it every time
you want to use this version of SymPy with Octave and octsympy.

And when you're ready to upgrade to Ubuntu 16.04, you can simply apt
install octave-symbolic and not deal with any of this.

-- 
mike



reply via email to

[Prev in Thread] Current Thread [Next in Thread]