[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Solution] Point octave to anaconda python (Mac)
From: |
CdeMills |
Subject: |
Re: [Solution] Point octave to anaconda python (Mac) |
Date: |
Mon, 20 Aug 2018 16:06:36 -0500 (CDT) |
Colin Macdonald-2 wrote
> On 2018-08-20 08:14 AM, CdeMills wrote:
>> Hello,
>>
>> maybe it's a dumb answer, but what about virtual environments ?
>>
>> from the command line:
>> conda create -n yourenvname python=x.x anaconda
>> source activate yourenvname
>> octave
>>
>> Pascal
>
> Seems like that should work. Provided the virtual environment sets
> "$PYTHON", the Symbolic package should pick up on it.
>
> I use neither Mac nor Conda: what does one type to install sympy within
> "yourenvname"?
>
> It would be *great* if someone can test all this and document it here:
>
> https://github.com/cbm755/octsympy/wiki/Notes-on-macOS-installation
Well, for Anaconda, things are detailed here:
https://uoa-eresearch.github.io/eresearch-cookbook/recipe/2014/11/20/conda/
So it would go as follows:
conda create -n yourenvname python=x.x anaconda
source activate yourenvname
conda install -n yourenvname sympy
octave
Regards
Pascal
--
Sent from: http://octave.1599824.n4.nabble.com/Octave-General-f1599825.html