Pine
Pine copied to clipboard
IndexError: invalid index to scalar variable.
After start i have error.
pip install opencv-python==4.4.0.46
pip install opencv-python==4.4.0.46
Still don't work.
I think you are getting this error because of your opencv version.
1.find opencv version that you are using(type pip list
in your terminal(cmd) then search for opencv-python (version)):
if your opencv version is 4.5.4.58 continue the steps :
2.uninstall opencv : pip uninstall opencv-python
3.install other opencv versions: pip install opencv-python==4.4.0.46
if you have particular version in mind(some opencv versions.txt):
pip install opencv-python==(version)
if these steps didn't work out try this step👇(I'm not sure this step works out but it worth to try it):
1.Download requirements.txt
2.run : pip install -r requirements.txt
I think you are getting this error because of your opencv version. 1.find opencv version that you are using(type
pip list
in your terminal(cmd) then search for opencv-python (version)):if your opencv version is 4.5.4.58 continue the steps : 2.uninstall opencv :
pip uninstall opencv-python
3.install other opencv versions:pip install opencv-python==4.4.0.46
if you have particular version in mind(some opencv versions.txt):pip install opencv-python==(version)
if these steps didn't work out try this step👇(I'm not sure this step works out but it worth to try it): 1.Download requirements.txt 2.run :
pip install -r requirements.txt
Still error:/ also requirements.txt doesn't help
Change that line in the code to this (should be around line 95):
ln = [ln[i - 1] for i in net.getUnconnectedOutLayers()]
I got the same error and found the solution in another aimbot tutorial online.
nowit says TypeError: only integer scalar arrays can be converted to a scalar index
Change that line in the code to this (should be around line 95):
ln = [ln[i - 1] for i in net.getUnconnectedOutLayers()]
I got the same error and found the solution in another aimbot tutorial online.