Hi there Brian, 

I just went through this whole process regarding running Spyder, and there 
is a MUCH easier way of running Spyder in a virtual enviornment. All you 
have to do is point Spyder (installed in your regular Linux environment) 
towards the python interpreter of the virtual environment. You can find the 
option in: 

Tools > Preferences > Console > Advanced Settings > Python Executable. 

And then replace it with the location of the python interpreter of your 
virtual machine, for example
/home/username/python_environments/env/bin/python

Sorry, can't help regarding the Cythonize stuff.

All the best!

On Saturday, September 20, 2014 at 2:44:01 AM UTC+12, BM wrote:
>
> Hi everyone,
>
> I have been using Spyder on Windows for a long time, and absolutely love 
> it. However, I am still very much a beginner, because I don't use any of 
> the advanced features yet. Recently, I have had to switch to a Linux 
> platform (Debian), and needed to run a version of Python and Spyder that is 
> more updated than the ones available in the Debian repositories. Thus, I 
> needed to set up virtual environments.
>
> I have not had success getting Spyder to run inside a virtual environment: 
> after typing in 'spyder' in the console, I get an error that says I need 
> the right version of PyQt (which I have already made sure is installed...). 
> Is what I am trying to do possible, and am I simply making an error?
>
> Secondly, I'd like to Cythonize some of code. There are a wide variety of 
> ways to compile Cython code (see 
> http://docs.cython.org/src/reference/compilation.html). So, I'd like to 
> ask: which way is most suitable for integration into Spyder? A dream would 
> be: I press F9, the code is Cythonized and then run in the interpreter. Is 
> this possible?
>
> Thanks very much for your help,
> Brian
>

-- 
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 http://groups.google.com/group/spyderlib.
For more options, visit https://groups.google.com/d/optout.

Reply via email to