ParisNeo/lollms-webui

Unable to install personalities - Latest - Ubuntu 22.04

DrGood01 opened this issue · 1 comments

Expected Behavior

Mount, or Install a personality.

Current Behavior

After clicking on Mount, console output is:

`* english/generic/gpt4all
english/generic/chain_of_thoughts
Personality file not found or is corrupted (/home/jane/Documents/lollms/personalities_zoo/english/generic/chain_of_thoughts).
Returned the following exception:No module named 'pyaipersonality'
Please verify that the personality you have selected exists or select another personality. Some updates may lead to change in personality name or category, so check the personality selection in settings to be sure.
Trying to force reinstall
Couldn't load personality at /home/jane/Documents/lollms/personalities_zoo/english/generic/chain_of_thoughts
Traceback (most recent call last):
File "/home/jane/.local/share/Trash/files/lollms-webui/api/init.py", line 615, in rebuild_personalities
personality = AIPersonality(personality_path,
File "/home/jane/.local/share/Trash/files/lollms-webui/env/lib/python3.10/site-packages/lollms/personality.py", line 156, in init
self.load_personality(personality_package_path)
File "/home/jane/.local/share/Trash/files/lollms-webui/env/lib/python3.10/site-packages/lollms/personality.py", line 258, in load_personality
module_spec.loader.exec_module(module)
File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "/home/jane/Documents/lollms/personalities_zoo/english/generic/chain_of_thoughts/scripts/processor.py", line 7, in
from pyaipersonality import PAPScript, AIPersonality, MSG_TYPE
ModuleNotFoundError: No module named 'pyaipersonality'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/home/jane/.local/share/Trash/files/lollms-webui/api/init.py", line 627, in rebuild_personalities
personality = AIPersonality(
File "/home/jane/.local/share/Trash/files/lollms-webui/env/lib/python3.10/site-packages/lollms/personality.py", line 156, in init
self.load_personality(personality_package_path)
File "/home/jane/.local/share/Trash/files/lollms-webui/env/lib/python3.10/site-packages/lollms/personality.py", line 258, in load_personality
module_spec.loader.exec_module(module)
File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "/home/jane/Documents/lollms/personalities_zoo/english/generic/chain_of_thoughts/scripts/processor.py", line 7, in
from pyaipersonality import PAPScript, AIPersonality, MSG_TYPE
ModuleNotFoundError: No module named 'pyaipersonality'

Unmounting personality
Reverted to default personality
`

Steps to Reproduce

Please provide detailed steps to reproduce the issue.

  1. Step 1
  2. Step 2
  3. Step 3

Possible Solution

If you have any suggestions on how to fix the issue, please describe them here.

Context

Please provide any additional context about the issue.

Screenshots

If applicable, add screenshots to help explain the issue.