Thanks for the response Adrian. I thought I was installing it within an active virtualenv but apparently I wasn't and you're right I did end up with multiple installations. If I installed using sudo pip it installed in usr/local.... if used pip (not sudo) from my virtualenv it installed in my virtualenv. So I uninstalled from apt-get, sudo pip, then installed with sudo pip and I can now start spyder correctly.
However, something's still not right, since I can't start an ipython console within spyder. I changed my preferences to point to the ipython in my virtualenv but when I get the usage prompt for ipython. Overall it looks like my virtualenv is messed up. I might just wipe it out and start again. On Saturday, November 30, 2013 6:18:29 PM UTC-5, Adrian Klaver wrote: > > On 11/30/2013 08:43 AM, Adrian Edwards wrote: > > Hi, > > > > Having a problem where after installing spyder I can only run it as > sudo. > > > > I'm using Ubuntu 12.10 and installed spyder 2.2.5 > > I tried installing using both the apt-get and pip methods. I even tried > > to run via the ubuntu software center. > > I tried chown and chmod on the spyder directories. > > > > When I try to start spyder I get the following error: > > > > Traceback (most recent call last): > > File "/usr/local/bin/spyder", line 3, in <module> > > start_app.main() > > File "/usr/local/lib/python2.7/dist-packages/spyderlib/start_app.py", > > line 67, in main > > if not lock.lock(): > > File > > > "/usr/local/lib/python2.7/dist-packages/spyderlib/utils/external/lockfile.py", > > > > line 144, in lock > > symlink(str(os.getpid()), self.name) > > OSError: [Errno 13] Permission denied > > > > running sudo spyder works fine. > > I'm also using virtualenv which I'm fairly new too, and my suspicion is > > that when spyder installed it put it somewhere virtualenv can't see or > > doesn't have access. But I not sure how to either tell spyder to install > > in a place virtualenv recognizes. > > > > Any suggestions? > > Questions: > > 1) Did you install Spyder from in an activated virtualenv or not? > > 2) Where are trying to start Spyder, from in an active virtualenv or not? > > 3) Given you have tried multiple install methods, how many installations > of Spyder do you have? > > > > > Thanks > > Adrian > > > > > > -- > 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]. 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/groups/opt_out.
