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

尝试安装 blind_watermark 时,尽管 numpy 已经安装,但安装过程中仍然找不到 numpy 模块 #151

Open
nextleafzhao opened this issue Dec 22, 2024 · 0 comments

Comments

@nextleafzhao
Copy link

安装时出现问题:

pip install .
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple
Processing d:\documents\projectsourcecode\blind_watermark_s\blind_watermark
  Installing build dependencies ... done
  Getting requirements to build wheel ... error
  error: subprocess-exited-with-error

  × Getting requirements to build wheel did not run successfully.
  │ exit code: 1
  ╰─> [24 lines of output]

....

 File "D:\Documents\ProjectSourceCode\blind_watermark_S\blind_watermark\blind_watermark\__init__.py", line 1, in <module>
          from .blind_watermark import WaterMark
        File "D:\Documents\ProjectSourceCode\blind_watermark_S\blind_watermark\blind_watermark\blind_watermark.py", line 7, in <module>
          import numpy as np
      ModuleNotFoundError: No module named 'numpy'
      [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.

(myenv) PS D:\Documents\ProjectSourceCode\blind_watermark_S\blind_watermark> python -c "import numpy; print(numpy.__version__)"
2.2.1
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

1 participant