CondaHTTPError: HTTP 000 CONNECTION FAILED for url <https://repo.anaconda.com/pkgs/main/win-64/current_repodata.json>

해결방법

conda config --set ssl_verify no

실행 후 가상환경 생성

conda create -n 가상환경명 python=3.7 (요건 해도되고 안해도 되고)

출처: https://needneo.tistory.com/97 [네오가 필요해]

 
 

 

 

진짜 이 에러땜에 고생 고생 개고생

일일이 라이브러리 파일 다운로드해서 설치하다 하다

승질나서 다른 검색어를 썼더니 에러 발생 조치 방법으로 이게 나옴..

암튼, 아래와 같은 에러가 나오면,

ERROR: Could not install packages due to an OSError: HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Max retries exceeded with url: ~~~~

조치 방법으로 다음과 같이 신뢰할 사이트로 등록하면서 설치하면 설치됨.

pip install --trusted-host pypi.python.org --trusted-host pypi.org --trusted-host files.pythonhosted.org 설치할패키지명

아휴..

참고사이트 :

https://better-than-alone.tistory.com/42

https://6developer.com/947

 

구글링으로 찾은 또다른 방법 1

pip의 config 파일에 --trusted-host <hostname> 을 넣어두면, 'pip install 라이브러리' 만으로도 설치가 됨.

1. config 파일을 생성 (이미 있으면, 그걸 사용하거나 없으면 해당 위치에서 폴더와 파일을 생성하여 아래 내용을 추가)

    1) 맥 OS : $HOME/Library/Application Support/pip/pip.conf 이나 $HOME/.config/pip/pip.conf.

    2) 윈도우 : %APPDATA%\pip\pip.ini 이나 %HOME%\pip\pip.ini

2. 내용 추가

[global]
trusted-host = pypi.org
               files.pythonhosted.org

출처: https://curryyou.tistory.com/179 

 

구글링으로 찾은 또다른 방법 2 (리눅스 환경)

alias로 아예 pip 명령어 쓸때 --trusted-host 내용들 같이 적어버리게 등록해버리기

vi로 ~/.bashrc 파일을 열어 제일 마지막에 다음 내용을 추가

alias pip='pip --trusted-host pypi.org --trusted-host files.pythonhosted.org'

출처 : https://harryp.tistory.com/831

아나콘다 CMD (관리자 모드) 실행 후

pip install jupyter_contrib_nbextensions 

jupyter contrib nbextension install --user

입력하여 실행 후 결과확인

쥬피터 노트북 실행하여

Edit에 아래 항목 추가 여부 확인

위 항목에 들어가서

아래 항목들 체크

disable 체크박스 해제.

항목들이 순서가 다를수 있으니 상단 filter 부분에서 단어나 일부 항목 입력후 체크박스 체크.

쥬피터 노트북 재실행.

끝.

MySQL 8.0.16 기준

- MySQL 중지
# systemctl stop mysqld

- MySQL - skip-grant-tables 옵션 사용하여 암호 없이 진입 하도록 설정
# mysqld --skip-grant-tables --user=mysql &
# mysql

- root 패스워드 변경
mysql> FLUSH PRIVILEGES; 
mysql>  ALTER USER 'root'@'localhost' IDENTIFIED BY 'new_passowrd';
mysql> quit

- MySQL 중지 및 재시작
# systemctl stop mysqld
# systemctl restart mysqld

- 변경된 패스워드로 MySQL 로그인 되는 지 확인
# mysql -u root -p

작업후 반드시 계정에 암호로 로그인 되는지 확인 필요함.

1. 자동 저장 끄기

2. 에디터 창 폰트 설정

3. 파일 탭 한줄로 표시 없애기, 수정시 * 표시 되게 하기, 파일 알파벳순 정렬, 탭 갯수 지정 (50개)

4. server's certificate is not trusted 문제 방지 또는 해결

SSL 할때 회사 방화벽 문제로 인해서 Server Certificates 오류가 발생 할 수 있다고 함.

File > Settings > Tools > Server Certificates > Accept non-trusted certificates automatically 체크

Appearance & Behavior > System Settings > Updates > Use Secure connection 체크 해제

-> 2021.2.1 버전에는 옵션이 없음.

+ Recent posts