Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ModuleNotFoundError: no module named 'lollms' #554

Open
Biz89 opened this issue Aug 11, 2024 · 7 comments
Open

ModuleNotFoundError: no module named 'lollms' #554

Biz89 opened this issue Aug 11, 2024 · 7 comments

Comments

@Biz89
Copy link

Biz89 commented Aug 11, 2024

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

@sharoseali
Copy link

Same issue found

@ParisNeo
Copy link
Owner

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.

@AirHeadsbuirse
Copy link

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 . . .

@ParisNeo
Copy link
Owner

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

@AxelFooley
Copy link

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

@ParisNeo
Copy link
Owner

ParisNeo commented Oct 2, 2024

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

@KShivum
Copy link

KShivum commented Oct 6, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants