andrewning / sortphotos

SortPhotos is a Python script that organizes photos and videos into folders using date/time information

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Install error

madcoda9000 opened this issue · comments

Hello,
i have done the following:

  1. loggged in as root (sudo su) (Ubuntu 20.04)
  2. git clone https://github.com/andrewning/sortphotos.git
  3. cd sortphotos
  4. python setup.py install

I receive the following error:

[06:26] root@blackhole:sortphotos# python setup.py install Traceback (most recent call last): File "setup.py", line 4, in <module> from setuptools import setup, find_packages ImportError: No module named setuptools

I hope anyone can help me.

Try installing setuptools prior to running setup.py

Depending on the python version:
sudo apt-get install python3-setuptools
sudo apt-get install python-setuptools

Could you mark the issue as closed?

done :-)