Hello,

I use the following script to activate a conda environment and launch
spyder:

#!/bin/bash
# added by Miniconda 3.3.0 installer
export PATH="/home/ufechner/miniconda/bin:$PATH"
#!/bin/bash
# added by Miniconda 3.3.0 installer
export PATH="/home/ufechner/miniconda/bin:$PATH"

source /home/ufechner/miniconda/bin/activate numba2 >>
/home/ufechner/error.log
spyder

Just copy paste this into a file like spyder.sh, replace ufechner with
your username and
"numba2" with the name of your conda environment.
Furthermore you might have to replace the name "miniconda" with the name
of the directory,
where you installed conda.

Then type:
chmod +x spyder.sh

and create a link to spyder.sh on your desktop, if you like that.

There might be easier ways to do this, but this approach works for me.

Uwe Fechner

On 08.01.2016 13:07, leopold zyka wrote:
> Dear python gurus,
>
> I am a beginner in Python.
> I run Debian 8 in a virtual box and installed Anaconda.
> Running Spyder I have a problem that modules like "requests" which I
> installed with conda
> cannot be found in Spyder.
> I assume I have to set the path using PYTHONPATHMANAGER in Spyder.
> Unfortunately I cannot set a path to the Anaconda Site-Packages
> because the whole root tree is disabled.
>
> How can I work with Spyder using Anaconda for Python management ?
>
> thank you very much !
> Leopold
> -- 
> You received this message because you are subscribed to the Google
> Groups "spyder" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to [email protected]
> <mailto:[email protected]>.
> To post to this group, send email to [email protected]
> <mailto:[email protected]>.
> Visit this group at https://groups.google.com/group/spyderlib.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"spyder" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/spyderlib.
For more options, visit https://groups.google.com/d/optout.

Reply via email to