setup-python icon indicating copy to clipboard operation
setup-python copied to clipboard

ERROR: No .egg-info directory found in C:\Users\Dell\AppData\Local\Temp\pip-pip-egg-info-7dlijmq6

Open Anudeep-ds opened this issue 2 years ago • 2 comments

Description: running requirements.txt file i am facing the below issue "ERROR: No .egg-info directory found in C:\Users\Dell\AppData\Local\Temp\pip-pip-egg-info-7dlijmq6"

vs code i am using

Platform:

  • [x] Windows

Runner type:

  • [ ] Hosted
  • [ ] Self-hosted

Tools version: conda venv 3.8

Repro steps:
requirements.txt contains below

transformers transformers[sentencepiece] datasets sacrebleu rouge_score py7zr pandas nltk tqdm PyYAML matplotlib torch notebook boto3 mypy-boto3-s3 python-box==6.0.2 ensure==1.0.2 fastapi==0.78.0 uvicorn==0.18.3 Jinja2==3.1.2 -e .

Setup.py contains below

import setuptools

with open("README.md", "r", encoding="utf-8") as f: long_description = f.read()

version = "0.0.0"

REPO_NAME = "Text-Summarizer" AUTHOR_USER_NAME = "Anudeep-ds" SRC_REPO = "textSummarizer" AUTHOR_EMAIL = "[email protected]"

setuptools.setup( name=SRC_REPO, version=version, author=AUTHOR_USER_NAME, author_email=AUTHOR_EMAIL, description="A small python package for NLP app", long_description=long_description, long_description_content="text/markdown", url=f"https://github.com/{AUTHOR_USER_NAME}/{REPO_NAME}", project_urls={ "Bug Tracker": f"https://github.com/{AUTHOR_USER_NAME}/{REPO_NAME}/issues", }, package_dir={"": "src"}, packages=setuptools.find_packages(where="src") )

running requirements.txt file i am facing the below issue "ERROR: No .egg-info directory found in C:\Users\Dell\AppData\Local\Temp\pip-pip-egg-info-7dlijmq6"

tries different things like dowgrading upgrading pytho version , removing setup tools

but nothing worked

Expected behavior: it need to install all the packages

Actual behavior: ERROR: No .egg-info directory found in C:\Users\Dell\AppData\Local\Temp\pip-pip-egg-info-7dlijmq6 image

Anudeep-ds avatar Oct 20 '23 10:10 Anudeep-ds

image

Anudeep-ds avatar Oct 20 '23 11:10 Anudeep-ds

Hello @Anudeep-ds. Thank you for your report. We'll take a look at this issue.

dmitry-shibanov avatar Oct 23 '23 10:10 dmitry-shibanov