-
-
Notifications
You must be signed in to change notification settings - Fork 217
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
can't find '__main__' ??? #6
Comments
ModuleNotFoundError: No module named 'functions'
When you are running script in the terminal you might be running
script in the wrong folder. Python is having trouble finding your
functions.py file
…On Mon, Apr 5, 2021, 2:21 AM Michael Hintz ***@***.***> wrote:
Hi
first thank for the great work!!!
I get this in pycharm:
/home/mhi/anaconda3/envs/TradingView_Machine_Learning/bin/python: can't find '__main__' module in '/home/mhi/PycharmProjects/TradingView_Machine_Learning'
Process finished with exit code 1
in the linux terminal and conda enviroment:
(TradingView_Machine_Learning) ***@***.***:~/PycharmProjects/TradingView_Machine_Learning$ python3 scripts/stoploss_linear.py
Traceback (most recent call last):
File "scripts/stoploss_linear.py", line 3, in <module>
from functions import click, webdriver, show_me, get, find
ModuleNotFoundError: No module named 'functions'
and that at the normal linux terminal:
***@***.***:~/PycharmProjects/TradingView_Machine_Learning$ python3 scripts/stoploss_linear.py
Traceback (most recent call last):
File "/home/mhi/PycharmProjects/TradingView_Machine_Learning/scripts/stoploss_linear.py", line 3, in <module>
from functions import click, webdriver, show_me, get, find
ModuleNotFoundError: No module named 'functions'
ok I'am new to pychame! I have to activate the conda enviroment manual in
the pychame terminal and the webdriver-manager package can'tbeinstalled via
conda only via pip.
but the results from the normal linux-system terminal also failed all
modulules are there install with pip in the os default interpreter path
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#6>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AOHWMRKY7KNONGCWCATT2ADTHFQGFANCNFSM42MLHSDA>
.
|
Is this a related issue? I have the following error: Process finished with exit code 1 During the weekend was able to run it successfully. |
ValueError: max() arg is an empty sequence. This error is because while script was running, it wasn't able to store any data values. So the best_key variable wasn't able to run .max() method. To fix this make sure your click.py file is the same as my new click.py file. |
Hi
first thank for the great work!!!
I get this in pycharm:
in the linux terminal and conda enviroment:
and that at the normal linux terminal:
ok I'am new to pychame! I have to activate the conda enviroment manual in the pychame terminal and the webdriver-manager package can'tbeinstalled via conda only via pip.
but the results from the normal linux-system terminal also failed all modulules are there install with pip in the os default interpreter path
The text was updated successfully, but these errors were encountered: