I want to import a module called BaselineRemoval using pip, however, after installing it, python (version 3.8) is giving error of :
ModuleNotFoundError: No module named 'BaselineRemoval'
I am not familiar with dealing with these kinds of things, so any help with this?
Asked
Active
Viewed 208 times
1

StatguyUser
- 2,595
- 2
- 22
- 45

alex
- 71
- 6
-
please paste the code snippet – pushpendra chauhan May 11 '21 at 00:06
-
Show us the output of `pip --version`. – John Gordon May 11 '21 at 00:18
-
```pip 21.1.1 from /Users/alex/opt/anaconda3/lib/python3.8/site-packages/pip (python 3.8)``` – alex May 11 '21 at 00:19
-
How are you running the code? Are you typing `python myscript.py` at a command prompt, or are you using an IDE, or some other way? – John Gordon May 11 '21 at 00:28
-
i am just running the script using spyder 3.8, i suspect this is the problem – alex May 11 '21 at 00:29
1 Answers
1
Check you writed everythong right;
pip: pip install BaselineRemoval
python: from BaselineRemoval import BaselineRemoval
Here is the documentation for more questions you may have.

Sagitario
- 102
- 8
-
-
``` pip install BaselineRemoval ``` and ```from BaselineRemoval import BaselineRemoval``` – alex May 11 '21 at 00:20
-
-
-
try ```pip list``` and search for the package, if it isnt there paste the messages printed while installing. If it says every where requirement already satisfied use ```pip uninstall BaselineRemoval``` and try installation again. – Sagitario May 11 '21 at 00:30
-
Let us [continue this discussion in chat](https://chat.stackoverflow.com/rooms/232194/discussion-between-sagitario-and-alex). – Sagitario May 11 '21 at 00:32