from: cant read /varmail/ctypes when called

心已入冬 提交于 2021-02-11 15:44:28

问题


I am trying to implement some object detection in a project of mine using darknet.py.

from my terminal I am able to run python3 darknet.py and get my results all fine. But when I have tried to include it in my own program I am getting several errors;

from: cant read /var/mail/ctypes import im6.q16: not authorized math @error/constitute.c/writeimage/1037

I am not sure how to proceed. I have made sure darknet.py starts with

#!/usr/bin/ env python3

as does my program, i am trying to run it with python3 test.py

I am trying to call it with os.systems('/home/bob/DarknetAB/darknet/darknet.py')

The rest of my program runs fine it is just trying to get darknet.py i am struggling with. I assume the problem is how I am calling it. But I am new to all things coding so any advice appreciated!

来源:https://stackoverflow.com/questions/61503931/from-cant-read-varmail-ctypes-when-called

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!