How to fix ''Alpr' object has no attribute 'loaded'' error in Python 3.xHow can I represent an 'Enum' in Python?How do I use raw_input in Python 3How to install pip with Python 3?How to bind openalpr with python on a mac?How do I download pip for python?Custom exceptions in unittestsHow to find broken links in Selenium + PythonPandas module not found after reinstalling PythonMacOS High OSierra 10.13.6, Python3.7, GeocoderServiceError: [SSL: CERTIFICATE_VERIFY_FAILED]Using Geopandas and the county-choropleth module

Medieval flying castle propulsion

Someone whose aspirations exceed abilities or means

How do governments keep track of their issued currency?

You have (3^2 + 2^3 + 2^2) Guesses Left. Figure out the Last one

How does an ordinary object become radioactive?

With Ubuntu 18.04, how can I have a hot corner that locks the computer?

What makes Ada the language of choice for the ISS's safety-critical systems?

Meaning of 'lose their grip on the groins of their followers'

Arriving at the same result with the opposite hypotheses

Thread Pool C++ Implementation

Implement Own Vector Class in C++

Does a scale have more than seven chords?

How to hide an urban landmark?

How is water heavier than petrol, even though its molecular weight is less than petrol?

Is it a problem if <h4>, <h5> and <h6> are smaller than regular text?

Has there been a multiethnic Star Trek character?

Why we don’t make use of the t-distribution for constructing a confidence interval for a proportion?

Why do some employees fill out a W-4 and some don't?

Rebus with 20 song titles

Why can my keyboard only digest 6 keypresses at a time?

Is it possible to have the age of the universe be unknown?

Certain search in list

English word for "product of tinkering"

How can this tool find out registered domains from an IP?



How to fix ''Alpr' object has no attribute 'loaded'' error in Python 3.x


How can I represent an 'Enum' in Python?How do I use raw_input in Python 3How to install pip with Python 3?How to bind openalpr with python on a mac?How do I download pip for python?Custom exceptions in unittestsHow to find broken links in Selenium + PythonPandas module not found after reinstalling PythonMacOS High OSierra 10.13.6, Python3.7, GeocoderServiceError: [SSL: CERTIFICATE_VERIFY_FAILED]Using Geopandas and the county-choropleth module






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;








1















i'm setting up a recognize of plate with python but i can't use the library 'OpenALPR' because send me a error



OpenalPR Load Error



try:



 if platform.system().lower().find("windows") != -1:
self._openalprpy_lib = ctypes.cdll.LoadLibrary("libopenalprpy.dll")
elif platform.system().lower().find("darwin") != -1:
self._openalprpy_lib = ctypes.cdll.LoadLibrary("libopenalprpy.dylib")
else:
self._openalprpy_lib = ctypes.cdll.LoadLibrary("libopenalprpy.so")
except OSError as e:
nex = OSError("Unable to locate the OpenALPR library. Please make sure that OpenALPR is properly "
"installed on your system and that the libraries are in the appropriate paths.")
if _PYTHON_3:
nex.__cause__ = e;
raise nex
finally:
mutex.release()









