question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

No module named 'candlestick.patterns'

See original GitHub issue

Hi!

Thank you for the good work on this package.

When I am trying to follow the example, it pops an error.

from candlestick import candlestick df = candlestick.inverted_hammer(df, target='result')

Can you please help me with this issue? Thank you.

(Python3.8 in Windows.)

Traceback (most recent call last): File "C:\My Documents\Scripts\WSS 20200323\G.py", line 8, in <module> df = candlestick.inverted_hammer(df, target='result') File "C:\Python38\lib\site-packages\candlestick\candlestick.py", line 138, in inverted_hammer cndl = __create_object('InvertedHammer', target) File "C:\Python38\lib\site-packages\candlestick\candlestick.py", line 35, in __create_object return __get_class_by_name(class_name)(target=target) File "C:\Python38\lib\site-packages\candlestick\candlestick.py", line 27, in __get_class_by_name module = __load_module(mod_name) File "C:\Python38\lib\site-packages\candlestick\candlestick.py", line 19, in __load_module raise e File "C:\Python38\lib\site-packages\candlestick\candlestick.py", line 16, in __load_module module = __import__(module_path, fromlist=[super_module], level=0) ModuleNotFoundError: No module named 'candlestick.patterns' [Finished in 1.8s]

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
P-Rainbowcommented, Jun 29, 2021

@subodh101 , superb! I’ve tried the update and it works! thank you! @dmtucker , thank you for the help too!

1reaction
dmtuckercommented, Jun 29, 2021

I have updated the url address. You can close this issue now.

Woohoo 🎉 Thanks for that… I don’t have any special perms here, so @P-Rainbow will have to close.

I am not sure if it is not a good idea to open source the code

Just be aware that uploading to PyPI makes the source code publicly available: https://pypi.org/project/candlestick-patterns-subodh101/#files

Read more comments on GitHub >

github_iconTop Results From Across the Web

importerror cannot import name candlestick - Stack Overflow
I have fixed this by changing the import like this. from matplotlib.finance import candlestick_ohlc as candlestick. No further changes are then ...
Read more >
candlestick-patterns-subodh101 - PyPI
A trading candlestick pattern package. ... ohlc (List) - Pass list of strings which indicates the column names of open/high/low/close prices in dataframe....
Read more >
Recognizing over 50 Candlestick Patterns with Python - Medium
An easy to follow guide for leveraging candlestick patterns for ML ... We will use python, TA-Lib module and the performance rankings from ......
Read more >
Plot Candlestick Chart using mplfinance module in Python
Candlestick charts can be created in python using a matplotlib module called mplfinance. Installation: pip install mplfinance. mplfinance.
Read more >
ModuleNotFoundError: No module named 'candle'
Hi, My Python program is throwing following error: ModuleNotFoundError: No module named 'candle' How to remove the ModuleNotFo.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found