run-llama/create_llama_projects

No file/folder found for package llamaindex-fastapi-streaming

yigit353 opened this issue · 7 comments

poetry install
Updating dependencies
Resolving dependencies... (8.1s)

No dependencies to install or update

Writing lock file

Installing the current project: llamaindex-fastapi-streaming (0.1.0)
The current project could not be installed: No file/folder found for package llamaindex-fastapi-streaming
If you do not want to install the current project use --no-root

When I run the code in the backend folder after cloning the repository.

OS: Ubuntu 22.04.3 LTS

Pip Freeze after poetry shell:

(llamaindex-fastapi-streaming-py3.11) :~/create_llama_projects/embedded-tables/backend$ pip freeze
aiohttp==3.8.6
aiosignal==1.3.1
aiostream==0.5.2
annotated-types==0.6.0
anyio==3.7.1
async-timeout==4.0.3
attrs==23.1.0
backoff==2.2.1
beautifulsoup4==4.12.2
certifi==2023.7.22
chardet==5.2.0
charset-normalizer==3.3.2
click==8.1.7
dataclasses-json==0.5.14
Deprecated==1.2.14
distro==1.8.0
emoji==2.8.0
fastapi==0.104.1
filetype==1.2.0
frozenlist==1.4.0
fsspec==2023.10.0
greenlet==3.0.1
h11==0.14.0
httpcore==1.0.2
httptools==0.6.1
httpx==0.25.1
idna==3.4
joblib==1.3.2
jsonpatch==1.33
jsonpointer==2.4
langchain==0.0.336
langdetect==1.0.9
langsmith==0.0.64
llama-index==0.8.69.post2
lxml==4.9.3
marshmallow==3.20.1
multidict==6.0.4
mypy-extensions==1.0.0
nest-asyncio==1.5.8
nltk==3.8.1
numpy==1.26.2
openai==1.3.2
packaging==23.2
pandas==2.1.3
pydantic==2.5.1
pydantic_core==2.14.3
pypdf==3.17.1
python-dateutil==2.8.2
python-dotenv==1.0.0
python-iso639==2023.6.15
python-magic==0.4.27
pytz==2023.3.post1
PyYAML==6.0.1
rapidfuzz==3.5.2
regex==2023.10.3
requests==2.31.0
six==1.16.0
sniffio==1.3.0
soupsieve==2.5
SQLAlchemy==2.0.23
starlette==0.27.0
tabulate==0.9.0
tenacity==8.2.3
tiktoken==0.5.1
tqdm==4.66.1
typing-inspect==0.9.0
typing_extensions==4.8.0
tzdata==2023.3
unstructured==0.10.30
urllib3==1.26.18
uvicorn==0.23.2
uvloop==0.19.0
watchfiles==0.21.0
websockets==12.0
wrapt==1.16.0
yarl==1.9.2

Maybe this causes errors later on.

is llamaindex-fastapi-streaming a virtual env? can you show the full sequence of commands?

Yes, llamaindex-fastapi-streaming-py3.11 is a virtual env. As I mentioned above, after cloning and getting to the backend folder as mentioned in the backend tutorial, I ran the code with the poetry above.

I have Poetry (version 1.7.1)

See the generated poetry.lock file attached. poetry.lock.txt

just throwing an idea out there, what if you created a new virtual env and did a clean install

I tried using a Conda environment in the same environment, but the issue was repeated.

It worked on another computer with the Ubuntu 18.04.4 LTS and Conda environment.

I had the same issue but I got it working.

The important thing is that you install poetry with conda, not with pip.

conda create -n create-llama python=3.11
conda activate create-llama
conda install poetry
poetry install

I'm experiencing the same issue on my machine.

Please try #18 - poetry install shows this error as the package name is wrong.