I am having some trouble install lean locally and getting the following error:
creating build/temp.macosx-11.0-arm64-3.9/pandas/_libs
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /Users/chadbett/miniforge3/include -arch arm64 -fPIC -O2 -isystem /Users/chadbett/miniforge3/include -arch arm64 -DNPY_NO_DEPRECATED_API=0 -I./pandas/_libs -Ipandas/_libs/src/klib -I/private/var/folders/_y/wjgvt8611153b9c456wfmyr00000gn/T/pip-build-env-7m1_7in7/overlay/lib/python3.9/site-packages/numpy/core/include -I/Users/chadbett/miniforge3/include/python3.9 -c pandas/_libs/algos.c -o build/temp.macosx-11.0-arm64-3.9/pandas/_libs/algos.o -Wno-error=unreachable-code
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
error: command '/usr/bin/clang' failed with exit code 1
----------------------------------------
ERROR: Failed building wheel for pandas
Failed to build dependency-injector pandas
ERROR: Could not build wheels for pandas, which is required to install pyproject.toml-based projects
I went back through the tutorial and read through some of the common errors but haven't found any documentation on this.
Any help would be greatly appreciated,
Chad
Chad Bett
Update:
I have been able to get lean running locally and wanted to give an update in case anyone else runs into this this challenge in the future.
This may have been due to my Mac being based on Apple Silicon (M1) and went through installing Miniforge as the documentation outlined.
The solution that I found was installing the latest version of Anaconda with solved the challenge instead of using Miniforge.
Chad
Chad Bett
The material on this website is provided for informational purposes only and does not constitute an offer to sell, a solicitation to buy, or a recommendation or endorsement for any security or strategy, nor does it constitute an offer to provide investment advisory services by QuantConnect. In addition, the material offers no opinion with respect to the suitability of any security or specific investment. QuantConnect makes no guarantees as to the accuracy or completeness of the views expressed in the website. The views are subject to change, and may have become unreliable for various reasons, including changes in market conditions or economic circumstances. All investments involve risk, including loss of principal. You should consult with an investment professional before making any investment decisions.
To unlock posting to the community forums please complete at least 30% of Boot Camp.
You can continue your Boot Camp training progress from the terminal. We hope to see you in the community soon!