Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The program cannot be installed #147

Open
35609902357 opened this issue Oct 11, 2019 · 1 comment
Open

The program cannot be installed #147

35609902357 opened this issue Oct 11, 2019 · 1 comment

Comments

@35609902357
Copy link

If I install the program using sudo pip install -U shreddit I get an error saying
praw requires Python '>=3.4' but the running Python is 2.7.16.
python3 version is 3.7.3
python version is 2.7.16
If I install it using sudo pip3 install -U shreddit the installer succeeds, but when I launch it I get this error

shreddit -u user
INFO:shreddit:Logged in as user.
Traceback (most recent call last):
  File "/usr/local/bin/shreddit", line 10, in <module>
    sys.exit(main())
  File "/usr/local/lib/python3.7/dist-packages/shreddit/app.py", line 44, in main
    shredder = Shredder(default_config, args.user)
  File "/usr/local/lib/python3.7/dist-packages/shreddit/shredder.py", line 33, in __init__
    self._recent_cutoff = arrow.now().replace(hours=-self._hours)
  File "/usr/local/lib/python3.7/dist-packages/arrow/arrow.py", line 603, in replace
    raise AttributeError('unknown attribute: "{}"'.format(key))
AttributeError: unknown attribute: "hours"
@EthanZeigler
Copy link

See #146

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants