kensanata / mastodon-archive

Archive your statuses, favorites and media using the Mastodon API (i.e. login required)
https://alexschroeder.ch/software/Mastodon_Archive
GNU General Public License v3.0
358 stars 33 forks source link

Command "python setup.py egg_info" failed with error code 1 #35

Closed MaiaDereva closed 5 years ago

MaiaDereva commented 5 years ago

Hello kensanata, I tried to install with the command: pip3 install mastodon-archive But I got this error message:

Collecting mastodon-archive
  Using cached https://files.pythonhosted.org/packages/b9/ac/ac703bd0a8aac433c00fea2f3c360542b6cc897ad741cedf30df43d04b4c/mastodon_archive-1.1.0.tar.gz
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
    ModuleNotFoundError: No module named 'setuptools'

    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-4kf7emri/mastodon-archive/

Can you help me?

kensanata commented 5 years ago

Sadly, I have no idea what this means. Your setup is somehow broken? Perhaps somebody else can help?

MaiaDereva commented 5 years ago

OK, thank you, I'll try to find someone (I'm not an expert ^^)

MaiaDereva commented 5 years ago

For information, somebody helped me with the command: pip3 install --user setuptools Now everything works well :)

kensanata commented 5 years ago

Very cool! I'll add that to the README. Thanks!

kensanata commented 5 years ago

See https://github.com/kensanata/mastodon-backup/commit/c2678c5a75bbbecff335ed70349ccd238cbed3f1