GoogleScraper icon indicating copy to clipboard operation
GoogleScraper copied to clipboard

Install bug on win8

Open gaobb opened this issue 9 years ago • 6 comments

Hi, Can't get this to install on windows. I get the following: File "C:\Python34\lib\distutils\util.py", line 127, in convert_path raise ValueError, "path '%s' cannot end with '/'" % pathname ValueError: path './' cannot end with '/'

gaobb avatar Feb 05 '16 09:02 gaobb

I experience the same issue on Windows 10 x64 with Anaconda virtual environment Python 3.5.1 Occurs on manual python setup.py install too

ITSecMedia avatar Feb 15 '16 10:02 ITSecMedia

Same issue. Any workaround/solution for this?

derekcoleman avatar May 06 '16 00:05 derekcoleman

Yeah, there is a work around. This is the same issue that is in issue [https://github.com/NikolaiT/GoogleScraper/issues/145 ]

Download the source code from Github. Then you need to edit setup.py file. Remove the / from the package_dir={'examples': 'examples/'}. Once the forward slash is removed, save file. And then the installation should work on Windows.

You can install local source code using pip: pip install

ddmee avatar Jul 07 '16 09:07 ddmee

Especially for supernoob ~(like me)~ As mentioned before, you can install local source code after download and modify the source code from Github.

Check this link if you still have no idea what to do https://packaging.python.org/installing/#installing-from-a-local-src-tree

rifqiabidin avatar Mar 13 '17 09:03 rifqiabidin

Thanks a lot!! I followed @rifqiabidin 's link and did the "Installing from a local src tree" and it finally worked.

sysilviakim avatar Jun 15 '17 23:06 sysilviakim

@eolica glad to hear that

rifqiabidin avatar Jun 16 '17 04:06 rifqiabidin