On 02/20/2015 10:30 AM, Jit Wei Aaron Ang wrote:
I'm currently using Spyder 2.3.1, installed through the anaconda
installer obtained from http://continuum.io/downloads . Using Python 2.7
at the moment as my institute is using that. The instructions were
obtained from http://lindeloev.net/?page_id=216 . The "syncronise..."
option is just beside the close button when pythonpath manager is launched.
Dug into source. Synchronize is a Windows only option and I am running
on Linux which is why I am not seeing it. From a quick look it seems
Synchronize writes to the system PYTHONPATH env variable, the Spyder
paths in the PythonPath Manager. So I would say your Spyder issues on
reset probably stem from this, there is old/erroneous information in the
PYTHONPATH. I would say that you need to clean out the synced paths from
the env variable. I do not use Windows enough to of much help here. I
would recommend Googling 'Windows env variables' for your version of
Windows.
On Wednesday, 18 February 2015 21:18:57 UTC, Adrian Klaver wrote:
On 02/17/2015 02:56 PM, Jit Wei, Aaron Ang wrote:
> Hi,
>
> I tried to link PsychoPy to Spyder to allow for importing of
PsychoPy
> modules through the following steps I found online :-
What version of Spyder?
How did you install Spyder?
What is the online link?
>
> ------------------------
> Open Spyder –> Tools –> PYTHONPATH manager
> Add the following two paths (psychopy usually installs to C:\Program
> Files (x86)\PsychoPy2 on Windows) and do NOT click “synchronize”
>
> [psychopy-folder]\Lib\site-package
>
> [psychopy-folder]\Lib\site-packages\psychopy[version].egg
> Now open Spyder and you should be able to run the following small
script
> without errors:
>
> from psychopy import *
> -----------------------------------
> I tried the following but spyder still can't seem to import the
psychopy
> module when called for. Worst still, I accidentally synchronized the
> paths before I chanced upon these instructions and since then, I
cannot
> launch Spyder (Reset Spyder setting doesn't work, it immediately
> terminates when launched) as long as Psychopy is installed on my
> Windows. Reinstalling both programs wouldn't work as well. At the
> moment, I can only launch up Spyder when Psychopy is completely
removed
> from my computer while it wasn't the case before I attempted to
link the
> two programs together. Is there a way to fix this?
Where is this synchronize you mention, I do not see it PYTHONPATH
manager(Spyder 2.3.2)?
>
> Best Regards,
> Aaron
>
>
--
Adrian Klaver
[email protected] <javascript:>
--
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 http://groups.google.com/group/spyderlib.
For more options, visit https://groups.google.com/d/optout.
--
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.