Closed harishiyer2020 closed 5 months ago
Hi @harishiyer2020,
A similar issue has come up elsewhere recently: https://github.com/mhallsmoore/qstrader/issues/344
The logs above seem to suggest that the png
library is unable to be found and this is causing the failure.
While I have not tested this potential fix, it may be due to using matplotlib==3.0.3
, which is the version I've listed in requirements.txt
. If you install the latest version of matplotlib (e.g. run pip install matplotlib==3.3.3
) prior to running pip install qstrader
, this may fix the issue.
Kind regards,
Mike.
Hi @harishiyer2020 I meet the same issue when installing. Running 'conda install python=3.7' in the terminal window solves my problem. It is due to python 3.8 is not compatible with matplotlib 3.0.3. It seems version 3.7 or earlier has no problem to install matplotlib 3.0.3 which is required by qstrader. Best regards, Weifeng
Hi Thanks for your answer shanghai2021.
best wishes
Junhua Fan
Many thanks for your email. This was very helpful. Wish you a happy new year! Best Harish
On Wed, 13 Jan 2021 at 08:54, shang2021 @.***> wrote:
Hi @harishiyer2020 https://github.com/harishiyer2020 I meet the same issue when installing. Running 'conda install python=3.7' in the terminal window solves my problem. It is due to python 3.8 is not compatible with matplotlib 3.0.3. It seems version 3.7 or earlier has no problem to install matplotlib 3.0.3 which is required by qstrader. Best regards, Weifeng
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/mhallsmoore/qstrader/issues/345#issuecomment-759179537, or unsubscribe https://github.com/notifications/unsubscribe-auth/AR7RHV2KXHWIUBFRFZ2RLQ3SZUG7XANCNFSM4UMEITDA .
Hi I am using the latest version of Anaconda (2020/11) on Windows 10. I am unable to install qstrader. Have tried everything. Please help. Thank you! FYI I am getting the following error:
ERROR: Command errored out with exit status 1: 'C:\Users\hari\anaconda3\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\hari\\AppData\\Local\\Temp\\pip-install-z2kx9ptz\\matplotlib\\setup.py'"'"'; __file__='"'"'C:\\Users\\hari\\AppData\\Local\\Temp\\pip-install-z2kx9ptz\\matplotlib\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\hari\AppData\Local\Temp\pip-record-swqqseu4\install-record.txt' --single-version-externally-managed --user --prefix= --compile --install-headers 'C:\Users\hari\AppData\Roaming\Python\Python38\Include\matplotlib' Check the logs for full command output.