Hi hopeing someone out there knows how to fix this issue.

I have not been able to succesfully run Lean locally using python.
When I run the solution i get this error

Engine.Run(): QuantConnect.Lean.Engine.Setup.AlgorithmSetupException: During the algorithm initialization, the following exception has occurred: Loader.TryCreatePythonAlgorithm(): Unable to import python module ../../../Algorithm.Python/BasicTemplateFrameworkAlgorithm.py. AlgorithmPythonWrapper(): The dynamic-link library for python3.6m could not be found. Please visit https://github.com/QuantConnect/Lean/blob/master/Algorithm.Python/readme.md for instructions on how to enable python support in Unix python3.6m
at QuantConnect.Lean.Engine.Setup.ConsoleSetupHandler.CreateAlgorithmInstance (QuantConnect.Packets.AlgorithmNodePacket algorithmNodePacket, System.String assemblyPath) [0x00060] in /Users/shaun.scawboard/gitprojects/Lean/Engine/Setup/ConsoleSetupHandler.cs:92
at QuantConnect.Lean.Engine.Engine.Run (QuantConnect.Packets.AlgorithmNodePacket job, QuantConnect.Lean.Engine.AlgorithmManager manager, System.String assemblyPath) [0x000d7] in /Users/shaun.scawboard/gitprojects/Lean/Engine/Engine.cs:114

 

Currently running:

Anaconda 3 Python 3.6.4
macOS 10.12.6

Any help would be greatly appreciated.

Thanks

Author