share|improve this question




























    1















    i'm setting up a recognize of plate with python but i can't use the library 'OpenALPR' because send me a error



    OpenalPR Load Error



    try:



     if platform.system().lower().find("windows") != -1:
    self._openalprpy_lib = ctypes.cdll.LoadLibrary("libopenalprpy.dll")
    elif platform.system().lower().find("darwin") != -1:
    self._openalprpy_lib = ctypes.cdll.LoadLibrary("libopenalprpy.dylib")
    else:
    self._openalprpy_lib = ctypes.cdll.LoadLibrary("libopenalprpy.so")
    except OSError as e:
    nex = OSError("Unable to locate the OpenALPR library. Please make sure that OpenALPR is properly "
    "installed on your system and that the libraries are in the appropriate paths.")
    if _PYTHON_3:
    nex.__cause__ = e;
    raise nex
    finally:
    mutex.release()









    share|improve this question
























      1












      1








      1








      i'm setting up a recognize of plate with python but i can't use the library 'OpenALPR' because send me a error



      OpenalPR Load Error



      try:



       if platform.system().lower().find("windows") != -1:
      self._openalprpy_lib = ctypes.cdll.LoadLibrary("libopenalprpy.dll")
      elif platform.system().lower().find("darwin") != -1:
      self._openalprpy_lib = ctypes.cdll.LoadLibrary("libopenalprpy.dylib")
      else:
      self._openalprpy_lib = ctypes.cdll.LoadLibrary("libopenalprpy.so")
      except OSError as e:
      nex = OSError("Unable to locate the OpenALPR library. Please make sure that OpenALPR is properly "
      "installed on your system and that the libraries are in the appropriate paths.")
      if _PYTHON_3:
      nex.__cause__ = e;
      raise nex
      finally:
      mutex.release()









      share|improve this question














      i'm setting up a recognize of plate with python but i can't use the library 'OpenALPR' because send me a error



      OpenalPR Load Error



      try:



       if platform.system().lower().find("windows") != -1:
      self._openalprpy_lib = ctypes.cdll.LoadLibrary("libopenalprpy.dll")
      elif platform.system().lower().find("darwin") != -1:
      self._openalprpy_lib = ctypes.cdll.LoadLibrary("libopenalprpy.dylib")
      else:
      self._openalprpy_lib = ctypes.cdll.LoadLibrary("libopenalprpy.so")
      except OSError as e:
      nex = OSError("Unable to locate the OpenALPR library. Please make sure that OpenALPR is properly "
      "installed on your system and that the libraries are in the appropriate paths.")
      if _PYTHON_3:
      nex.__cause__ = e;
      raise nex
      finally:
      mutex.release()






      python-3.x openalpr






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Mar 24 at 18:07









      Marcelo NicolasMarcelo Nicolas

      83




      83






















          1 Answer
          1






          active

          oldest

          votes


















          0














          Try giving full path of the libopenalprpy.so library file. This issue seems like the python wrapper is not compiled and installed for python3.



          Install python3-dev package, and then compile and install openalpr.



          For uinstalling the locally compiled version you can use the following command



          cd build
          sudo make uninstall





          share|improve this answer























            Your Answer






            StackExchange.ifUsing("editor", function ()
            StackExchange.using("externalEditor", function ()
            StackExchange.using("snippets", function ()
            StackExchange.snippets.init();
            );
            );
            , "code-snippets");

            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "1"
            ;
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function()
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled)
            StackExchange.using("snippets", function()
            createEditor();
            );

            else
            createEditor();

            );

            function createEditor()
            StackExchange.prepareEditor(
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader:
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            ,
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );













            draft saved

            draft discarded


















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55326888%2fhow-to-fix-alpr-object-has-no-attribute-loaded-error-in-python-3-x%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0














            Try giving full path of the libopenalprpy.so library file. This issue seems like the python wrapper is not compiled and installed for python3.



            Install python3-dev package, and then compile and install openalpr.



            For uinstalling the locally compiled version you can use the following command



            cd build
            sudo make uninstall





            share|improve this answer



























              0














              Try giving full path of the libopenalprpy.so library file. This issue seems like the python wrapper is not compiled and installed for python3.



              Install python3-dev package, and then compile and install openalpr.



              For uinstalling the locally compiled version you can use the following command



              cd build
              sudo make uninstall





              share|improve this answer

























                0












                0








                0







                Try giving full path of the libopenalprpy.so library file. This issue seems like the python wrapper is not compiled and installed for python3.



                Install python3-dev package, and then compile and install openalpr.



                For uinstalling the locally compiled version you can use the following command



                cd build
                sudo make uninstall





                share|improve this answer













                Try giving full path of the libopenalprpy.so library file. This issue seems like the python wrapper is not compiled and installed for python3.



                Install python3-dev package, and then compile and install openalpr.



                For uinstalling the locally compiled version you can use the following command



                cd build
                sudo make uninstall






                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Apr 25 at 19:08









                Dhanish_ElementzDhanish_Elementz

                9317




                9317





























                    draft saved

                    draft discarded
















































                    Thanks for contributing an answer to Stack Overflow!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid


                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.

                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55326888%2fhow-to-fix-alpr-object-has-no-attribute-loaded-error-in-python-3-x%23new-answer', 'question_page');

                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

                    Swift 4 - func physicsWorld not invoked on collision? The Next CEO of Stack OverflowHow to call Objective-C code from Swift#ifdef replacement in the Swift language@selector() in Swift?#pragma mark in Swift?Swift for loop: for index, element in array?dispatch_after - GCD in Swift?Swift Beta performance: sorting arraysSplit a String into an array in Swift?The use of Swift 3 @objc inference in Swift 4 mode is deprecated?How to optimize UITableViewCell, because my UITableView lags

                    Access current req object everywhere in Node.js ExpressWhy are global variables considered bad practice? (node.js)Using req & res across functionsHow do I get the path to the current script with Node.js?What is Node.js' Connect, Express and “middleware”?Node.js w/ express error handling in callbackHow to access the GET parameters after “?” in Express?Modify Node.js req object parametersAccess “app” variable inside of ExpressJS/ConnectJS middleware?Node.js Express app - request objectAngular Http Module considered middleware?Session variables in ExpressJSAdd properties to the req object in expressjs with Typescript