4 ms·
Thanks mihaip! Worked successfully in Windows CMD for me, without using the \bin shell script: cd C:\mihaip-readerisdead set PYTHON_HOME=C:\mihaip-readeri
by nod 13y ago
Thanks mihaip!
Worked successfully in Windows CMD for me, without using the \bin shell script:
cd C:\mihaip-readerisdead
set PYTHON_HOME=C:\mihaip-readerisdead
C:\path-to-py27 reader_archive\reader_archive.py --output-directory C:\mystuff
Locked up at 251K out of 253K items for me, though. Restarting... success! Looks like it might have locked up trying to start the "Fetching comments" section on my first try.
- kcvv 13y agoI'm trying this on windows and seem to be missing base.api module. I can't seem to find this module as well - anyone have a clue where i can get this module?
- ijk 13y agoIt's in the \base folder. Set the main folder to be the Python root, as in the grandfather post, and it should be able to find it.
- kcvv 13y agoThanks! For what ever reason, setting the python root did not help, but i just copied the 'base' folder to python lib folder and that seems to have done the trick.
- daniel_reetz 13y agoI also had success (on W7) using this method. Thank you, mihaip, I am truly grateful.
- ccera 13y agoIn addition to the above methods, you can copy the base folder and paste it into the same folder as reader_archive.py -- that's what I did and it worked fine.
- ebcase 13y agoSimilar thing happened to me — it locked up when it was almost to the end, so I killed and restarted the process, and it finished successfully. Thanks, Mihai!
- TheShiningOne 13y agoThanks very much! I know next to nothing about Windows Command and python. Tried to apply your method and "path-to-py27" is not recognised. Does it mean that i should put the path to the Python 27 program directory? in what form exactly (on my computer, it is at C:\Python27. Or does it just mean the path to the directory where the app is already? I tried without C:\path-to-py27, just typing "reader_archive\reader_archive.py --output-directory C:\mystuff" and got the following response: "Traceback (most recent call last:) File "C:\mihaip-readerisdead set PYTHON_HOME=C:\mihaip-readerisdead\reader_archive\reader_archive.py, line 12, in <module> import base.api ImportError: No module named base.api Any idea?
- kcvv 13y agoCopy the folder named 'base' to c:\python27\lib folder. That did the trick for me. After that, you should be able to just run "reader_archive\reader_archive.py --output-directory C:\mystuff"
- TheShiningOne 13y agoThanks!
- TheShiningOne 13y agoNevermind, seems to be working fine now! Just have to wait till it finishes downloading.
- stalled 13y agoCommon typo: there are no underscores in PYTHONHOME and PYTHONPATH (and you should use PYTHONPATH in this case) http://docs.python.org/2/using/cmdline.html#environment-variables http://docs.python.org/2/using/cmdline.html#environment-vari...