아나콘다 : 파이썬 배포판( 패키지 모음)
- 미니콘다 설치시 에러, anaconda miniconda
* 증상
anaconda install failed to create menus
_conda.exe appcrash
* 해결 방법
JDK 경로 제거, <============
- 결국 환경변수 에 문제 였다.
- 될때까지 환경변수를 삭제한다 <==============
- 자바 관련된 프로그램도 삭제
- IntelliJ ,Android Studio
//-----------
* 소용없었지만 필요한 과정일수 있음
https://docs.anaconda.com/anaconda/user-guide/troubleshooting/
Do not install on a PATH longer than 1024 characters.
Turn off anti-virus programs during install, then turn back on.
Uninstall all previous Python installations.
Clear all PATHs related to Python in sysdm.cpl file.
Delete any previously set up Java PATHs.
If JDK is installed, uninstall it.
https://github.com/ContinuumIO/anaconda-issues/issues/732
****** UNINSTALL ALL PYTHON INSTALLATIONS, OTHERWISE THEY WILL GET MESSED UP AND YOU CANNOT CLEANLY UNINSTALL THEM WITHOUT WINDOWS RESTORE, or at least I think these two problems were related *****
Install Miniconda
As Admin open CMD and change to directory where Miniconda is installed
pythonw.exe -E -s "_nsis.py" addpath
pythonw.exe -E -s "_nsis.py" mkdirs
pythonw.exe -E -s "_nsis.py" mkmenus
exit that CMD
I then ran Anaconda prompt from start menu, but you likely can use CMD
note) if you run "conda list", you will see no packages installed, but good news is conda will install pacakges, so:
conda install numpy
note) this will install conda! lol
conda install anaconda
//---------------
//참고
https://www.anaconda.com/who-you-gonna-call-halloween-tips-treats-to-protect-you-from-ghosts-gremlins-and-software-vulnerabilities/
https://github.com/ContinuumIO/anaconda-issues/issues/1775
https://stackoverflow.com/questions/34780267/anaconda-python-installation-error
conda update conda
..\python _nsis.py mkmenus
//
anaconda-clean --yes
conda install anaconda
//=======================
python 제거
JDK 제거
백신 끄기
windows explorer로 설치
사용자 경로
모든 옵션 체크하지 않기
레지스트리 지우기
PYTHONHOME
python2 제거
python3.8 설치
pip 재설치
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
python get-pip.py
Nvidia Driver -> 소용없음
https://www.nvidia.co.kr/Download/Find.aspx
CUDA Toolkit -> 소용없음
https://developer.nvidia.com/cuda-downloads
NVIDIA cuDNN
NVIDIA CUDA® Deep Neural Network library (cuDNN)
https://developer.nvidia.com/cudnn
https://docs.nvidia.com/deeplearning/sdk/cudnn-install/index.html#installwindows 설치 방법
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2 폴더에 압축파일을 푼다
CUDA_PATH C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2
After searching the internet for about 3 hours, I found this to finally work.
python3 -m pip install --upgrade https://storage.googleapis.com/tensorflow/mac/cpu/tensorflow-1.12.0-py3-none-any.whl
Edit 1: Tested on windows(8,8.1,10), Mac and Linux. Change python3 to python according to your configuration. C
//------------------------
cd %UserProfile%
powershell -command "& { (New-Object Net.WebClient).DownloadFile('https://repo.anaconda.com/miniconda/Miniconda3-latest-Windows-x86_64.exe', 'mc3.exe') }"
start /wait "" mc3.exe /InstallationType=JustMe /AddToPath=0 /RegisterPython=0 /NoRegistry=0 /S /D=%UserProfile%\anaconda3
%UserProfile%\anaconda3\Scripts\activate.bat
conda install -y anaconda=5.0.1 conda-build _ipyw_jlab_nb_ext_conf
'Code > Python' 카테고리의 다른 글
python 명령을 치면 Microsoft Store(윈도우 앱 스토어) 설치가 뜨는 문제 해결 (0) | 2020.02.01 |
---|---|
[파이썬] 셀레늄을 이용한 웹 크롤링 (0) | 2020.02.01 |
[Python] Django 프레임워크 사용하기 (0) | 2019.03.15 |
[Python] Flask 프레임워크 사용하기 (0) | 2019.03.15 |
[Python] 파이썬 웹 개발 시작하기 (0) | 2019.03.15 |