pip installation is broken
See original GitHub issueAfter version 6.0.1 the pip install timezonefinder creates files and folders from timezonefinder repository and site-packages looks like this:
venv/bin/timezonefinder
venv/lib/python3.8/site-packages/.editorconfig
venv/lib/python3.8/site-packages/.pre-commit-config.yaml
venv/lib/python3.8/site-packages/CHANGELOG.rst
venv/lib/python3.8/site-packages/CONTRIBUTING.rst
venv/lib/python3.8/site-packages/LICENSE
venv/lib/python3.8/site-packages/Makefile
venv/lib/python3.8/site-packages/README.rst
venv/lib/python3.8/site-packages/inside_poly_extension/inside_polygon_int.c
venv/lib/python3.8/site-packages/inside_poly_extension/inside_polygon_int.h
venv/lib/python3.8/site-packages/parse_data.sh
venv/lib/python3.8/site-packages/scripts/*
venv/lib/python3.8/site-packages/tests/*
venv/lib/python3.8/site-packages/timezonefinder-6.1.0.dist-info/*
venv/lib/python3.8/site-packages/timezonefinder/*
venv/lib/python3.8/site-packages/tox.ini
This breaks other imports. For example I have a folder scripts and my command from scripts.my_module import my_object does not work anymore.
Expected behavior: everything is installed under folder venv/lib/python3.8/site-packages/timezonefinder/
Issue Analytics
- State:
- Created a year ago
- Comments:15 (8 by maintainers)
Top Results From Across the Web
My pip is broken on Windows, how can I fix it? - Stack Overflow
Download get-pip.py and "Save As" the file using right-click. · Open a command prompt as an administrator · cd to the path where...
Read more >How To Fix PIP Install Not Working? - TechNewsToday
The most common reasons for issues with PIP installations is either that an incorrect PIP path is added to the PATH system variable,...
Read more >4 Ways to Fix the Pip Install Not Working Issue
How to Fix the Pip Install Not Working Issue · Open Command Prompt. · Execute the command “python -v”. It will tell you...
Read more >python pip broken on ubuntu
This is a known issue with the default version of pip in Ubuntu 14.04 and an updated requests package. Duplicate of askubuntu.com/questions/ ...
Read more >Fixing Broken Pip | Voice of the DBA
As a result, I need to get pip reinstalled. This post shows how to get this, with a quick curl and python script...
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 Free
Top 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

Thanks for reporting this. It seems like that is how poetry based packaging works. I will check how to change that behavior.
Tried that already, see above. Just tried again, with
--no-cache-dirto be sure. Installing timezonefinder pulls incffi1.15.1, as expected.Then… Same error on building wheel. All exactly the same unfortunately.