pinterest-web-scraper icon indicating copy to clipboard operation
pinterest-web-scraper copied to clipboard

I keep getting this error when trying to run download similar images

Open biggieboat opened this issue 3 years ago • 1 comments

File "dowload_similar_images.py", line 44, in df = pd.read_csv(csvname) # CSV with PINS' visual search URLs File "C:\Users\thevo\anaconda3\lib\site-packages\pandas\io\parsers.py", line 610, in read_csv return _read(filepath_or_buffer, kwds) File "C:\Users\thevo\anaconda3\lib\site-packages\pandas\io\parsers.py", line 462, in _read parser = TextFileReader(filepath_or_buffer, **kwds) File "C:\Users\thevo\anaconda3\lib\site-packages\pandas\io\parsers.py", line 819, in init self._engine = self._make_engine(self.engine) File "C:\Users\thevo\anaconda3\lib\site-packages\pandas\io\parsers.py", line 1050, in _make_engine return mapping[engine](self.f, **self.options) # type: ignore[call-arg] File "C:\Users\thevo\anaconda3\lib\site-packages\pandas\io\parsers.py", line 1867, in init self._open_handles(src, kwds) File "C:\Users\thevo\anaconda3\lib\site-packages\pandas\io\parsers.py", line 1362, in _open_handles self.handles = get_handle( File "C:\Users\thevo\anaconda3\lib\site-packages\pandas\io\common.py", line 642, in get_handle handle = open( PermissionError: [Errno 13] Permission denied:

How do I fix this

biggieboat avatar Mar 31 '21 16:03 biggieboat

Hi @biggieboat,

I tried to reproduce the error, but I was not able to that. Although it seems to be that the error is because of file permission for the CSV. Maybe this could help

SwatiModi avatar Apr 02 '21 05:04 SwatiModi