Open foxnight2 opened 1 year ago
I need more information for repro and more error information. I don't expect the following commands would work for arbitrary docker with arbitrary docker parameters.
cd /work
dotnet add package Microsoft.ML.OnnxRuntime
Where does cd /work
come from? I guess it's your local working folder. Please provide the whole command history including (1) how to create/launch a docker, (2) how OnnxRuntime and other packages are installed.
Here is the information
docker pull openvino/ubuntu22_runtime:latest
docker run --user root -it openvino/ubuntu22_runtime:latest
apt-get update
apt-get install wget
wget https://dot.net/v1/dotnet-install.sh -O dotnet-install.sh
chmod +x ./dotnet-install.sh
./dotnet-install.sh --channel 7.0
export DOTNET_ROOT=$HOME/.dotnet
export PATH=$PATH:$DOTNET_ROOT:$DOTNET_ROOT/tools
dotnet add package Microsoft.ML.OnnxRuntime
It show the log
root@d658eeca588d:/opt/intel/openvino_2023.0.2.11065# dotnet add package Microsoft.ML.OnnxRuntime
Welcome to .NET 7.0!
---------------------
SDK Version: 7.0.401
Telemetry
---------
The .NET tools collect usage data in order to help us improve your experience. It is collected by Microsoft and shared with the community. You can opt-out of telemetry by setting the DOTNET_CLI_TELEMETRY_OPTOUT environment variable to '1' or 'true' using your favorite shell.
Read more about .NET CLI Tools telemetry: https://aka.ms/dotnet-cli-telemetry
----------------
Installed an ASP.NET Core HTTPS development certificate.
To trust the certificate run 'dotnet dev-certs https --trust' (Windows and macOS only).
Learn about HTTPS: https://aka.ms/dotnet-https
----------------
Write your first app: https://aka.ms/dotnet-hello-world
Find out what's new: https://aka.ms/dotnet-whats-new
Explore documentation: https://aka.ms/dotnet-docs
Report issues and find source on GitHub: https://github.com/dotnet/core
Use 'dotnet --help' to see available commands or visit: https://aka.ms/dotnet-cli
--------------------------------------------------------------------------------------
Could not find any project in `/opt/intel/openvino_2023.0.2.11065/`.
This issue has been automatically marked as stale due to inactivity and will be closed in 7 days if no further activity occurs. If further support is needed, please provide an update and/or more details.
Describe the issue
Follow this to install dotnet and using it to install onnxruntime
https://learn.microsoft.com/en-us/dotnet/core/install/linux-scripted-manual#scripted-install
https://learn.microsoft.com/en-us/dotnet/core/install/linux-scripted-manual#set-environment-variables-system-wide
Urgency
No response
Target platform
docker
Build script
Error / output
Could not find any project in
/work/
.Visual Studio Version
No response
GCC / Compiler Version
No response