pip install notifiers fails with FileNotFoundError
See original GitHub issueDescribe the bug Attempting to install notifiers via pip results in a file not found error - raised whilst attempting to access README.MD from setup.py:
command: /usr/local/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-pv6vufd1/notifiers/setup.py'"'"'; __file__='"'"'/tmp/pip-install-pv6vufd1/notifiers/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 pip-egg-info
cwd: /tmp/pip-install-pv6vufd1/notifiers/
Complete output (11 lines):
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-install-pv6vufd1/notifiers/setup.py", line 5, in <module>
long_description = Path("README.MD").read_text()
File "/usr/local/lib/python3.7/pathlib.py", line 1206, in read_text
with self.open(mode='r', encoding=encoding, errors=errors) as f:
File "/usr/local/lib/python3.7/pathlib.py", line 1193, in open
opener=self._opener)
File "/usr/local/lib/python3.7/pathlib.py", line 1046, in _opener
return self._accessor.open(self, flags, mode)
FileNotFoundError: [Errno 2] No such file or directory: 'README.MD'
To Reproduce
Attempt to install notitifiers using pip
Expected behavior That notifiers should successfully install
Additional context Python version: 3.7 OS: Alpine (during build of docker container)
Note
I checked inside the archive for notifiers on pypi, and there is no README.MD in the same directory as setup.py.
Issue Analytics
- State:
- Created 4 years ago
- Comments:9 (6 by maintainers)
Top Results From Across the Web
pip install fails with FileNotFoundError: setup.py - Stack Overflow
pycairo is not built by setuptools, and therefore can't be installed by pip . As the INSTALL documentation says:
Read more >Command python setup py egg info failed with error code 1 in ...
I am trying to install tensorflow in my docker. But it shows me the below error. Using cached https://files.pythonhosted.org/packages/f1/23/Β ...
Read more >Issue with python-requests - Troubleshooting - Checkmk Forum
Hello, I have a check_mk instance (2.0) deployed in Docker. In there, I have a custom notification sripts that's supposed to open SNOWΒ ......
Read more >Why does pip give an error while installing a tool? - Ask Ubuntu
1 Answer 1 Β· Command "/usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-d0902j0p/pycurl/setup.py';f=getattr(tokenizeΒ ...
Read more >Installing python GDAL with pip in local (user) space on ...
I have installed lots of favourite packages into my local python directory with little problem, using pip. pip install gdal, on the otherΒ ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
My pleasure.
Hereβs what I now see (for confirmation):
All good π
WRT poetry - Iβm still getting in to pakaging with pypi, most of what I do lives in docker images and ends up being part of the source for the container. I guess I will at some point want to use pypi βin angerβ but havenβt yet needed to.
Found the issue I believe, pushing a fix ASAP.