Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

pipenv install glob fails

I tried to install glob in my virtual python (version 3.5) environment. This is an error I got. I found similar questions on this channel, but not much of help.

$pipenv install glob Installing glob… Collecting glob

Error: An error occurred while installing glob! Could not find a version that satisfies the requirement glob (from versions: ) No matching distribution found for glob

like image 490
David Min Avatar asked Oct 17 '25 22:10

David Min


1 Answers

The issue is that pipenv looks up the version in the url specified in [[source]] in the Pipfile and glob is not in there. However, glob is part of the Standard Library in Python so you do not need to install it via pipenv and you can just call it from your script 'import glob' and it should work.

like image 68
Sebastian Avatar answered Oct 19 '25 11:10

Sebastian



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!