basler / pypylon

The official python wrapper for the pylon Camera Software Suite
http://www.baslerweb.com
BSD 3-Clause "New" or "Revised" License
566 stars 207 forks source link

Module not found after installation #170

Open yuzouDE opened 5 years ago

yuzouDE commented 5 years ago

After all installation I try to test grab.py, but get this error msg: Traceback (most recent call last): File "grab.py", line 14, in <module> from pypylon import pylon ModuleNotFoundError: No module named 'pypylon'

But I did installed pypylon. So I verify it by pip3 freeze, I saw: pypylon==1.4.0

I really have no clue why python3 cannot find this modul, pls help! Thx in advance!

seysn commented 4 years ago

Are you sure you're running grab.py with python3 and not python2 ?

yuzouDE commented 4 years ago

Are you sure you're running grab.py with python3 and not python2 ?

yep. I am using python3 grab.py

Curmen commented 4 years ago

What is your python version ?

SMA2016a commented 4 years ago

most properly the pypylon has been installed in python2 environment. a quick test would be trying following command. python -c "import pypylon.pylon as py; print(py.version)"