I am also facing a lot of problems with Python and running the aspire projects under Apple Silicon. I did a few changes to be able to run the the project like
<Exec Command="pwsh -NoProfile -NoLogo -NonInteractive -ExecutionPolicy Unrestricted -Command '$(ProjectDir)bin/Debug/net8.0/playwright.ps1 install chromium --with-deps'"
Condition="'$(OS)' == 'Unix'" />
in E2ETest.csproj
and
<Import Project="$(MSBuildExtensionsPath32)/Microsoft/VisualStudio/v$(VisualStudioVersion)/Python Tools/Microsoft.PythonTools.targets"
Condition="Exists('$(MSBuildExtensionsPath32)/Microsoft/VisualStudio/v$(VisualStudioVersion)/Python Tools/Microsoft.PythonTools.targets')" />
in src/PythonInference/PythonInference.pyproj
and under
this two libraries can't be installed with Apple silicon
intel-openmp==2021.4.0
mkl==2021.4.0
I am also facing a lot of problems with Python and running the aspire projects under Apple Silicon. I did a few changes to be able to run the the project like <Exec Command="pwsh -NoProfile -NoLogo -NonInteractive -ExecutionPolicy Unrestricted -Command '$(ProjectDir)bin/Debug/net8.0/playwright.ps1 install chromium --with-deps'" Condition="'$(OS)' == 'Unix'" /> in E2ETest.csproj and <Import Project="$(MSBuildExtensionsPath32)/Microsoft/VisualStudio/v$(VisualStudioVersion)/Python Tools/Microsoft.PythonTools.targets" Condition="Exists('$(MSBuildExtensionsPath32)/Microsoft/VisualStudio/v$(VisualStudioVersion)/Python Tools/Microsoft.PythonTools.targets')" /> in src/PythonInference/PythonInference.pyproj
and under this two libraries can't be installed with Apple silicon intel-openmp==2021.4.0 mkl==2021.4.0