Skip to content

Commit

Permalink
bug report + venv
Browse files Browse the repository at this point in the history
Prevented a temporary numpy version error for certain versions of opencv2 from occurring.
  • Loading branch information
fluffy-melli committed Nov 18, 2024
1 parent d96d223 commit 37a8f31
Show file tree
Hide file tree
Showing 7 changed files with 20 additions and 5 deletions.
5 changes: 5 additions & 0 deletions install-shell(venv).sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/bash
python -m venv sclat-venv
source sclat-venv/bin/activate
pip install -r requirements.txt
deactivate
4 changes: 4 additions & 0 deletions install-window(venv).bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
python -m venv sclat-venv
call sclat-venv\Scripts\activate
pip install -r requirements.txt
deactivate
1 change: 0 additions & 1 deletion install.bat

This file was deleted.

7 changes: 4 additions & 3 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
pygame == 2.5.2
yt_dlp == 2024.8.6
moviepy == 1.0.3
chardet == 5.2.0
pytubefix == 7.1rc2
pyvidplayer2 == 0.9.24
opencv-python == 4.6.0.66
moviepy == 1.0.3
yt_dlp == 2024.8.6
opencv-python == 4.5.5.64
numpy == 1.26.4
4 changes: 4 additions & 0 deletions start-shell(venv).sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/bash
source sclat-venv/bin/activate
python ./main.py
deactivate
3 changes: 3 additions & 0 deletions start-window(venv).bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
call sclat-venv\Scripts\activate
python ./main.py
deactivate
1 change: 0 additions & 1 deletion start.bat

This file was deleted.

0 comments on commit 37a8f31

Please sign in to comment.