TreborNamor / TradingView-Machine-Learning-GUI

Embark on a trading journey with this project's cutting-edge stop loss/take profit generator, fine-tuning your TradingView strategy to perfection. Harness the power of sklearn's machine learning algorithms to unlock unparalleled strategy optimization and unleash your trading potential.
https://www.robertsportfolio.dev/
MIT License
756 stars 227 forks source link

ModuleNotFoundError: No module named 'functions' #16

Closed Data64X closed 3 years ago

Data64X commented 3 years ago

Hi TreborNamor,

Same as issue 13 but do not see the fix? I pulled the ZIP down today.

Is this an environment config issue?

Cheers Data64X

Traceback (most recent call last): File "C:/Users/ blah blah /TradingView_Machine_Learning-master/scripts/takeprofit_liner.py", line 4, in import click.py File "C:\Users\ blah blah \TradingView_Machine_Learning-master\scripts\click.py", line 8, in from functions.webdriver import driver ModuleNotFoundError: No module named 'functions'

TreborNamor commented 3 years ago

From the file you trying to open it looks like you might have the old version of my script. I updated a new script today. To get it working, you can download the zip file on GitHub and extract to your Desktop or directly on your C drive. In Pycharm, you can open project and pip install the requirements to run script. Hope this helps

On Fri, Aug 20, 2021, 1:09 AM Data64X @.***> wrote:

Hi TreborNamor,

Is this an environment config issue?

Cheers Data64X

Traceback (most recent call last): File "C:/Users/ blah blah /TradingView_Machine_Learning-master/scripts/takeprofit_liner.py", line 4, in import click.py File "C:\Users\ blah blah \TradingView_Machine_Learning-master\scripts\click.py", line 8, in from functions.webdriver import driver ModuleNotFoundError: No module named 'functions'

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/TreborNamor/TradingView_Machine_Learning/issues/16, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOHWMRKJ6I6TJOKHRQUOFRTT5XWRXANCNFSM5CPUW4CA .

Data64X commented 3 years ago

Upgrading to the latest version of Pycharm solved the above but introduced an error with Powershell when running any of the three scripts. Have up graded Firefox to the latest, slim information out there on the following have you seen this with your code? ====== WebDriver manager ====== 'Powershell' is not recognized as an internal or external command, operable program or batch file.

TreborNamor commented 3 years ago

I haven't experienced this powershell error before but It sounds like you are missing an environment variable. Try checking out this forum on StackOverFlow.

https://stackoverflow.com/questions/29778121/powershell-is-not-recognized-as-an-internal-or-external-command-operable-progr/29778651#29778651

Data64X commented 3 years ago

Path was the problem working well thank you. Are you active on your telegram channel? , will send a bit of BTC.

TreborNamor commented 3 years ago

Thank You, I'm am often active on Telegram. I actually have a AI bot that a lot of people love to trade if you'd like to join. As well, my here is my BTC address. Thank you very much for the donations. This really does help me focus on updating these projects. Glad they are useful to you.

BTC address: 3EAjyQpGZ6YDeYayLyeVcKVnkj8pit4rTF Telegram Group: https://t.me/joinchat/BPVwDm2L-QQ0OTI5