ranaroussi / qtpylib

QTPyLib, Pythonic Algorithmic Trading
http://qtpylib.io
Apache License 2.0
2.15k stars 512 forks source link

[BUG] ModuleNotFoundError: No module named 'bs4' #139

Open ddon opened 5 years ago

ddon commented 5 years ago

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):

sh4y commented 5 years ago

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.

ddon commented 5 years ago

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.

hroff-1902 commented 5 years ago

What the heck 'bs4' is?

sh4y commented 5 years ago

What the heck 'bs4' is?

bs4 is the import lib of Beautiful Soup

sh4y commented 5 years ago

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