beautifulsoup installation in pyCharm with two versions of python installed -
i use pycharm write python, @ first configurated pycharm python 2.7.12, , installed beautiful soup package under 2.7.12 environment.
however, have installed python 3.5.2 in pycharm , want use beautiful soup in pycharm 3.5.2, can't import bs4 because interpreter cant find beautiful soup package in 2.7.12 package folder.
so tried pip install bs4
in 3.5.2 console, tells me pkg has been installed in 2.7.12 folder. how can import beautiful soup in 3.5.2 in pycharm?
to sure install package right version of python, can use pip module :
python3.5 -m pip install [package]
so bs4 :
python3.5 -m pip install beautifulsoup4
Comments
Post a Comment