Skip to content

Error Using pip install dslogparser #4

@warrenlp

Description

@warrenlp

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions