Closed pfefferminza closed 5 years ago
As I wrote on my website, it is maybe a conflict of your Python version, that is at least the Visual C++ issue pointing to. The last problem you are describing was described and "solved" here: #51 My advise: Changing the Python environment or pulling an older version of pymba.
Thanks a lot for your reply! I've tried the 2017 version of the line: import pymba.vimbastructure as structs, which unfortunately is giving me the same error :/ I've also switched to anaconda (still Python 2.7 though) to test a new environment: the same error. Do you still think switching to python 3 could help?
If you use Pymba v0.2 and Python 3 you can simply install via pip install pymba
. This may help your installation issues.
Hi,
I'm a bit confused as to how to get started with pymba (I'm not super experienced with python yet). Here're the steps I followed:
This created following folder: 'C:\Python27\Lib\site-packages\pymba-0.1-py2.7.egg' within 'pymba-0.1-py2.7.egg' are now two folders: 'EGG-INFO' and 'pymba'.
This created following error: 'ImportError: No module named pymba'.
This got rid of the error, however a new error arose: 'IOError: VimbaC.dll not found'
Now I'm getting a new error to do with importing vimbastructure:
File "<pyshell#2>", line 1, in
import pymba
File "C:\Python27\lib\site-packages\pymba__init__.py", line 3, in
from .vimba import Vimba
File "C:\Python27\lib\site-packages\pymba\vimba.py", line 3, in
from . import vimbastructure as structs
ImportError: cannot import name vimbastructure
I'm stuck with this error since vimbastructure.py seems to be inside the pymba folder and I'm not sure why it's having trouble importing it.
Does anyone know how to fix this? Or am I doing something completely wrong when setting the package up? I've also tried 'pip pymba', however that gave me an error telling me that I'm missing Visual C++.
Thanks for your help! Pfefferminza