Jump to content
Sign in to follow this  
tomye

the lastest P4D can not load Python3.9

Recommended Posts

recently, i upgraded the lastest P4D and upgrade the Python from 3.8 to 3.9, after all, i found my program can not be run if i set the DLLPath to Python3.9

 

but if i run the Python source scripts directly , i does work very well

 

285047238_2022-10-16132154.thumb.png.e3d4646ab603468bb43f022fe38025cb.png

 

if i use P4D to run the scripts , got an error message

 

1972796877_.thumb.png.eb6e90efef7421c92ade3e0700affb7c.png

 

396010711_1.thumb.png.71160be33ad75c0e3632ea8bff3bc42d.png

 

but if i switch the Python environment to 3.8, verything does OK!

 

i used several libs

 

import cv2
import numpy as np
import onnxruntime as ort
from io import BytesIO

 

do i missed something? 

 

Tom

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×