Bug 646154 - libsvm-python's pth is not set correctly
Summary: libsvm-python's pth is not set correctly
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: libsvm
Version: 14
Hardware: x86_64
OS: Linux
low
medium
Target Milestone: ---
Assignee: Ding-Yi Chen
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-10-24 15:16 UTC by Howard Ning
Modified: 2012-01-31 17:52 UTC (History)
1 user (show)

Fixed In Version: libsvm-3.11-3.el6
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-01-23 22:04:44 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Howard Ning 2010-10-24 15:16:25 UTC
Description of problem:
in python one can:
>>> import svm
or
>>> import svmutil
as described in the doc

But this can't be done because the svm.py and svmutil.py are located in
%{python_sitearch}/libsvm
instead of 
%{python_sitearch}
So a pth file needs to be provided in %{python_sitearch} as:
echo 'libsvm' > %{python_sitearch}/libsvm.pth


Version-Release number of selected component (if applicable):
2.91

How reproducible:
python
>>> import svm
ImportError: No module named svm

Comment 1 Fedora Update System 2012-01-12 03:47:26 UTC
libsvm-3.11-3.el6 has been submitted as an update for Fedora EPEL 6.
https://admin.fedoraproject.org/updates/libsvm-3.11-3.el6

Comment 2 Fedora Update System 2012-01-12 03:47:34 UTC
libsvm-3.11-3.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/libsvm-3.11-3.fc16

Comment 3 Fedora Update System 2012-01-12 03:47:44 UTC
libsvm-3.11-3.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/libsvm-3.11-3.fc15

Comment 4 Fedora Update System 2012-01-12 03:47:52 UTC
libsvm-3.11-3.el5 has been submitted as an update for Fedora EPEL 5.
https://admin.fedoraproject.org/updates/libsvm-3.11-3.el5

Comment 5 Fedora Update System 2012-01-14 03:58:36 UTC
Package libsvm-3.11-3.fc16:
* should fix your issue,
* was pushed to the Fedora 16 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing libsvm-3.11-3.fc16'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-0425/libsvm-3.11-3.fc16
then log in and leave karma (feedback).

Comment 6 Fedora Update System 2012-01-23 22:04:44 UTC
libsvm-3.11-3.fc15 has been pushed to the Fedora 15 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 7 Fedora Update System 2012-01-23 22:05:40 UTC
libsvm-3.11-3.fc16 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 8 Fedora Update System 2012-01-31 17:52:13 UTC
libsvm-3.11-3.el5 has been pushed to the Fedora EPEL 5 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 9 Fedora Update System 2012-01-31 17:52:46 UTC
libsvm-3.11-3.el6 has been pushed to the Fedora EPEL 6 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.