facioquo / stock-indicators-python-quickstart

QuickStart tutorial for getting started with Stock Indicators for Python. This is for developers who may be new to Python or who need clarification about setting up prerequisites.
https://python.stockindicators.dev
Apache License 2.0
1 stars 1 forks source link

This work great, but I changed .net version and python virtual environment several times and still can't get it to work #9

Open xiaqiongchao opened 2 weeks ago

xiaqiongchao commented 2 weeks ago

RuntimeError: Could not find a suitable hostfxr library in C:\Program Files (x86)\dotnet RuntimeError: Failed to create a .NET runtime (coreclr) using theparameters {}. ImportError: Stock Indicators for Python has a dependency on CLR. Install .NET SDK 6.0 (or newer) in your environment to add the required CLR capability.

DaveSkender commented 2 weeks ago

Install .NET SDK 6.0 (or newer) in your environment to add the required CLR capability.

Make sure you're installing the .NET SDK (not the .NET runtime). Install v8 if you see something older when you execute dotnet --version in your console.

DaveSkender commented 2 weeks ago

Let me know if you’re still having problems. Its hard for me to remotely troubleshoot without knowing more about the situation.