Skip to content

[Experimental Bug] Linux/Mac Installer script did not install correctly.  #1994

@MT-276

Description

@MT-276

Describe the bug

Bug Report

Disclaimer - This bug is by no means high priority.

Issue

The Experimental bash script did not install correctly.
The command -
bash <(curl -sL https://raw.githubusercontent.com/elebumm/RedditVideoMakerBot/master/install.sh)

Output

Error File

ms@MS-PC:~$ bash <(curl -sL https://raw.githubusercontent.com/elebumm/RedditVideoMakerBot/master/install.sh)
Installing...
Continue? (y/n)
y
Installing all
Installing required packages
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
python3 is already the newest version (3.11.4-5).
python3 set to manually installed.
python3-dev is already the newest version (3.11.4-5).
python3-dev set to manually installed.
python3-pip is already the newest version (23.2+dfsg-1ubuntu0.1).
unzip is already the newest version (6.0-28ubuntu1.1).
unzip set to manually installed.
The following additional packages will be installed:
  blt libtk8.6 tk8.6-blt2.5
Suggested packages:
  blt-demo tk8.6 tix python3-tk-dbg
The following NEW packages will be installed:
  blt libtk8.6 python3-tk tk8.6-blt2.5
0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
Need to get 1,535 kB of archives.
After this operation, 5,229 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://archive.ubuntu.com/ubuntu mantic/main amd64 libtk8.6 amd64 8.6.13-2 [776 kB]
Get:2 http://archive.ubuntu.com/ubuntu mantic/main amd64 tk8.6-blt2.5 amd64 2.5.3+dfsg-4.1build2 [643 kB]
Get:3 http://archive.ubuntu.com/ubuntu mantic/main amd64 blt amd64 2.5.3+dfsg-4.1build2 [4,838 B]
Get:4 http://archive.ubuntu.com/ubuntu mantic/main amd64 python3-tk amd64 3.11.5-1 [112 kB]
Fetched 1,535 kB in 3s (542 kB/s)    
Selecting previously unselected package libtk8.6:amd64.
(Reading database ... 285544 files and directories currently installed.)
Preparing to unpack .../libtk8.6_8.6.13-2_amd64.deb ...
Unpacking libtk8.6:amd64 (8.6.13-2) ...
Selecting previously unselected package tk8.6-blt2.5.
Preparing to unpack .../tk8.6-blt2.5_2.5.3+dfsg-4.1build2_amd64.deb ...
Unpacking tk8.6-blt2.5 (2.5.3+dfsg-4.1build2) ...
Selecting previously unselected package blt.
Preparing to unpack .../blt_2.5.3+dfsg-4.1build2_amd64.deb ...
Unpacking blt (2.5.3+dfsg-4.1build2) ...
Selecting previously unselected package python3-tk:amd64.
Preparing to unpack .../python3-tk_3.11.5-1_amd64.deb ...
Unpacking python3-tk:amd64 (3.11.5-1) ...
Setting up libtk8.6:amd64 (8.6.13-2) ...
Setting up tk8.6-blt2.5 (2.5.3+dfsg-4.1build2) ...
Setting up blt (2.5.3+dfsg-4.1build2) ...
Setting up python3-tk:amd64 (3.11.5-1) ...
Processing triggers for libc-bin (2.38-1ubuntu6.1) ...
Downloading the bot
Archive:  master.zip
91c2b090cf6df826a58a1d1acfd5e1c9619616ae
   creating: RedditVideoMakerBot-master/
 extracting: RedditVideoMakerBot-master/.dockerignore  
 extracting: RedditVideoMakerBot-master/.gitattributes  
   creating: RedditVideoMakerBot-master/.github/
   creating: RedditVideoMakerBot-master/.github/ISSUE_TEMPLATE/
  inflating: RedditVideoMakerBot-master/.github/ISSUE_TEMPLATE/bug_report.yml  
  inflating: RedditVideoMakerBot-master/.github/ISSUE_TEMPLATE/config.yml  
  inflating: RedditVideoMakerBot-master/.github/ISSUE_TEMPLATE/feature_request.yml  
  inflating: RedditVideoMakerBot-master/.github/PULL_REQUEST_TEMPLATE.md  
  inflating: RedditVideoMakerBot-master/.github/dependabot.yml  
   creating: RedditVideoMakerBot-master/.github/workflows/
  inflating: RedditVideoMakerBot-master/.github/workflows/autoblack.yml  
  inflating: RedditVideoMakerBot-master/.github/workflows/codeql-analysis.yml  
  inflating: RedditVideoMakerBot-master/.github/workflows/lint.yml  
  inflating: RedditVideoMakerBot-master/.github/workflows/stale.yml  
  inflating: RedditVideoMakerBot-master/.gitignore  
  inflating: RedditVideoMakerBot-master/.pylintrc  
  inflating: RedditVideoMakerBot-master/CODE_OF_CONDUCT.md  
  inflating: RedditVideoMakerBot-master/CONTRIBUTING.md  
  inflating: RedditVideoMakerBot-master/Dockerfile  
  inflating: RedditVideoMakerBot-master/GUI.py  
   creating: RedditVideoMakerBot-master/GUI/
  inflating: RedditVideoMakerBot-master/GUI/backgrounds.html  
  inflating: RedditVideoMakerBot-master/GUI/index.html  
  inflating: RedditVideoMakerBot-master/GUI/layout.html  
  inflating: RedditVideoMakerBot-master/GUI/settings.html  
   creating: RedditVideoMakerBot-master/GUI/voices/
  inflating: RedditVideoMakerBot-master/GUI/voices/amy.mp3  
  inflating: RedditVideoMakerBot-master/GUI/voices/br_001.mp3  
  inflating: RedditVideoMakerBot-master/GUI/voices/br_003.mp3  
  inflating: RedditVideoMakerBot-master/GUI/voices/br_004.mp3  
  inflating: RedditVideoMakerBot-master/GUI/voices/br_005.mp3  
  inflating: RedditVideoMakerBot-master/GUI/voices/brian.mp3  
  inflating: RedditVideoMakerBot-master/GUI/voices/de_001.mp3  
  inflating: RedditVideoMakerBot-master/GUI/voices/de_002.mp3  
  inflating: RedditVideoMakerBot-master/GUI/voices/emma.mp3  
  inflating: RedditVideoMakerBot-master/GUI/voices/en_au_001.mp3  
  inflating: RedditVideoMakerBot-master/GUI/voices/en_au_002.mp3  
  inflating: RedditVideoMakerBot-master/GUI/voices/en_uk_001.mp3  
  inflating: RedditVideoMakerBot-master/GUI/voices/en_uk_003.mp3  
  inflating: RedditVideoMakerBot-master/GUI/voices/en_us_001.mp3  
  inflating: RedditVideoMakerBot-master/GUI/voices/en_us_002.mp3  
  inflating: RedditVideoMakerBot-master/GUI/voices/en_us_006.mp3  
  inflating: RedditVideoMakerBot-master/GUI/voices/en_us_007.mp3  
  inflating: RedditVideoMakerBot-master/GUI/voices/en_us_009.mp3  
  inflating: RedditVideoMakerBot-master/GUI/voices/en_us_010.mp3  
  inflating: RedditVideoMakerBot-master/GUI/voices/en_us_c3po.mp3  
  inflating: RedditVideoMakerBot-master/GUI/voices/en_us_chewbacca.mp3  
  inflating: RedditVideoMakerBot-master/GUI/voices/en_us_ghostface.mp3  
  inflating: RedditVideoMakerBot-master/GUI/voices/en_us_rocket.mp3  
  inflating: RedditVideoMakerBot-master/GUI/voices/en_us_stitch.mp3  
  inflating: RedditVideoMakerBot-master/GUI/voices/en_us_stormtrooper.mp3  
  inflating: RedditVideoMakerBot-master/GUI/voices/es_002.mp3  
  inflating: RedditVideoMakerBot-master/GUI/voices/es_mx_002.mp3  
  inflating: RedditVideoMakerBot-master/GUI/voices/fr_001.mp3  
  inflating: RedditVideoMakerBot-master/GUI/voices/fr_002.mp3  
  inflating: RedditVideoMakerBot-master/GUI/voices/geraint.mp3  
  inflating: RedditVideoMakerBot-master/GUI/voices/id_001.mp3  
  inflating: RedditVideoMakerBot-master/GUI/voices/ivy.mp3  
  inflating: RedditVideoMakerBot-master/GUI/voices/joanna.mp3  
  inflating: RedditVideoMakerBot-master/GUI/voices/joey.mp3  
  inflating: RedditVideoMakerBot-master/GUI/voices/jp_001.mp3  
  inflating: RedditVideoMakerBot-master/GUI/voices/jp_003.mp3  
  inflating: RedditVideoMakerBot-master/GUI/voices/jp_005.mp3  
  inflating: RedditVideoMakerBot-master/GUI/voices/jp_006.mp3  
  inflating: RedditVideoMakerBot-master/GUI/voices/justin.mp3  
  inflating: RedditVideoMakerBot-master/GUI/voices/kendra.mp3  
  inflating: RedditVideoMakerBot-master/GUI/voices/kimberly.mp3  
  inflating: RedditVideoMakerBot-master/GUI/voices/kr_002.mp3  
  inflating: RedditVideoMakerBot-master/GUI/voices/kr_003.mp3  
  inflating: RedditVideoMakerBot-master/GUI/voices/kr_004.mp3  
  inflating: RedditVideoMakerBot-master/GUI/voices/matthew.mp3  
  inflating: RedditVideoMakerBot-master/GUI/voices/nicole.mp3  
  inflating: RedditVideoMakerBot-master/GUI/voices/raveena.mp3  
  inflating: RedditVideoMakerBot-master/GUI/voices/russell.mp3  
  inflating: RedditVideoMakerBot-master/GUI/voices/salli.mp3  
  inflating: RedditVideoMakerBot-master/LICENSE  
  inflating: RedditVideoMakerBot-master/README.md  
   creating: RedditVideoMakerBot-master/TTS/
  inflating: RedditVideoMakerBot-master/TTS/GTTS.py  
  inflating: RedditVideoMakerBot-master/TTS/TikTok.py  
 extracting: RedditVideoMakerBot-master/TTS/__init__.py  
  inflating: RedditVideoMakerBot-master/TTS/aws_polly.py  
  inflating: RedditVideoMakerBot-master/TTS/elevenlabs.py  
  inflating: RedditVideoMakerBot-master/TTS/engine_wrapper.py  
  inflating: RedditVideoMakerBot-master/TTS/pyttsx.py  
  inflating: RedditVideoMakerBot-master/TTS/streamlabs_polly.py  
 extracting: RedditVideoMakerBot-master/build.sh  
   creating: RedditVideoMakerBot-master/fonts/
  inflating: RedditVideoMakerBot-master/fonts/LICENSE.txt  
  inflating: RedditVideoMakerBot-master/fonts/Roboto-Black.ttf  
  inflating: RedditVideoMakerBot-master/fonts/Roboto-Bold.ttf  
  inflating: RedditVideoMakerBot-master/fonts/Roboto-Medium.ttf  
  inflating: RedditVideoMakerBot-master/fonts/Roboto-Regular.ttf  
  inflating: RedditVideoMakerBot-master/install.sh  
  inflating: RedditVideoMakerBot-master/main.py  
  inflating: RedditVideoMakerBot-master/ptt.py  
   creating: RedditVideoMakerBot-master/reddit/
  inflating: RedditVideoMakerBot-master/reddit/subreddit.py  
  inflating: RedditVideoMakerBot-master/requirements.txt  
  inflating: RedditVideoMakerBot-master/run.bat  
  inflating: RedditVideoMakerBot-master/run.sh  
   creating: RedditVideoMakerBot-master/utils/
  inflating: RedditVideoMakerBot-master/utils/.config.template.toml  
 extracting: RedditVideoMakerBot-master/utils/__init__.py  
  inflating: RedditVideoMakerBot-master/utils/ai_methods.py  
  inflating: RedditVideoMakerBot-master/utils/background_audios.json  
  inflating: RedditVideoMakerBot-master/utils/background_videos.json  
  inflating: RedditVideoMakerBot-master/utils/cleanup.py  
  inflating: RedditVideoMakerBot-master/utils/console.py  
  inflating: RedditVideoMakerBot-master/utils/ffmpeg_install.py  
  inflating: RedditVideoMakerBot-master/utils/gui_utils.py  
  inflating: RedditVideoMakerBot-master/utils/id.py  
  inflating: RedditVideoMakerBot-master/utils/imagenarator.py  
  inflating: RedditVideoMakerBot-master/utils/playwright.py  
  inflating: RedditVideoMakerBot-master/utils/posttextparser.py  
  inflating: RedditVideoMakerBot-master/utils/settings.py  
  inflating: RedditVideoMakerBot-master/utils/subreddit.py  
  inflating: RedditVideoMakerBot-master/utils/thumbnail.py  
  inflating: RedditVideoMakerBot-master/utils/version.py  
  inflating: RedditVideoMakerBot-master/utils/videos.py  
  inflating: RedditVideoMakerBot-master/utils/voice.py  
   creating: RedditVideoMakerBot-master/video_creation/
 extracting: RedditVideoMakerBot-master/video_creation/__init__.py  
  inflating: RedditVideoMakerBot-master/video_creation/background.py  
   creating: RedditVideoMakerBot-master/video_creation/data/
  inflating: RedditVideoMakerBot-master/video_creation/data/cookie-dark-mode.json  
  inflating: RedditVideoMakerBot-master/video_creation/data/cookie-light-mode.json  
 extracting: RedditVideoMakerBot-master/video_creation/data/videos.json  
  inflating: RedditVideoMakerBot-master/video_creation/final_video.py  
  inflating: RedditVideoMakerBot-master/video_creation/screenshot_downloader.py  
  inflating: RedditVideoMakerBot-master/video_creation/voices.py  
Installing python dependencies
error: externally-managed-environment

× This environment is externally managed
╰─> To install Python packages system-wide, try apt install
    python3-xyz, where xyz is the package you are trying to
    install.
    
    If you wish to install a non-Debian-packaged Python package,
    create a virtual environment using python3 -m venv path/to/venv.
    Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make
    sure you have python3-full installed.
    
    If you wish to install a non-Debian packaged Python application,
    it may be easiest to use pipx install xyz, which will manage a
    virtual environment for you. Make sure you have pipx installed.
    
    See /usr/share/doc/python3.11/README.venv for more information.

note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages.
hint: See PEP 668 for the detailed specification.
Installing playwright
/usr/bin/python3: No module named playwright
/usr/bin/python3: No module named playwright
Note, if these gave any errors, playwright may not be officially supported on your OS, check this issues page for support
https://github.com/microsoft/playwright/issues
The bot is installed, want to run it?Continue? (y/n)
y
Traceback (most recent call last):
  File "/home/ms/RedditVideoMakerBot-master/main.py", line 9, in <module>
    from prawcore import ResponseException
ModuleNotFoundError: No module named 'prawcore'
ms@MS-PC:~$ 

Reproduction Steps

Ran the command in the "QTerminal" app. No special permissions

Expected behavior

Install and run properly

Screenshots

image

System Information

Lenovo AIO [Built 2011]

  • CPU : Intel Dual Core T9600
  • Mem : 4 GB
  • GPU : ATI Radeon HD 450
  • HDD : Some old WD crap.

OS

  • Ubuntu [ Lubuntu ]

  • Version : 23.10 (Mantic Minotaur) [info]

  • LXQt Version: 1.3.0

  • Python version : 3.11.6

Checklist

  • I have searched the open issues for duplicates.
  • I have shown the entire traceback, if possible.

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingkeep

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions