reddit-html-archiver icon indicating copy to clipboard operation
reddit-html-archiver copied to clipboard

Write command fails.

Open jtheletter opened this issue 4 years ago • 6 comments

reddit-html-archiver-master % ./write_html.py 
Traceback (most recent call last):
  File "./write_html.py", line 7, in <module>
    import snudown
ImportError: No module named snudown
reddit-html-archiver-master % python3 --version
Python 3.8.3
reddit-html-archiver-master % pip3 --version
pip 20.1.1 from /Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/pip (python 3.8)
reddit-html-archiver-master % 

jtheletter avatar Jun 30 '20 22:06 jtheletter

Did you run this stuff?

$ git clone https://github.com/chid/snudown $ cd snudown $ sudo python setup.py install

Maybe try changing that last line to 'sudo python3 setup.py install'

libertysoft3 avatar Jul 01 '20 04:07 libertysoft3

Yes, I ran those commands with python3.

jtheletter avatar Jul 01 '20 17:07 jtheletter

What do you have for

$ python --version

Maybe try this, no sudo

$ python3 setup.py install

Also review the stuff in this issue: https://github.com/libertysoft3/reddit-html-archiver/issues/18

libertysoft3 avatar Jul 01 '20 22:07 libertysoft3

I included the version number for your benefit.

I didn't run the installation command with sudo, and it threw no error or warning.

jtheletter avatar Jul 01 '20 22:07 jtheletter

Well maybe try running the snudown install with sudo. Your python cannot find your snudown.

libertysoft3 avatar Jul 02 '20 10:07 libertysoft3

I've tried running with sudo, without sudo, with python3 and with python, and it is still unable to locate snudown. I'm running an Ubuntu-ish Linux with version 3.5.3 of Python and 3.5.3 of Pip, if that helps at all. I am also running all commands through a pipenv.

ching-shih avatar Jul 20 '20 15:07 ching-shih