lollms-webui icon indicating copy to clipboard operation
lollms-webui copied to clipboard

ModuleNotFoundError: no module named 'lollms'

Open Biz89 opened this issue 1 year ago • 7 comments

After I run win_install. I had error like this. I set up v6.7 IMG_20240811_095103

Biz89 avatar Aug 11 '24 02:08 Biz89

Same issue found

sharoseali avatar Aug 26 '24 13:08 sharoseali

Hi, are you sure the tool was installed? At the beginning, the script installs miniconda, then installs the main lollms webui and then its dependencies and finally it pulls my zoos and other optional apps.

If you read documentation, the folder wher eyou install lollms should not contain a space in its path or this won't install miniconda (the source of this constraint) and thus nothins is really installed.

This looks like the tool wasn't installed correctly. Verify and try reinstalling it.

ParisNeo avatar Aug 26 '24 20:08 ParisNeo

Having the same issue, reinstalling did nothing... Any other tips? Not sure how to install lollms independently.

Starting LOLLMS Web UI... " ___ ___ ___ ___ ___ ___ " " /\__\ /\ \ /\__\ /\__\ /\__\ /\ \ " " /:/ / /::\ \ /:/ / /:/ / /::| | /::\ \ " " /:/ / /:/\:\ \ /:/ / /:/ / /:|:| | /:/\ \ \ " " /:/ / /:/ \:\ \ /:/ / /:/ / /:/|:|__|__ _\:\~\ \ \ " "/:/__/ /:/__/ \:\__\ /:/__/ /:/__/ /:/ |::::\__\ /\ \:\ \ \__\ " "\:\ \ \:\ \ /:/ / \:\ \ \:\ \ \/__/~~/:/ / \:\ \:\ \/__/ " " \:\ \ \:\ /:/ / \:\ \ \:\ \ /:/ / \:\ \:\__\ " " \:\ \ \:\/:/ / \:\ \ \:\ \ /:/ / \:\/:/ / " " \:\__\ \::/ / \:\__\ \:\__\ /:/ / \::/ / " " \/__/ \/__/ \/__/ \/__/ \/__/ \/__/ " By ParisNeo Traceback (most recent call last): File "E:\TeonAIWork\gpt4all-ui\lollms-webui\app.py", line 8, in <module> from lollms.utilities import PackageManager ModuleNotFoundError: No module named 'lollms' Press any key to continue . . .

AirHeadsbuirse avatar Sep 12 '24 01:09 AirHeadsbuirse

Did you use the updated version of the installer? If you used the old one, it had an issue and wasn't installing the right tools. So basically only the webui was installed and not the lollms_core library.

Try downloading the last installer and it should fix this.

best regards

ParisNeo avatar Sep 12 '24 07:09 ParisNeo

Just downloaded the latest installer, and i am having the same issue. lollms_core seems installed

ModuleNotFoundError: No module named 'lollms'
root@1790e4a834a2:/lollms-webui# ls
CHANGELOG.md	    README.md	 assets		     docs	       global_paths_cfg.yaml  lollms_core	 package.json	       scripts		   train
CODE_OF_CONDUCT.md  SECURITY.md  code_templates      endpoints	       help		      lollms_webui.py	 presets	       setup.py		   update_script.py
CONTRIBUTING.md     ai_ethics	 configs	     environment.yaml  images		      models.yaml	 requirements.txt      tailwind.config.js  utilities
Dockerfile	    api		 databases	     events	       installer.iss	      notebooks		 requirements_dev.txt  tests		   web
LICENSE		    app.py	 docker-compose.yml  extensions        installer_cpu.iss      package-lock.json  restart_script.py     tests_and_fun	   zoos

AxelFooley avatar Sep 25 '24 12:09 AxelFooley

well, here are some things to debug:

verify that lollms_core is not empty If it is not empty then verify that it is installed in the environment as lollms installs it as a module (use pip show to verify if lollms is installed in the current lollms_env environment)

I am preparing a completely new installer script that simplifies all this greately. I'll tell you when it is ready

ParisNeo avatar Oct 02 '24 08:10 ParisNeo

The install script says something about not a git directory, I'm pretty sure it is because of the lollms_core submodule. Trying to navigate to it gives a 404 error

KShivum avatar Oct 06 '24 19:10 KShivum