bhowiebkr / laser-level-webcam

A tool for measuring height in microns of arbitrary sized objects using a webcam and a laser level.
MIT License
141 stars 13 forks source link

5. Run the Python Program error #22

Open eduardsik opened 7 months ago

eduardsik commented 7 months ago

Hi,

colud you help me to understand better this part of the install process? It is so confusing:

  1. Run the Python Program After installing the required packages, you are ready to run the Python program:

python.exe laser_level_tool/main.py We run the main.py file in the laser_level_tool directory

Since there is no folder like that in the repo, and if I create one, thy main.py missing all the other components and gives me error. How can I go through this step?

Thanks!

bhowiebkr commented 6 months ago

You should be able to just run the main.py python file directly from inside the main directory. Another thing is if you’ve installed the code dependencies with a virtual environment you have to make sure you’ve activated that before launching the code. If you’ve got any errors, post them here so I can have a better idea what’s happening.