On 02/09/2015 07:32 AM, Amarjit Chandhial wrote:
Default version of python via CMD i.e. C:\Users\name>python
is
Python 3.4.2 (v3.4.2:ab2c023a9432, Oct 6 2014, 22:16:31) [MSC v.1600 64
bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>>
Have also tried downloading spyder with pip2.7.exe
C:\Users\name>C:\Python27\Scripts\pip2.7.exe install spyder
Requirement already satisfied (use --upgrade to upgrade): spyder in
c:\python27\
lib\site-packages
Cleaning up...
How there is only a .spyder2-py3 folder in C:\Users\name, not a .spyder2
folder
Now, in C:\Python27\scripts there is a spyder.bat file. If I try to
open, spyder opens however for 3.4 - NOT as expected
Because Python 3.4 is the default/current version. You cannot have two
versions of Python be 'the' system Python at one time. On Linux you can
use the alternatives mechanism to switch system versions, though this is
recipe for disaster. Not sure how you would do this on Windows and even
if I did I would recommend against it.
Also in C:\Python34\scripts, there is a spyder.bat file. If I try to
open, spyder opens however for 3.4 - as expected
Advice?
Look at virtual environments. I use virtualenv, but not sure that works
well in Windows. Per a previous post from Julien Hillairet, you probably
will need to look at one of the Windows specific solutions for multiple
Python environments. See below under Installation On Windows for your
choices:
https://bitbucket.org/spyder-ide/spyderlib
On Monday, February 9, 2015 at 3:04:21 PM UTC, Adrian Klaver wrote:
ulien Hillairet
On 02/09/2015 12:44 AM, Amarjit Chandhial wrote:
> My aim is to enable iPython within spyder multiple install 27 and
34 on
> Windows 64bit.
> I have spyder working normally with Python34. I have a
.spyder2-py3 folder.
> With Python34 working I have installed Python27 and want to get a
> separate spyder working with 27, as-well as 34.
> I tried to install Spyder for 27 via pip e.g. at CMD prompt
>
> C:\Users\name>C:\Python27\Scripts\pip.exe install spyder
>
> I do not have a .spyder2 folder. How do I get spyder working with
Python27?
What is your default version of Python?
Not sure how it works on Windows, but on Linux if you have more than
one
version of Python installed you have to use the appropriate version of
pip. Just calling pip will get you the one for the default version of
Python. So in your case, assuming Python 3.4 is default, something
like:
pip or pip3.4 will download and install for Python 3.4 packages
pip2.7 for Python 2.7 packages.
>
> --
--
Adrian Klaver
[email protected] <javascript:>
--
Adrian Klaver
[email protected]
--
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.