4

I used pip install zipfile, and error went out:

Could not find a version that satisfies the requirement zipfile (from versions: ) No matching distribution found for zipfile

Addition Info: pip 18.1 from /Users/xxxx/Library/Python/2.7/lib/python/site-packages/pip (python 2.7)

Dharman
  • 30,962
  • 25
  • 85
  • 135
Boat.Xin
  • 51
  • 1
  • 4

1 Answers1

17

You don't need to install it. zipfile is in the Python standard library. import zipfile should work just fine on both Python 2.7 and Python 3.7.

Aykhan Hagverdili
  • 28,141
  • 6
  • 41
  • 93