On Sat, Dec 21, 2019 at 2:25 AM Mahmood Naderan via Python-list <python-list@python.org> wrote: > > Hi > > I can install collect with pip for python2.7 > $ pip install --user collect
> However, pip3 fails with this error > $ pip3 install --user collect > NameError: name 'file' is not defined > > I can not figure out what is the problem. Any way to fix that? > Are you trying to install this package? https://pypi.org/project/collect/ It's alpha software that does not claim to support Python 3. The last release was in 2011. The web site it links to is defunct. Maybe that wasn't what you intended to install? Check the spelling of the package you're trying to install - maybe it's named slightly differently. ChrisA -- https://mail.python.org/mailman/listinfo/python-list