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
Describe the bug
Could not install the dependencies on macbook m1 pro
fl@bogon tennis-tracking % pip3 install -r requirements.txt
Defaulting to user installation because normal site-packages is not writeable
Collecting requests==2.23.0 (from -r requirements.txt (line 1))
Using cached requests-2.23.0-py2.py3-none-any.whl (58 kB)
ERROR: Could not find a version that satisfies the requirement opencv_contrib_python==4.1.2.30 (from versions: 3.4.11.45, 3.4.13.47, 3.4.14.51, 3.4.15.55, 3.4.16.57, 3.4.16.59, 3.4.17.61, 3.4.17.63, 3.4.18.65, 4.4.0.46, 4.5.1.48, 4.5.2.52, 4.5.3.56, 4.5.4.58, 4.5.4.60, 4.5.5.62, 4.5.5.64, 4.6.0.66, 4.7.0.68, 4.7.0.72, 4.8.0.74, 4.8.0.76)
ERROR: No matching distribution found for opencv_contrib_python==4.1.2.30
fl@bogon tennis-tracking % python3 --version
Python 3.9.6
The text was updated successfully, but these errors were encountered:
Here is what I did: it seems to work for me. Its a hotfix and I'm a novice so bear with me. First, install all of the dependencies manually from requirements.txt. This will make sure everything is the latest version. If you use older versions, the new python version has some depreciations. Use pip install [package name] (no version specified). Secondly, I found that you need to rename the file in WeightsTracknet to .h5 and the corresponding file path in predict_video.py. It has to do with the new version of Keras, I think.
Describe the bug
Could not install the dependencies on macbook m1 pro
The text was updated successfully, but these errors were encountered: