Getting FileNotFoundError: [Errno 2] No such file or directory: '<my-path>/site-packages/pinject/../VERSION'
See original GitHub issueI am getting this error when installing the latest version (0.12.2) with pip install pinject
:
File “/home/ronen/reach/reach_venv3.6/lib/python3.6/site-packages/pinject/version.py”, line 10, in <module> VERSION = open(VERSION_FILE).read().strip() FileNotFoundError: [Errno 2] No such file or directory: ‘/home/ronen/reach/reach_venv3.6/lib/python3.6/site-packages/pinject/…/VERSION’
So I have looked and there isn’t really any VERSION
file in my site-packages
folder (should there be?).
I am running python3.6.7
on Ubuntu 18.04
. We have been running with django and pinject for a long time now and everything was great.
Please help, thanks in advance!
Issue Analytics
- State:
- Created 5 years ago
- Comments:9 (4 by maintainers)
Top Results From Across the Web
FileNotFoundError: [Errno 2] No such file or directory [duplicate]
I am trying to open a CSV file but for some reason python cannot locate it. Here is my code (it's just a...
Read more >Python FileNotFoundError: [Errno 2] No such file or directory ...
This error tells you that you are trying to access a file or folder that does not exist. To fix this error, check...
Read more >How to fix FileNotFoundError Errno 2 no such file or directory
There are several reasons why the FileNotFoundError Errno 2 No such file or directory error can occur: 1. Misspelled filename.
Read more >Filenotfounderror errno 2 no such file or directory python error ...
How to solve filenotfounderror errno 2 no such file or directory in python is shown.
Read more >[Errno 2] No such file or directory · Issue #67 - GitHub
I'm using Windows 10 and Python 3.7 the version of Julia is 1.6.2. The error ... FileNotFoundError: [Errno 2] No such file or...
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
Thank you @rmiller-sgntr for reporting this issue, and thank you @logavanc for the Pull Request to fix this!
It’s my fault that I should not read a non-exist file outside the module directory.
pinject@0.12.6
has just published on pypi.org, please test and let me know if it works, thank you very much!