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

error when running sudo python3 setup.py develop #53

Open
caduarte82 opened this issue Jun 1, 2024 · 2 comments
Open

error when running sudo python3 setup.py develop #53

caduarte82 opened this issue Jun 1, 2024 · 2 comments

Comments

@caduarte82
Copy link

caduarte82 commented Jun 1, 2024

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
Copy link

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
Copy link
Author

caduarte82 commented Sep 12, 2024

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.

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