-
Notifications
You must be signed in to change notification settings - Fork 107
Description
Title: ModuleNotFoundError on Importing Installed lmstudio Package
Description:
When installing the lmstudio package using pip and trying to import it in Python, I receive a ModuleNotFoundError. Below are the details to reproduce the issue.
Steps to Reproduce:
-
Install the package:
$ pip install lmstudio
-
Try to import the package in a Python shell or script:
import lmstudio as lms
-
Observe the error:
ModuleNotFoundError: No module named 'lmstudio'
Additional Information:
-
Checking the package metadata (via
pip show lmstudio):Name: lmstudio Version: 0.0.1 Summary: LM Studio API Python Client Home-page: Author: LM Studio Author-email: [email protected] License: Location: [c:\users\userk\anaconda3\envs\krdm\lib\site-packages](file:///C:/users/userk/anaconda3/envs/krdm/lib/site-packages) Requires: Required-by:
-
In the
site-packagesfolder, only anlmstudio-0.0.1.dist-infodirectory is present; the package folderlmstudiois missing.
Expected Behavior:
After installing, the lmstudio package should be importable without error.
Environment:
- OS: Windows
- Python version: 3.9.19
- Installation via pip in an Anaconda environment
Any help on why the package folder might not be installed or how to resolve this issue is appreciated.