How do I install libsvm for python under windows 7?

后端 未结 5 718
盖世英雄少女心
盖世英雄少女心 2020-12-15 09:53

Would like to know how to install libsvm for python under windows 7?

I downloaded the livsvm zip, but I don\'t understand the instructions included. I have placed th

5条回答
  •  独厮守ぢ
    2020-12-15 10:29

    I know you asked this question 1 year ago, but I'd still like to post my solution, in case other people may benefit.

    1. Put libsvm to any place. Mine in C:\Python27\Lib\site-packages\libsvm-3.17

    2. Set PYTHONPATH in windows environment. Go to System Properties -> Advanced -> Environment variables.
      Add new variable, named PYTHONPATH, set value to C:\Python27\Lib\site-packages\libsvm-3.17\python.

提交回复
热议问题