The requested API version [20] is not available, only API versions [1, 17] #23511
              
                Unanswered
              
          
                  
                    
                      acastroceit
                    
                  
                
                  asked this question in
                API Q&A
              
            Replies: 3 comments
-
| 
         Hi, i have the same problem with version [21].  | 
  
Beta Was this translation helpful? Give feedback.
                  
                    0 replies
                  
                
            -
| 
         no, sorry  | 
  
Beta Was this translation helpful? Give feedback.
                  
                    0 replies
                  
                
            -
| 
         That sounds like it's finding the version in C:\Windows\System32\onnxruntime.dll which will be older. This is usually because the new one is not next to your executable or in the PATH before it. How are you loading it?  | 
  
Beta Was this translation helpful? Give feedback.
                  
                    0 replies
                  
                
            
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I'm trying to use the last version in c++ (downloaded onnxruntime-win-x64-1.20.1)
But I'm having this error at runtime
The requested API version [20] is not available, only API versions [1, 17]
Do you know why? I don't have anythin of another version. I'm running it wint Visual Studio 2022 and I added to the proyect the include files and the lib file.
Thanks
Alain
Beta Was this translation helpful? Give feedback.
All reactions