Closed Suleman-Elahi closed 6 years ago
Hello @Suleman-Elahi. Sorry to hear that :(
I don't have a Windows machine to test it.
Can you please check that amazon2csv
is in your <python_directory>/Scripts
?
Check also that this folder is in your PATH.
Just wanted to bump this issue as I have the same problem on Windows 10.
Yeah. The scripts folder is in the path but the actual problem is that it creates the binary file for Linux or MAC I think. Ideally, on Windows, it should create "amazon2csv.exe" file in the "Scripts" folder.
I'm not sure that it is a binary file, could you please check with an editor? What is written at the top 3-4 lines? Could you add a .py extension to the file, and check again the execution in your command prompt? Thank you, your help is greatly appreciated @Suleman-Elahi
The contents of the "amazon2csv" file are: And after running it with ".py" extension , following happens.
That's weird. I am currently building a Windows VM to reproduce this issue and try to fix it. I'll let you know @Suleman-Elahi and @ReedJessen
Hello,
I renamed amazon2csv
to amazon2csv.py
, and updated the pip package accordingly.
Could you upgrade and test on Windows?
pip3 install --no-cache-dir -U amazonscraper
amazon2csv.py --keywords="Python programming" --maxproductnb=2
I tested on Windows today, and that worked properly.
Recap :
<python_directory>/Scripts
is in your PATHamazon2csv.py --help
in a cmd
window to checkHi Tilbault. My issue may related to this one. It seems executing, but no output? can you help?
Hello @davidliu1978 That is still difficult for me to reproduce it since I don't have a Windows host. Could you try to execute this?
python3 amazon2csv.py --help
thanks
@davidliu1978 Have you tried to install amazon2csv with pip3 install -U amazonscraper
?