8월, 2021의 게시물 표시

install kochat

## install kochat   (base) root@rasa-virtual-machine:~/kochat/demo# pip3 install kochat Requirement already satisfied: kochat in /root/anaconda3/lib/python3.8/site-packages (1.0.3) Requirement already satisfied: pytorch-crf==0.7.2 in /root/anaconda3/lib/python3.8/site-packages (from kochat) (0.7.2) Requirement already satisfied: pandas==1.0.4 in /root/anaconda3/lib/python3.8/site-packages (from kochat) (1.0.4) Requirement already satisfied: flask==1.1.2 in /root/anaconda3/lib/python3.8/site-packages (from kochat) (1.1.2) Requirement already satisfied: konlpy==0.5.2 in /root/anaconda3/lib/python3.8/site-packages (from kochat) (0.5.2) Requirement already satisfied: joblib==0.15.1 in /root/anaconda3/lib/python3.8/site-packages (from kochat) (0.15.1) Requirement already satisfied: requests==2.24.0 in /root/anaconda3/lib/python3.8/site-packages (from kochat) (2.24.0) Requirement already satisfied: matplotlib==3.2.1 in /root/anaconda3/lib/python3.8/site-packages (from kochat) (3.2.1) Require

Missing (or bad) header file: zlib.h

  ## error occurred (Duckling)  Process exited with code: ExitFailure 1 Logs have been written to: /root/duckling/.stack-work/logs/zlib-0.6.2.1.log Configuring zlib-0.6.2.1... Cabal-simple_mPHDZzAJ_2.4.0.1_ghc-8.6.5: Missing dependency on a foreign library: * Missing (or bad) header file: zlib.h * Missing (or bad) C library: z This problem can usually be solved by installing the system package that provides this library (you may need the "-dev" version). If the library is already installed but in a non-standard location then you can use the flags --extra-include-dirs= and --extra-lib-dirs= to specify where it is.If the library file does exist, it may contain errors that are caught by the C compiler at the preprocessing stage. In this case you can re-run configure with the verbosity flag -v3 to see the error messages. If the header file does exist, it may contain errors that are caught by the C compiler at the prepro

install gitlab with docker

install gitlab with docker #Run the image docker run --detach --hostname gitdocker.gnoti.com --publish 8897:80 --publish 6015:22 --name gitlab --restart always --volume /srv/gitlab/config:/home/min/GitLab --volume /srv/gitlab/logs:/home/min/GitLab/log --volume /srv/gitlab/data:/home/min/GitLab/data gitlab/gitlab-ce:latest [root@gitlabd ~]# docker run --detach --hostname git.gnoti.com --publish 8897:80 --publish 6015:22 --name gitlab --restart always --volume /srv/gitlab/config:/home/min/GitLab --volume /srv/gitlab/logs:/home/min/GitLab/log --volume /srv/gitlab/data:/home/min/GitLab/data gitlab/gitlab-ce:latest Unable to find image 'gitlab/gitlab-ce:latest' locally latest: Pulling from gitlab/gitlab-ce 0a01a72a686c: Pull complete cc899a5544da: Pull complete 19197c550755: Pull complete 716d454e56b6: Pull complete b66ad69c1d8e: Pull complete 462500695a87: Pull complete 453c7300278b: Pull complete d7a5a55d56da: Pull complete 8e0cebb8d658: Pull complete 0b6cca773e2f: Pull c

build duckling

  ## git clone (base) root@rasa-virtual-machine:~# git clone https://github.com/facebook/duckling.git Cloning into 'duckling'... remote: Enumerating objects: 16400, done. remote: Counting objects: 100% (777/777), done. remote: Compressing objects: 100% (289/289), done. remote: Total 16400 (delta 515), reused 689 (delta 465), pack-reused 15623 Receiving objects: 100% (16400/16400), 7.13 MiB | 12.97 MiB/s, done. Resolving deltas: 100% (11636/11636), done. (base) root@rasa-virtual-machine:~# cd duckling/   ## build duckling (base) root@rasa-virtual-machine:~/duckling# stack build Downloaded lts-14.20 build plan. Preparing to install GHC (tinfo6) to an isolated location. This will not interfere with any system-level installation. Downloaded ghc-tinfo6-8.6.5. Installed GHC. Selected mirror https://s3.amazonaws.com/hackage.fpcomplete.com/ Downloading root Selected mirror https://s3.amazonaws.com/hackage.fpcomplete.com/ Downloading timestamp Downloading snapshot Downloading mirrors Ca