-
Notifications
You must be signed in to change notification settings - Fork 42
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
Install error 'The version specified ('egg_info') is an invalid version' #197
Comments
Hi, thank you for being our user and detail report. Based on my experience, it was not easy to troubleshoot when installing pythonnet. There are two solutions for you:
|
Thanks for your answer!
The build is completed now and i can run the freqtrade instance. Unfortunately the stock-indicator imports are throwing an error. Do i need to install anything else?
|
Looks like the error is from pythonnet and it's telling you don't have Mono runtime on your system. To use pythonnet in Unix-based system, you must have Mono runtime installed.
(They have been trying to avoid Mono dependency. AFAIK, it is already available in their dev branch, but I'm not sure it will be compatible with stock-indicators.) |
Thanks for yor links, managed to get it installed from the mono-project page instructions.
The variable If this is getting to complicated now, i'd be fine if we close the issue. Was interested in some of your indicators but then i need to try to write them by myself or find a different library. |
Yeah, it's about the parameter. You are passing from stock_indicators.indicators.common.quote import Quote
quotes = [ Quote(date, o, h, l, c, v) for date, o, h, l, c, v in your_feed ] Also, we already have well-organized documentation, please refer to: |
Thank you for the good first issue. If you have further questions, always welcome :) |
The problem
Hi, first of all thanks for the great work! I am running Freqtrade via docker and wanted to import your indicators into my strategy. I am using a custom dockerfile to install
stock-indicators
. I couldnt install the version from PyPI (pip3 install stock-indicators
) because it's still usingpythonnet==2.5.2
which throws an error during install. Now i'm cloning the git repo and try to install it from the repo directly. I got a step further including the following lines in my custom dockerfile but unfortunately i still can't install stock-indicators.Dockerfile.custom:
Error message(s):
Versions:
python: 3.9.9
pip3: 22.0.4
setuptools: 61.2.0
Thanks for your help.
The text was updated successfully, but these errors were encountered: