Installing from source is broken
See original GitHub issueWhen installing from the source distribution (.tar.gz) rather than the wheel, there is an error due to the readme.md
not being in the source distribution:
pip install --no-binary :all: whatlies
Complete output (11 lines):
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/private/var/folders/ld/gx_8s3_n25g1dkhj59zjlxww0000gn/T/pip-install-j1jgucid/whatlies_d4b383e945574b47b346e62542fc3c0d/setup.py", line 67, in <module>
long_description=pathlib.Path("readme.md").read_text(),
File "/Users/xyz/miniconda2/envs/foo/lib/python3.9/pathlib.py", line 1266, in read_text
with self.open(mode='r', encoding=encoding, errors=errors) as f:
File "/Users/xyz/miniconda2/envs/foo/lib/python3.9/pathlib.py", line 1252, in open
return io.open(self, mode, buffering, encoding, errors, newline,
File "/Users/xyz/miniconda2/envs/foo/lib/python3.9/pathlib.py", line 1120, in _opener
return self._accessor.open(self, flags, mode)
FileNotFoundError: [Errno 2] No such file or directory: 'readme.md'
I would recommend adding a MANIFEST.in
file to specify that the readme is included:
https://packaging.python.org/guides/using-manifest-in/
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:6 (4 by maintainers)
Top Results From Across the Web
"Building from source" seems broken with ninja install ... - GitHub
Install some package with brew install (on a machine that Homebrew was installed on a non-default path, which needs compiles for some package) ......
Read more >How to Find and Fix Broken Packages on Linux - MakeUseOf
Reinstalling Broken Packages on Ubuntu and Debian · Open the terminal by pressing Ctrl + Alt + T on your keyboard and enter:...
Read more >Use apt-get to fix missing and broken packages - Linux Hint
Using apt-get to fix missing and broken packages. Apt-get is a Terminal based package management tool used for installing, upgrading, and removing packages....
Read more >Package system is broken. How to fix it? - apt - Ask Ubuntu
Open Synaptic. Go To 'Status' (in the left navigation). Choose 'Broken'. Remove these broken packages. Otherwise it ...
Read more >Pixelbook installing r-base dependency with held broken ...
1 Answer 1 · Open your sources. · Select the Fix Broken Packages option in Synaptic package manager. · Another method of troubleshooting...
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
I think that should work
@koaning I had started packaging
whatlies
for conda-forge and this error happened there. Thanks to @synapticarbors, the root-cause of this error was identified and then it got fixed. The build just passed with the base requirements ofwhatlies
.