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

No module named 'git' #549

Open
LMcontent opened this issue Jul 22, 2024 · 0 comments
Open

No module named 'git' #549

LMcontent opened this issue Jul 22, 2024 · 0 comments

Comments

@LMcontent
Copy link

Expected Behavior

Starting lollms-webui 9.8 . (Win 10)

Current Behavior

error_1

Starting LOLLMS Web UI...
By ParisNeo
Traceback (most recent call last):
File "C:\Lollms\lollms-webui\app.py", line 8, in
from lollms.utilities import PackageManager
File "c:\lollms\lollms-webui\lollms_core\lollms\utilities.py", line 36, in
import git
ModuleNotFoundError: No module named 'git'

error_2

Starting LOLLMS Web UI...
By ParisNeo
Checking ParisNeo libraries installation OK
defusedxml is not installed. Installing..
Collecting defusedxml
Downloading defusedxml-0.7.1-py2.py3-none-any.whl.metadata (32 kB) Downloading defusedxml-0.7.1-py2.py3-none-any.whl (25 kB)
Installing collected packages: defusedxml
Successfully installed defusedxml-0.7.1 Traceback (most recent call last):
File "C:\Lollms\lollms-webui\app.py", line 53, in
import psutil
ModuleNotFoundError: No module named 'psutil'

Steps to Reproduce

  1. (I have a Anaconda for my projects)
  2. I create C:\Lollms.
  3. I start C:\Lollms\win_install.bat and see all installation.
  4. I'm launching C:\Lollms\win_run.bat and saw error - no have git module. error_1
  5. I add "GitPython" module in my Anaconda Navigator in enviroment "lollms_env"
  6. I retry launching win_install.bat and saw error - no have psutil module.error_2
  7. I add "psutil" module in my Anaconda Navigator in enviroment "lollms_env"
  8. I retry launching win_install.bat and all is starting OK.

Possible Solution

Maybe you make a new script for users Anaconda.

Context

If Anaconda is installed, then maybe it conflicts with Miniconda?
I see in my Anaconda Navigator two environment: miniconda3 and lollms_env. It's probably can be problem for Anaconda's environment and Miniconda's environment.

Screenshots

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

1 participant