Re: Issue 343 in specto: Specto 0.4.1 doesnt start because it can't import its libraries

5 views
Skip to first unread message

spe...@googlecode.com

unread,
Feb 22, 2012, 7:51:33 PM2/22/12
to specto...@googlegroups.com
Updates:
Summary: Specto 0.4.1 doesnt start because it can't import its libraries
Status: Accepted
Cc: Francesc...@gmail.com
Labels: Type-Defect Priority-Critical

Comment #3 on issue 343 by nekoh...@gmail.com: Specto 0.4.1 doesnt start
because it can't import its libraries
http://code.google.com/p/specto/issues/detail?id=343

Okay, I can indeed reproduce this in an Ubuntu 11.10 virtual machine. I
don't know how to fix it however, so a patch, or indications of why python
doesn't want to import the files that are actually there, would be welcome.

Attachments:
log.txt 14.4 KB

spe...@googlecode.com

unread,
Jan 15, 2013, 7:48:19 AM1/15/13
to specto...@googlegroups.com

Comment #4 on issue 343 by michal.k...@gmail.com: Specto 0.4.1 doesnt start
because it can't import its libraries
http://code.google.com/p/specto/issues/detail?id=343

I can reproduce it on up-to-date LMDE (Linux Mint Debian Edition, i.e.
debian), also in virtual machine (virtualbox).

spe...@googlecode.com

unread,
Jun 13, 2013, 3:06:42 PM6/13/13
to specto...@googlegroups.com

Comment #5 on issue 343 by haani...@gmail.com: Specto 0.4.1 doesnt start
because it can't import its libraries
http://code.google.com/p/specto/issues/detail?id=343

Ok, I found the cause. When building and installing, running the local
executable from the source directory works, but not the system-wide specto.

On Debian and Ubuntu, python2.7 expects to find libraries in
/usr/lib/python2.7/dist-packages rather than
/usr/lib/python2.7/site-packages

http://wiki.debian.org/Python/Packaging :
"Python interpreter in Debian (since Python 2.6) is modified to use
/usr/lib/pythonX.Y/dist-packages instead of site-packages. This way we can
avoid conflicts with manually installed interpreter."

The solution on Debian and derived distributions is to use

python setup.py build
sudo python setup.py install --install-layout=deb

when installing. Tested on Debian 7.0, installs fine and is executable.

--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
Reply all
Reply to author
Forward
0 new messages