Bug 646154

Summary: libsvm-python's pth is not set correctly
Product: [Fedora] Fedora Reporter: Howard Ning <mrlhwliberty>
Component: libsvmAssignee: Ding-Yi Chen <dchen>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 14CC: dchen
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: libsvm-3.11-3.el6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-01-23 22:04:44 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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.