You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "/home/pi/.virtualenvs/cv/lib/python3.5/site-packages/numpy/core/fromnumeric.py", line 2729, in size
return a.shape[axis]
AttributeError: 'NoneType' object has no attribute 'shape'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "test.py", line 48, in
height = np.size(Frame,0)
File "/home/pi/.virtualenvs/cv/lib/python3.5/site-packages/numpy/core/fromnumeric.py", line 2731, in size
return asarray(a).shape[axis]
IndexError: tuple index out of range
I receive this code when running in the virtual environment, can inform what is the problem?
The text was updated successfully, but these errors were encountered:
It's odd. When I developed this project, I used Python 2.7 (and without virtual environment). I don't think the virtual environment can cause this, but different Python versions can. Please, try running this using Python 2.7 instead of 3.5.
Traceback (most recent call last):
File "/home/pi/.virtualenvs/cv/lib/python3.5/site-packages/numpy/core/fromnumeric.py", line 2729, in size
return a.shape[axis]
AttributeError: 'NoneType' object has no attribute 'shape'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "test.py", line 48, in
height = np.size(Frame,0)
File "/home/pi/.virtualenvs/cv/lib/python3.5/site-packages/numpy/core/fromnumeric.py", line 2731, in size
return asarray(a).shape[axis]
IndexError: tuple index out of range
I receive this code when running in the virtual environment, can inform what is the problem?
The text was updated successfully, but these errors were encountered: