Closed mtshikomba closed 2 months ago
import cStringIO as sio
the import script above gives me the following error
ModuleNotFoundError: No module named 'cStringIO'
So I tried to install the package:
pip install cStringIO
I got the response below:
ERROR: Could not find a version that satisfies the requirement cStringIO (from versions: none) ERROR: No matching distribution found for cStringIO
The import below solved my problem, so I replaced this with the previous import.
from io import BytesIO as sio
Perfect!!!
import cStringIO as sio
the import script above gives me the following error
ModuleNotFoundError: No module named 'cStringIO'
So I tried to install the package:
pip install cStringIO
I got the response below:
ERROR: Could not find a version that satisfies the requirement cStringIO (from versions: none) ERROR: No matching distribution found for cStringIO
The import below solved my problem, so I replaced this with the previous import.
from io import BytesIO as sio