0

I try to import BeautifulSoup but it does tell me that the module can not be found. I use Python 3.7.3 and the Atom Editor

But it is installed

Requirement already satisfied: BeautifulSoup in C:users\ich\anaconda\lib\site-packages (4,7,1)

Requirement already satisfied: BeautifulSoup in C:users\ich\anaconda\lib\site-packages (from BeautifulSoup4) (1.8)

Since I am completely new about programming I don't know how to solve it. Setting an environment variable? Or putting the .atom File into my_env ? How can I activate packages which are already installed (when import ... is not working ?)

Should I put the path C:users\ich\anaconda\lib\site-packages (4,7,1) into .atom file ?

Da Nickste
  • 61
  • 1
  • 2
  • 8

1 Answers1

0

You must make sure that the Python interpreter runs from your conda environment. On the command line, you'd achieve that with:

conda activate base
python

I hope somebody else can share how to do that with the Atom editor.

Roland Weber
  • 3,395
  • 12
  • 26
  • ```"I hope somebody else can share how to do that with the Atom editor"``` I will definitely hand out my last slice of pizza for the people who do this – Da Nickste Jun 10 '19 at 14:36