mrchypark / multilinguer

Gentle Programming Language Installer (like JDK, conda) for R User
https://mrchypark.github.io/multilinguer/
Other
7 stars 2 forks source link

KoNLP 설치 오류 문의드립니다 #29

Closed SOOM12 closed 2 years ago

SOOM12 commented 3 years ago

마지막에서 오류 발생하였습니다..ㅠ

remotes::install_github('haven-jeon/KoNLP', upgrade = "never", INSTALL_opts=c("--no-multiarch")) Downloading GitHub repo haven-jeon/KoNLP@HEAD √ checking for file 'C:\Users\박수민\AppData\Local\Temp\RtmpuMYnVE\remotes34981836318f\haven-jeon-KoNLP-c43430c/DESCRIPTION' (441ms)

  • preparing 'KoNLP': (1.1s) √ checking DESCRIPTION meta-information ...
  • checking for LF line-endings in source and make files and shell scripts (343ms)
  • checking for empty or unneeded directories
  • looking to see if a 'data/datalist' file should be added
  • building 'KoNLP_0.80.2.tar.gz'

Installing package into ‘C:/Users/박수민/Documents/R/win-library/4.0’ (as ‘lib’ is unspecified)

[1] TRUE [1] 5744974 Successfully installed Scala runtime library in C:/Users/박수민/Documents/R/win-library/4.0/00LOCK-KoNLP/00new/KoNLP/java/scala-library-2.11.8.jar Error: package or namespace load failed for 'KoNLP': .onLoad failed in loadNamespace() for 'KoNLP', details: call: .jinit() error: Unable to create a Java class loader. 에러: 로딩에 실패했습니다 실행이 정지되었습니다 ERROR: loading failed

mrchypark commented 3 years ago

안녕하세요, rJava가 설치 실패된 것이 아닌가 싶습니다.

혹시 전체 실행 스크립트와 결과메세지를 공유해 주실 수 있으실까요?

SOOM12 commented 3 years ago

전체 실행해보았습니다!

install.packages("multilinguer") Installing package into ‘C:/Users/박수민/Documents/R/win-library/4.0’ (as ‘lib’ is unspecified) URL 'https://cran.rstudio.com/bin/windows/contrib/4.0/multilinguer_0.0.4.zip'을 시도합니다 Content type 'application/zip' length 45674 bytes (44 KB) downloaded 44 KB

package ‘multilinguer’ successfully unpacked and MD5 sums checked

The downloaded binary packages are in C:\Users\박수민\AppData\Local\Temp\RtmpK89GAc\downloaded_packages

install.packages(c('stringr', 'hash', 'tau', 'Sejong', 'RSQLite', 'devtools'), type = "binary") Installing packages into ‘C:/Users/박수민/Documents/R/win-library/4.0’ (as ‘lib’ is unspecified) URL 'https://cran.rstudio.com/bin/windows/contrib/4.0/stringr_1.4.0.zip'을 시도합니다 Content type 'application/zip' length 216099 bytes (211 KB) downloaded 211 KB

URL 'https://cran.rstudio.com/bin/windows/contrib/4.0/hash_2.2.6.1.zip'을 시도합니다 Content type 'application/zip' length 176949 bytes (172 KB) downloaded 172 KB

URL 'https://cran.rstudio.com/bin/windows/contrib/4.0/tau_0.0-21.zip'을 시도합니다 Content type 'application/zip' length 186127 bytes (181 KB) downloaded 181 KB

URL 'https://cran.rstudio.com/bin/windows/contrib/4.0/Sejong_0.01.zip'을 시도합니다 Content type 'application/zip' length 1617811 bytes (1.5 MB) downloaded 1.5 MB

URL 'https://cran.rstudio.com/bin/windows/contrib/4.0/RSQLite_2.2.1.zip'을 시도합니다 Content type 'application/zip' length 2389051 bytes (2.3 MB) downloaded 2.3 MB

URL 'https://cran.rstudio.com/bin/windows/contrib/4.0/devtools_2.3.2.zip'을 시도합니다 Content type 'application/zip' length 339690 bytes (331 KB) downloaded 331 KB

package ‘stringr’ successfully unpacked and MD5 sums checked package ‘hash’ successfully unpacked and MD5 sums checked package ‘tau’ successfully unpacked and MD5 sums checked package ‘Sejong’ successfully unpacked and MD5 sums checked package ‘RSQLite’ successfully unpacked and MD5 sums checked package ‘devtools’ successfully unpacked and MD5 sums checked

The downloaded binary packages are in C:\Users\박수민\AppData\Local\Temp\RtmpK89GAc\downloaded_packages

install.packages("remotes") Installing package into ‘C:/Users/박수민/Documents/R/win-library/4.0’ (as ‘lib’ is unspecified) URL 'https://cran.rstudio.com/bin/windows/contrib/4.0/remotes_2.2.0.zip'을 시도합니다 Content type 'application/zip' length 387655 bytes (378 KB) downloaded 378 KB

package ‘remotes’ successfully unpacked and MD5 sums checked

