[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:01:50 -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, I don't have a Mac at hand. Nevertheless, this is just standard
Python:
conda create -n yourenvname python=x.x anaconda
source activate yourenvname
pip install sympy # this will use the right Python version, paths and
so on
octave
Pascal
--
Sent from: http://octave.1599824.n4.nabble.com/Octave-General-f1599825.html