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
Doker installation failed - numpy #345
Comments
I can reproduce this on macOS, it fails while building the wheel. The container should still work fine, because it falls back to source code if there is no prebuilt wheel available (please correct me if I'm wrong). Nevertheless this should be fixed EDIT: Thanks for reporting! |
While installing I have a similar error, but is terminal:
Sending build context to Docker daemon 39.09MB Failed building wheel for TA-Lib Failed cleaning build dir for TA-Lib
Command "/usr/local/bin/python -u -c "import setuptools, tokenize;file='/tmp/pip-build-8macd39q/TA-Lib/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /tmp/pip-cxfassbs-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-8macd39q/TA-Lib/ |
Technically, i think this is a pip bug more than it is a bug with freqtrade. pip install numpy
pip install -r requirements.txt or in case of docker
Doing this can cause numpy to be reinstalled if the version installed first does not match the one in the requirements.txt. I don't think this should be fixed in the context of the freqtrade bot. |
Feel free to re-open if the problem was not fixed 👍 |
Hello
I tried to install bot on mac os through Doker easy intallations steps
I get following error about numpy during running the command "docker build -t freqtrade . "
I tried to install Ta-lib manually and numpy throuht pip with success but it didn't solve the problem if i rerun the script.
Please tell me what I'm doing wrong
Mac OS high sierra
Running setup.py bdist_wheel for arrow: started
Running setup.py bdist_wheel for arrow: finished with status 'done'
Stored in directory: /root/.cache/pip/wheels/65/7a/c9/7b9696913a210637999c4631370a79a7e8d95ebe7404183d4a
Running setup.py bdist_wheel for wrapt: started
Running setup.py bdist_wheel for wrapt: finished with status 'done'
Stored in directory: /root/.cache/pip/wheels/56/e1/0f/f7ccf1ed8ceaabccc2a93ce0481f73e589814cbbc439291345
Running setup.py bdist_wheel for TA-Lib: started
Running setup.py bdist_wheel for TA-Lib: finished with status 'error'
Complete output from command /usr/local/bin/python -u -c "import setuptools, tokenize;file='/tmp/pip-build-_itl3v49/TA-Lib/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" bdist_wheel -d /tmp/tmpjiwcjzs4pip-wheel- --python-tag cp36:
Traceback (most recent call last):
ModuleNotFoundError: No module named 'numpy'
Running setup.py clean for TA-Lib
Failed building wheel for TA-Lib
Complete output from command /usr/local/bin/python -u -c "import setuptools, tokenize;file='/tmp/pip-build-_itl3v49/TA-Lib/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" clean --all:
Traceback (most recent call last):
ModuleNotFoundError: No module named 'numpy'
Failed cleaning build dir for TA-Lib``
The text was updated successfully, but these errors were encountered: