Open anakein opened 2 years ago
i tried manually install, and now i think is installed.
if i try launch MGM say this:
tbot@tbot-desktop:~/Freqtrade-MGM$ mgm-hurry up
Traceback (most recent call last):
File "/home/tbot/Freqtrade-MGM/monigomani/./mgm-hurry", line 27, in <module>
import fire
ModuleNotFoundError: No module named 'fire'
Should be fixed in commit: https://github.com/Rikj000/MoniGoMani/commit/a8067975e9146e70c831f237ed21f019e22110be
Hi all,
Having same issue here, just after fresh install of development branch:
/home/jma/.local/share/virtualenvs/Freqtrade-MGM-H8JUSc0h/bin/python3:
can't open file '/home/jma/Descargas/Freqtrade-MGM/./mgm-hurry': [Errno 2] No such file or directory
Any workaround to test?
Thanks
Hi all,
Having same issue here, just after fresh install of development branch:
/home/jma/.local/share/virtualenvs/Freqtrade-MGM-H8JUSc0h/bin/python3: can't open file '/home/jma/Descargas/Freqtrade-MGM/./mgm-hurry': [Errno 2] No such file or directory
Any workaround to test?
Thanks
The issue was already resolved on my end. So please post your full installation log so we can dig deeper.
So please post your full installation log so we can dig deeper
No probs, but taking a look on install folder and virtualenvs canΒ΄t seem to find the installation log. Which one is the default path for it?
Thanks
Hi, coming back to this, could it be just a path issue? It is trying to locate mgm-hurry in /Freqtrade-MGM/./mgm-hurry while it is located in /Freqtrade-MGM/monigomani/mgm-hurry?
Just tried it in Manjaro fresh install (last time was in Debian) and got same issue.
No probs, but taking a look on install folder and virtualenvs canΒ΄t seem to find the installation log. Which one is the default path for it?
Not completely sure if the installation process is logged, but if it is, it will be under Freqtrade-MGM/user_data/logs/
Hi, coming back to this, could it be just a path issue? It is trying to locate mgm-hurry in /Freqtrade-MGM/./mgm-hurry while it is located in /Freqtrade-MGM/monigomani/mgm-hurry?
That path should be correct:
Freqtrade-MGM/monigomani/mgm-hurry
: is only directly used by the installer.sh
here, to call mgm-hurry up
.Freqtrade-MGM/mgm-hurry
will be created here.Freqtrade-MGM/mgm-hurry
should be the default to use after above installation has been completed.Just tried it in Manjaro fresh install (last time was in Debian) and got same issue.
Hmmm, that's odd since I mainly develop MGM on Manjaro, however I do mostly use fish
instead of bash
in my CLI.
When using the installer.sh
I tend to stick to bash
though.
I suspect you're having issues with your mgm-hurry
shell alias,
which the installer.sh
should have asked to set up for you here
bash
?installer.sh
to setup the mgm-hurry
shell alias?mgm-hurry
shell alias (before and after altering),bash
this will be located in ~/.bashrc
.Hi Rikj000,
Not completely sure if the installation process is logged, but if it is, it will be under Freqtrade-MGM/user_data/logs/
In there there is just an empty file called "freqtrade.log", couldn't find any other around.
then during the MGM installation, a symlink to Freqtrade-MGM/mgm-hurry will be created [here].
Checked that and realised it mustn't be the issue here.
You can read more about the shell alias in the docs [here]
I did so as I'm making sure to understand the docs before going further but no luck :(
Which CLI you use, I suspect bash?
Yep, as default in Manjaro 21.3.3.220712 XFCE.
If you used the installer.sh to setup the mgm-hurry shell alias?
I did, checking .bashrc
I see the alias added at bottom:
MGM-Hurry shell alias
mgm-hurry() { pushd /home/jma/Documents/Freqtrade-MGM &> /dev/null; python3 -m pipenv run python3 ./mgm-hurry '$@'; popd &> /dev/null; }
Tried as well to run it from installation folder with python3 -m pipenv run python3 ./mgm-hurry with no luck, that's why I thought alias issue was not related?
What I will do if you let me is to run the installer again over a fresh install and post here every I/O from terminal with the steps I follow (install requirements, run installer).
This is anyway my full .bashrc
file content:
I did, checking
.bashrc
I see the alias added at bottom:MGM-Hurry shell alias mgm-hurry() { pushd /home/jma/Documents/Freqtrade-MGM &> /dev/null; python3 -m pipenv run python3 ./mgm-hurry '$@'; popd &> /dev/null; }
It appears like this "bugfix" commit: https://github.com/Rikj000/MoniGoMani/commit/ce7c127b224dd8ae2f98edaf37dca51889ce0eb0 Broke the shell alias on Manjaro (and likely Arch) systems :thinking:
I suspect changing the '$@'
part to "$@"
will resolve your issue,
I checked and I also still use double quotes in my own ~/.bashrc
However it still leaves us unsure why Manjaro is acting difficult,
while other OSes like Ubuntu needed that change to work correctly..
Either way @Jmorzaez, thank you for your thorough reply!
I'll leave this issue open for now so people can work around it manually untill I or another dev find the time to patch the installer.sh
's shell alias creation to support multiple Distro's.
(Or at least make it differentiate between Arch/Manjaro and Debian/Ubuntu)
installer.sh
detect the current OS when setting up the mgm-hurry
shell-alias in ~/.bashrc
"$@"
:
mgm-hurry() { pushd /path/to/Freqtrade-MGM &> /dev/null; python3 -m pipenv run python3 ./mgm-hurry "$@"; popd &> /dev/null; }
'$@'
:
mgm-hurry() { pushd /path/to/Freqtrade-MGM &> /dev/null; python3 -m pipenv run python3 ./mgm-hurry '$@'; popd &> /dev/null; }
Hi Rik, It's good to see you got to the point. I'm posting here as not the same issue but install issue. It seems to be related with the freqtrade-side installation?
WARNING - FreqtradeCli - installation_exists() failed. Freqtrade binary not found in /home/jma/Documents/Freqtrade-MGM/.env/bin/freqtrade.
ERROR - π€· Whaaaa.. No Freqtrade installation found. Beats me...
As well the TA-lib is not being installed correctly:
Γ Running setup.py install for TA-Lib did not run successfully.
I post the full process below:
Thank you for your full log report @Jmorzaez! :mechanical_arm: I think I've spotted the issue in below snippet of your log report:
INFO - π¨ π¨ π¨ π Install Freqtrade π¨ π¨ π¨ π Clone Freqtrade repository and resetting to commit 4179a1a7971f9547fad16dd8ec6e252489a3e62d β π Copy Freqtrade installation π Run Freqtrade setup INFO - π MGM-Hurry will now run the following command for you: export VIRTUAL_ENV_BAK=$VIRTUAL_ENV; unset VIRTUAL_ENV; expect /home/jma/Documents/Freqtrade-MGM/setup.exp; export VIRTUAL_ENV=$VIRTUAL_ENV_BAK; unset VIRTUAL_ENV_BAK; spawn ./setup.sh --install /home/jma/.local/share/virtualenvs/Freqtrade-MGM-NojPaa9S/bin/python3.9 using python3.9 ---------------------------- Installing mandatory dependencies ---------------------------- This script does not support your OS. If you have Python version 3.7 - 3.9, pip, virtualenv, ta-lib you can continue.
Python version 3.7 - 3.9, pip, virtualenv, ta-lib
dependencies will have to be installed manually for the installation to proceed correctlybuild_helpers/install_ta-lib.sh
script to install TA-Libmgm-hurry install_freqtrade
(or through a full clean installation, but I don't think that will be required)Re-add the TA-Lib dependency check to MGM's installer.sh
,
however, only for OSes which are not supported by Freqtrade's setup.sh
Hi Rik, I've installed TA-Lib manually and it worked like a charm. I did not relate it with the freqtrade install issue... :expressionless:
Curiously I had to remove the venv and run a fresh install because mgm-hurry install_freqtrade
didn't work and did not return any output again. I would not consider it a problem either. All looks good now :call_me_hand:
Thank you for your detailed explanations and responses.
Let's tinker a bit... :joy:
All looks good now π€
Thank you for your detailed explanations and responses.
Let's tinker a bit... π
@Jmorzaez you're welcome, have fun with the MGM framework!
Also feel free to join the MGM Matrix Community or Discord Server (both are bridged with each-other),
for further discussion around MGM/Freqtrade/TA/crypto related things π
i try install in ubuntu 20.10 into raspberry. all dependencies is working, i have not error installing but i try exec.....
ToDo + Workarounds: