qtpylib icon indicating copy to clipboard operation
qtpylib copied to clipboard

[BUG] ModuleNotFoundError: No module named 'bs4'

Open ddon opened this issue 5 years ago • 5 comments

Describe the bug Command 'pip install qtpylib --upgrade --no-cache-dir' doesn't install bs4 library

To Reproduce Steps to reproduce the behavior:

  1. on clean machine type 'pip install qtpylib --upgrade --no-cache-dir
  2. create blotter.py file
  3. run blotter.py file and you will get an error that bs4 library is missing

Screenshots image

Desktop (please complete the following information):

  • OS: Windows
  • Version 10 Pro

ddon avatar Sep 11 '19 17:09 ddon

Manually install bs4, then run the installation cmd line once more. It should use the cached contents. If you have multiple versions of python, make sure you're using the pip in Py3.7.

sh4y avatar Sep 17 '19 08:09 sh4y

sure, I installed bs4 manually, but I reported the problem that running command 'pip install qtpylib --upgrade --no-cache-dir' doesn't install bs4 library. I does install the rest of dependencies, but for some reason doesn't install bs4.

ddon avatar Sep 17 '19 09:09 ddon

What the heck 'bs4' is?

hroff-1902 avatar Sep 17 '19 12:09 hroff-1902

What the heck 'bs4' is?

bs4 is the import lib of Beautiful Soup

sh4y avatar Sep 17 '19 12:09 sh4y

@ddon Sorry, I misunderstood what you meant. Simple fix I think - we just need to add bs4 to the setup requirements.

sh4y avatar Sep 18 '19 09:09 sh4y