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]

--
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.

Reply via email to