프로그래밍/Python3

Python Selenium Anaconda 설치오류

Ask-How 2018. 11. 26. 02:31

Python Selenium Anaconda 설치오류 


Anaconda를 사용하고 있으면,

### 매우중요

python이나 다른 환경에서 설치하면 안된다.

아나콘다프롬프트에서 설치해야함!!


>> 열어봤던 곳인데.. 써있는지 몰랐네.. 

http://blog.naver.com/PostView.nhn?blogId=kiddwannabe&logNo=221259054433&categoryNo=38&parentCategoryNo=0&viewDate=¤tPage=1&postListTopCurrentPage=1&from=search



# 해결

구글검색 spyder selenium

https://anaconda.org/conda-forge/selenium


conda install -c conda-forge selenium


그런데... 액세스 거부


ERROR conda.core.link:_execute(502): An error occurred while uninstalling package 'defaults::conda-4.5.11-py37_0'.

PermissionError(13, 액세스가 거부되었습니다...)


#해결

https://github.com/ContinuumIO/anaconda-issues/issues/8733

>> 댓글 중 뭐가 많아서 solution 찾아보니

>>> The solution for me was run anaconda as adminstrator.

아나콘다프롬프트를 관리자권한으로 실행 (관리자권한실행방법은 프롬프트아이콘에서 마우스오른쪽 - 자세히)





ChromeDriver 설치오류


WebDriverException: 'chromedriver_win32' executable may have wrong permissions.


#해결

https://stackoverflow.com/questions/47148872/webdrivers-executable-may-have-wrong-permissions-please-see-https-sites-goo

등등을 읽어보다가 

 \ > /  : 이렇게 바꾸는것도 안되고,

왠지 느낌쓰가 C드라이브까지로 올려놓고 호출해야할 것 같아서 해보니 됨.