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 trying to install sherlock #2294

Open
1 task done
Biggitybaked opened this issue Sep 13, 2024 · 2 comments
Open
1 task done

Error trying to install sherlock #2294

Biggitybaked opened this issue Sep 13, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@Biggitybaked
Copy link

Installation method

Other (indicate below)

Description

When installing from pipx I get the following errors. I tried installing and reinstalling numpy, anaconda and pandas and get the same error.

Steps to reproduce

Just try installing. From what I can tell sees a issue just with my setup.

Additional information

raise ImportError(msg) from e
ImportError: Error importing numpy: you should not try to import numpy from
its source directory; please exit the numpy source tree, and relaunch
your python interpreter from there.
[end of output]

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

× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.
~ $ pipx install sherlock-project
Fatal error from pip prevented installation. Full pip output in file:
/data/data/com.termux/files/home/.local/state/pipx/log/cmd_2024-09-12_20.49.34_pip_errors.log

pip seemed to fail to build package:
pandas<3.0.0,>=1.0.0

Some possibly relevant errors from pip install:
error: subprocess-exited-with-error
../../pandas/meson.build:1:15: ERROR: Command `/data/data/com.termux/files/home/.local/share/pipx/venvs/sherlock-project/bin/python -c '
error: metadata-generation-failed

Error installing sherlock-project.

Code of Conduct

  • I agree to follow this project's Code of Conduct
@Biggitybaked Biggitybaked added the bug Something isn't working label Sep 13, 2024
@Shyam-duba
Copy link

try using pip

@msiva0197
Copy link

pip install sherlock-project
error: externally-managed-environment

× This environment is externally managed
╰─> To install Python packages system-wide, try apt install
python3-xyz, where xyz is the package you are trying to
install.

If you wish to install a non-Debian-packaged Python package,
create a virtual environment using python3 -m venv path/to/venv.
Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make
sure you have python3-full installed.

If you wish to install a non-Debian packaged Python application,
it may be easiest to use pipx install xyz, which will manage a
virtual environment for you. Make sure you have pipx installed.

See /usr/share/doc/python3.12/README.venv for more information.

note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages.
hint: See PEP 668 for the detailed specification.

please solve the error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants