ligerbots / ligerbots/dslogparser

Error Using pip install dslogparser

Open
#4 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
17
Forks
10
PR merge metrics
No merged PRs in 30d

Description

I seem to be able to import other packages from pip and I even attempted using the straight .tar.gz file for this but I am getting the following error:

(base) C:\Users\warre\Anaconda3\Scripts>pip install dslogparser
Collecting dslogparser
Using cached dslogparser-1.0.2.tar.gz (6.2 kB)
ERROR: Command errored out with exit status 1:
command: 'c:\users\warre\anaconda3\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\warre\AppData\Local\Temp\pip-install-is7sibmd\dslogparser\setup.py'"'"'; file='"'"'C:\Users\warre\AppData\Local\Temp\pip-install-is7sibmd\dslogparser\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\warre\AppData\Local\Temp\pip-install-is7sibmd\dslogparser\pip-egg-info'
cwd: C:\Users\warre\AppData\Local\Temp\pip-install-is7sibmd\dslogparser
Complete output (5 lines):
Traceback (most recent call last):
File "", line 1, in
File "C:\Users\warre\AppData\Local\Temp\pip-install-is7sibmd\dslogparser\setup.py", line 43, in
with open(join(setup_dir, 'README-dslogparser.md'), encoding='utf-8') as f:
FileNotFoundError: [Errno 2] No such file or directory: 'C:\Users\warre\AppData\Local\Temp\pip-install-is7sibmd\dslogparser\README-dslogparser.md'
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

Is there a setup tool issue here?

Update:
I was able to clone this code and create my own wheel:
python setup.py bdist_wheel
cd dist
pip install *whl

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Inspect setup.py around line 43 and the source archive used by pip; first reproduce the missing README-dslogparser.md error with pip install dslogparser. Compare the archive contents with the repository, then verify that a fresh package installation completes without the reported FileNotFoundError.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
build-system
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.