The downloaded binary packages are in C:\Users\박수민\AppData\Local\Temp\RtmpK89GAc\downloaded_packages

remotes::install_github('haven-jeon/KoNLP', upgrade = "never", INSTALL_opts=c("--no-multiarch")) Downloading GitHub repo haven-jeon/KoNLP@HEAD √ checking for file 'C:\Users\박수민\AppData\Local\Temp\RtmpK89GAc\remotes4e404fec7535\haven-jeon-KoNLP-c43430c/DESCRIPTION' (425ms)

  • preparing 'KoNLP': (2s) √ checking DESCRIPTION meta-information ...
  • checking for LF line-endings in source and make files and shell scripts (635ms)
  • checking for empty or unneeded directories
  • looking to see if a 'data/datalist' file should be added
  • building 'KoNLP_0.80.2.tar.gz'

Installing package into ‘C:/Users/박수민/Documents/R/win-library/4.0’ (as ‘lib’ is unspecified)

[1] TRUE [1] 5744974 Successfully installed Scala runtime library in C:/Users/박수민/Documents/R/win-library/4.0/00LOCK-KoNLP/00new/KoNLP/java/scala-library-2.11.8.jar Error: package or namespace load failed for 'KoNLP': .onLoad failed in loadNamespace() for 'KoNLP', details: call: .jinit() error: Unable to create a Java class loader. 에러: 로딩에 실패했습니다 실행이 정지되었습니다 ERROR: loading failed

mrchypark commented 3 years ago

@SOOM12 혹시 전체 설치 스크립트를 어디서 찾으셨는지 링크와 함께, 실행하신 스크립트만 공유해주실 수 있으신가요?

중간에 명령어가 좀 빠진거 같은데 확실하지 않아서요.

SOOM12 commented 3 years ago

넵, 아래와 같이 진행했습니다.

  1. R 프로그램 설치 (https://ftp.harukasan.org/CRAN/)
  2. R Studio 설치 (https://rstudio.com/products/rstudio/) 3.R tool 설치(윈도우 사용자일 경우) 4.java 설치 (JAVA Update 다운로드 받는 곳 https://www.oracle.com/java/technologies/javase-jdk15-downloads.html) 5.jre1-8u261-window-x64 패치 (jre-8u261-windows-x64.exe) 6.install.packages("rJAVA")

만약 계속 에러가 발생된다면아래와 같이 입력함 Sys.setenv(JAVA_HOME= “C:/Program Files/Java/jre1.8.0_271”) 이와 같이 작업한 이후, 아래의 명령어를 R_Script창에 입력함 install.packages("multilinguer") install.packages(c('stringr', 'hash', 'tau', 'Sejong', 'RSQLite', 'devtools'), type = "binary") install.packages("remotes") remotes::install_github('haven-jeon/KoNLP', upgrade = "never", INSTALL_opts=c("--no-multiarch"))

mrchypark commented 3 years ago

install.packages("multilinguer")

하신 후에

multilinguer::install_jdk()

하시고 그 뒤로 실행해 보시겠어요?

위에 rJava와 자바 설치 과정이 있긴 한데, 설치가 잘 안된거 같네요. 설치는 아마 jdk8 설치하신 거 같네요.

잘 설치되서 동작하는지 확인하면 좋겠는데, 에러를 보건데 설치가 잘 안된거 같아요.

multilinguer::install_jdk()

이 명령어가 자바를 설치해 주는 명령어 로 되어 있으니 사용해 보시구요.

사용자 이름이 한글로 되어 있어서 폴더 경로에 한글이 있어요!

이거 때문에 설치 문제가 될 수 있으니 알려주세요 감사합니다.

2020년 10월 31일 (토) 오후 12:10, SOOM12 notifications@github.com님이 작성:

넵, 아래와 같이 진행했습니다.

  1. R 프로그램 설치 (https://ftp.harukasan.org/CRAN/)
  2. R Studio 설치 (https://rstudio.com/products/rstudio/) 3.R tool 설치(윈도우 사용자일 경우) 4.java 설치 (JAVA Update 다운로드 받는 곳 https://www.oracle.com/java/technologies/javase-jdk15-downloads.html) 5.jre1-8u261-window-x64 패치 (jre-8u261-windows-x64.exe) 6.install.packages("rJAVA")

만약 계속 에러가 발생된다면아래와 같이 입력함 Sys.setenv(JAVA_HOME= “C:/Program Files/Java/jre1.8.0_271”) 이와 같이 작업한 이후, 아래의 명령어를 R_Script창에 입력함 install.packages("multilinguer") install.packages(c('stringr', 'hash', 'tau', 'Sejong', 'RSQLite', 'devtools'), type = "binary") install.packages("remotes") remotes::install_github('haven-jeon/KoNLP', upgrade = "never", INSTALL_opts=c("--no-multiarch"))

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/mrchypark/multilinguer/issues/29#issuecomment-719875018, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABPETO3BIVCYB5M5D654K2TSNN53DANCNFSM4TCKVC6A .

-- 감사합니다.

박찬엽 드림.