miniconda with Proxy

Published by onesixx on

https://driz2le.tistory.com/274

miniconda의 conda 환경에서 패키지들을 설치할 경우,
rStudio환경에서 설치가 안되는 경우 proxy 설정을 활용하여 해결

R

conda configuration file 생성

Shell

home directory(~/) 밑에 새로운 .condarc 파일생성

cond configuration file 설정

R
ssl_verify: false
proxy_servers:
  http: http://10.16.16.16:1616
  https: https://10.16.16.16:1616

설치확인

Shell
(sixxDL) oschung_skcc@cf1d8cf6e830:~$ conda info

     active environment : sixxDL
    active env location : /home/oschung_skcc/.local/share/r-miniconda/envs/sixxDL
            shell level : 2
       user config file : /home/oschung_skcc/.condarc
 populated config files : /home/oschung_skcc/.condarc
          conda version : 4.8.5
    conda-build version : not installed
         python version : 3.8.3.final.0
       virtual packages : __cuda=10.1
                          __glibc=2.27
       base environment : /home/oschung_skcc/.local/share/r-miniconda  (writable)
           channel URLs : https://repo.anaconda.com/pkgs/main/linux-64
                          https://repo.anaconda.com/pkgs/main/noarch
                          https://repo.anaconda.com/pkgs/r/linux-64
                          https://repo.anaconda.com/pkgs/r/noarch
          package cache : /home/oschung_skcc/.local/share/r-miniconda/pkgs
                          /home/oschung_skcc/.conda/pkgs
       envs directories : /home/oschung_skcc/.local/share/r-miniconda/envs
                          /home/oschung_skcc/.conda/envs
               platform : linux-64
             user-agent : conda/4.8.5 requests/2.24.0 CPython/3.8.3 Linux/3.10.0-1062.18.1.el7.x86_64 ubuntu/18.04.4 glibc/2.27
                UID:GID : 1001:1001
             netrc file : None
           offline mode : False

.Renviron 설정

R
http_proxy=http://10.16.16.16:1616
https_proxy=https://10.16.16.16:1616
Categories: Keras

onesixx

Blog Owner

Subscribe
Notify of
guest

0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x