상세 컨텐츠

본문 제목

[RPA] Python Scope path 설정 / anaconda navigator environment생성

IT/RPA(UiPath)

by Adonis_ 2022. 9. 27. 14:36

본문

파이썬 환경설정을 여러개 지정하다보면 어떤 python을 실행해야할지 UiPath에서 꼬이기때문에 환경설정을 과제별로 분리해서 지정하는게 좋음.

 

python environment설정 방법

 

※ Anaconda 설치 방법 참고

https://www.anaconda.com/products/individual

 

Anaconda | Anaconda Distribution

Anaconda's open-source Distribution is the easiest way to perform Python/R data science and machine learning on a single machine.

www.anaconda.com

https://benn.tistory.com/26

 

[Python] 아나콘다 (Anaconda) 다운로드 및 설치하기 feat. 주피터 노트북, 파이썬/콘다 버전 확인

아나콘다 Anaconda 아나콘다 (Anaconda)는 파이썬을 포함한 데이터 과학에 필요한 다양한 언어 및 패키지의 배포입니다. 프로젝트마다 다른 환경을 만드는데도 편리하고 환경마다 필요한 패키지를

benn.tistory.com

 

 

1. Anaconda Navigator에 environment생성

 

2. Anaconda Prompt

activate environment_name

pip install ---라이브러리들

 

* 최초 설정 후 라이브러리 추가할때도 activate 명령어 실행 후 pip install 진행

 

3. 확인

C:\ProgramData\Anaconda3\envs 

위 경로로 이동 시 생성된 폴더 확인 가능 ---> python scope의 path 값

Target은 x64로 설정해야함

 

(예시)

 

※ python 호출 오류시

https://github.com/conda/conda/issues/8273

 

Can't connect to HTTPS URL because the SSL module is not available · Issue #8273 · conda/conda

Current Behavior Environment: Windows 2016 Server Installer: https://repo.anaconda.com/archive/Anaconda3-2018.12-Windows-x86_64.exe with the fresh installation neither conda nor pip are able to wor...

github.com

%USERPROFILE%\Anaconda3\Library\bin\libcrypto-1_1-x64.dll
%USERPROFILE%\Anaconda3\Library\bin\libcrypto-1_1-x64.pdb
%USERPROFILE%\Anaconda3\Library\bin\libssl-1_1-x64.dll
%USERPROFILE%\Anaconda3\Library\bin\libssl-1_1-x64.pdb

위 4개 파일을 아래 경로에 복사

%USERPROFILE%\Anaconda3\DLLs

 

AttributeErrorAttributeError : partially initialized module 'cv2' has no attribute 'gapi_wip_gst_GStreamerPipeline에러 발생시

Anaconda Prompt 실행

activate 명령어 실행

pip install opencv-python==4.5.5.64

관련글 더보기

댓글 영역