Velvet Star Monitor

Standout celebrity highlights with iconic style.

general

Installing symbolic package in octave

Writer Olivia Zamora

I have installed octave with the following commands:

sudo add-apt-repository ppa:picaso/octave
sudo apt-get install octave

Then from octave I used the following command:

pkg install -forge symbolic

I got the following error:

configure: error: SymPy version 0.7.5 or later is required
checking for sort... /usr/bin/sort
checking for GNU coreutils... yes
checking for python... /usr/bin/python
checking python module: sympy... yes
checking for SymPy version... 0.7.4.1
checking for gawk... gawk
pkg: error running the configure script for symbolic.
error: called from 'configure_make' in file /usr/share/octave/4.0.0/m/pkg/private/configure_make.m near line 79, column 9

I installed python sympy with:

sudo apt-get install python-sympy

I restarted the operating system and tried again but still the same error.

4

2 Answers

I just hit the same problem. The solution is to check if you have pip

sudo apt-cache policy python-pip

which should return either:

python-pip: Installed: (none) Candidate: 1.5.4-1ubuntu3 Version table: 1.5.4-1ubuntu3 0 500 trusty-updates/universe amd64 Packages 1.5.4-1 0 500 trusty/universe amd64 Packages

meaning it isn't installed. Or:

python-pip: Installed: 1.5.4-1ubuntu3 Candidate: 1.5.4-1ubuntu3 Version table: *** 1.5.4-1ubuntu3 0 500 trusty-updates/universe amd64 Packages 100 /var/lib/dpkg/status 1.5.4-1 0 500 trusty/universe amd64 Packages

if it is installed. If not installed run:

sudo apt-get install python-pip

Now you can run pip to get the new sympy

pip install --user sympy

Finally back to octave to run

pkg install -forge symbolic

or

pkg install /PATH/YOU/DOWNLOADED/TO/symbolic-2.2.4.tar.gz

if you downloaded the tar of the version you need.

Last and final step: Each time your run octave, you need to load the symbolic package,

pkg load symbolic

or you can put this command in your ~/.octaverc.

5

Run

sudo apt-get install octave-symbolic
1

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy