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 with scikit-fmm==2019.1.30 #32

Open
LebinLiang opened this issue Aug 8, 2024 · 3 comments
Open

error with scikit-fmm==2019.1.30 #32

LebinLiang opened this issue Aug 8, 2024 · 3 comments

Comments

@LebinLiang
Copy link

When I run " pip install -r requirements.txt " to install env, there is something wrong in the following.

$ pip install -r requirements.txt

Collecting scikit-fmm==2019.1.30 (from -r requirements.txt (line 1))
Using cached scikit-fmm-2019.1.30.tar.gz (418 kB)
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error

× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [16 lines of output]
/home/dji/anaconda3/envs/pointnav/lib/python3.9/site-packages/setuptools/_distutils/dist.py:268: UserWarning: Unknown distribution option: 'configuration'
warnings.warn(msg)
error: Multiple top-level packages discovered in a flat-layout: ['skfmm', 'profile'].

  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.
  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

@cgxuvector
Copy link

try: pip install scikit-fmm

@Roberyan
Copy link

I forget the detail, but conda installation have the legacy for this version. I successfully installed the exact version with conda.

@NormanMises
Copy link

Hello, what version of python are you using?

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

4 participants