Ask Your Question

not authorized `cv' @ error/constitute.c/WriteImage/1028.

asked 2019-01-24 21:28:07 -0500

pedro_bb7 gravatar image

I was following this tutorial which recommends to install a virtual environment. Installation didn't go well.

Then I followed the tutorial from the opencv website which installed correctly (I think, no error reports).

However, when I run:

import cv2 as cv

I get the following error:

import: not authorized `cv' @ error/constitute.c/WriteImage/1028.

I think it happens because of the old bad installation which installed a virtual environment.

I am having trouble solving this problem. Tried already to delete using apt-get remove/purge

But this error keeps appearing. Anybody got any simillar error? How did you solve? Thanks

edit retag flag offensive close merge delete


How did you solve it? I've met the same problem..

cathy_6666_66 gravatar imagecathy_6666_66 ( 2019-03-11 05:04:30 -0500 )edit

2 answers

Sort by ยป oldest newest most voted

answered 2019-07-02 10:26:16 -0500

I have struggled for two days with this problem....Solution turned out to be very simple...import command works in python...So type python in ur environment and the use import command...It surely works...All the best...

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2019-01-24 21:28:07 -0500

Seen: 5,705 times

Last updated: Jan 24 '19