JohnMarzulli / categorical-sectional

Version of the light-up-map that works with "individually addressable" string lights based on the WS2801.
28 stars 17 forks source link

error when running sudo python3 setup.py develop #53

Open caduarte82 opened 4 months ago

caduarte82 commented 4 months ago

per these directions here: https://github.com/JohnMarzulli/categorical-sectional/blob/release/media/os_install.md

I get the following error when running sudo python3 setup.py develop

error: Multiple top-level packages discovered in a flat-layout: ['lib', 'data', 'media', 'renderers', 'MapConfig', 'visualizers', 'data_sources', 'configuration'].

To avoid accidental inclusion of unwanted files or directories, setuptools will not proceed with this build.

If you are trying to create a single distribution with multiple packages on purpose, you should not rely on automatic discovery. Instead, consider the following options:

  1. set up custom discovery (find directive with include or exclude)
  2. use a src-layout
  3. explicitly set py_modules or packages with a list of names

To find more information, look for "package discovery" on setuptools docs.

xxxgumby commented 1 month ago

Yeah, I am also running into this issue. I tried to fix it the way the error is telling me to, but I just seem to run into more issues then with other repositories seemingly being deprecated and no longer working.. :D

Any help would be appreciated :)

caduarte82 commented 1 month ago

Hi @xxxgumby xxxgumby After doing some research, it looks like newer releases of python doesn't support this workflow. I ended up downloading an older version of Raspian that contained an older version of Python. I'm sure there's a better way of doing this, I'm not much of a Python programmer. I can see what link I used directly and share it with you when I have more time, but I got it somewhere within this archive and based it on the date of the last commit of this repo

https://downloads.raspberrypi.org/raspbian/archive/

That at least got me me beyond that point/issue. I'm having other issues getting it to work but I haven't spent much time on debugging that separate issue.