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?

enter image description here

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

Popular posts from this blog

magento2 - Magento 2 admin grid add filter to collection -

Android volley - avoid multiple requests of the same kind to the server? -

Combining PHP Registration and Login into one class with multiple functions in one PHP file -