Description of problem: After installing libsvm-python, I tried to import the libsvm library in a python script and it gave me the following error: >>> import libsvm Traceback (most recent call last): File "<stdin>", line 1, in <module> ImportError: No module named libsvm Version-Release number of selected component (if applicable): libsvm-2.89-1.fc10.i386 libsvm-python-2.89-1.fc10.i386 How reproducible: Always. Steps to Reproduce: 1. Install libsvm-python-2.89-1.fc10.i386 2. Run python 3. Enter import libsvm Additional info: I think the /usr/lib/python2.5/site-packages/libsvm/ directory should contain a __init__.py file.
Hi, I myself do not use python much. What would you expect to put in __init__.py, or just empty file will do? Regards, Ding-Yi Chen
An empty file will be enough. If there is no such __init__.py file (even empty), python does not consider that the directory can be imported. regards Simon Marache
libsvm-2.89-3.fc10 has been pushed to the Fedora 10 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update libsvm'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F10/FEDORA-2009-9695
libsvm-2.89-3.fc11 has been pushed to the Fedora 11 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update libsvm'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F11/FEDORA-2009-9792
libsvm-2.89-3.fc11 has been pushed to the Fedora 11 stable repository. If problems still persist, please make note of it in this bug report.
libsvm-2.89-3.fc10 has been pushed to the Fedora 10 stable repository. If problems still persist, please make note of it in this bug report.