Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No module named openalpr_api #7

Open
ajhawkins opened this issue Jun 21, 2017 · 7 comments
Open

No module named openalpr_api #7

ajhawkins opened this issue Jun 21, 2017 · 7 comments

Comments

@ajhawkins
Copy link

I'm experiencing an ImportError of No module named openalpr_api. I've ran the setup.py and installed the necessary commands explained in the README writeup. Got any advice for me?

@xronsx
Copy link

xronsx commented Jul 27, 2017

Hi,

Are you making the necesary imports?... import openalpr_api

@kajili
Copy link

kajili commented Feb 19, 2018

have you ever figured this out? I'm trying to use python to test the Cloud API and I'm getting the same error. @ajhawkins

@jaimecosme
Copy link

jaimecosme commented Feb 19, 2018

It seems the .git file refers to the whole project, so I think the best way to install it is using setuptools.
I was able to install it using the following:

mkdir test
cd test
wget https://github.com/openalpr/cloudapi/archive/master.zip
unzip master.zip
cd cloudapi-master/python
python setup.py install --user

If you are inside a virtualenv, you can remove the --user from the last command.

Try it out and see if it works for you.

@kajili
Copy link

kajili commented Feb 19, 2018

@jaimecosme thank you!! it worked. does this mean the openalpr_api module is now installed on my whole system? Or just in a certain place?

@jaimecosme
Copy link

jaimecosme commented Feb 20, 2018

@kajili If you don't use the --user flag and you are not using virtualenv, it should be installed for every user on the system (you may need to use sudo).

Anyway, nowadays it is recommended to use a different virtualenv for each project instead of installing libraries system-wide. This will avoid future conflicts between libraries.

@tiapreetha
Copy link

Hi friends,
I am working on the following project in github.
https://github.com/ShreyAmbesh/Traffic-Rule-Violation-Detection-System

installed all the needed packages for the project but when i try to run the project in pycharm i am getting the following error...

File "VehicleMoniter.py", line 21, in
import openalpr_api
ModuleNotFoundError: No module named 'openalpr_api'

I also installed openalpr in my system

C:\Users\preetha\Desktop\python project\traffic project\Traffic-Rule-Violation-Detection-System-master>pip install openalpr
Requirement already satisfied: openalpr in c:\users\preetha\appdata\local\programs\python\python37\lib\site-packages (1.0.12)

I don't know how to solve this error....

Anyone plz help me...

thanks in advance

@Joy-Cse
Copy link

Joy-Cse commented Mar 3, 2020

Hi is it solved @ tiapreetha

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants