내 MacBook에 Python 용 WEKA를 설치하려고했지만 약간의 문제가 있었다.Mac에서 Python 용 WEKA 설치
첫째, MacPorts를 통해 WEKA를 설치 :
sudo port install weka
이 원활했다.
다음, the PyPI page에 따라, 나는이 명령을 시도 : 그러나
sudo pip install -U https://github.com/chrisspen/weka/tarball/master
를이 나에게 다음과 같은 오류 제공 :
AssertionError: Weka JAR file /usr/share/java/weka.jar not found. Ensure the file is installed or update your environment's WEKA_JAR_PATH to only include valid locations.
는이 문제를 해결하기를, 나는 the University of Waikato page에서 WEKA를 다운로드하고 weka.jar
복사
sudo cp /Volumes/weka-3-6-10/weka-3-6-10/weka.jar /usr/share/java/
그런 다음 pip install 명령을 다시 실행하면, 다음 오류가 발생합니다.
AssertionError: Weka JAR file /usr/share/java/libsvm.jar not found. Ensure the file is installed or update your environment's WEKA_JAR_PATH to only include valid locations.
이 오류를 수정하려면 어떻게해야합니까?
는 this other SO post에서 약간의 지혜를 빌려
... – hd1