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

brew install scikit-image isn't importable from python3.12 #174859

Open
3 tasks done
satzg opened this issue Jun 18, 2024 · 2 comments
Open
3 tasks done

brew install scikit-image isn't importable from python3.12 #174859

satzg opened this issue Jun 18, 2024 · 2 comments
Labels
bug Reproducible Homebrew/homebrew-core bug

Comments

@satzg
Copy link

satzg commented Jun 18, 2024

brew doctor output

Your system is ready to brew.

Verification

  • My "brew doctor output" above says Your system is ready to brew. and am still able to reproduce my issue.
  • I ran brew update twice and am still able to reproduce my issue.
  • This issue's title and/or description do not reference a single formula e.g. brew install wget. If they do, open an issue at https://github.com/Homebrew/homebrew-core/issues/new/choose instead.

brew config output

HOMEBREW_VERSION: 4.3.6
ORIGIN: https://github.com/Homebrew/brew
HEAD: e8430b25a1d1321f32e5093d62b57b5cb7cfb3c3
Last commit: 35 hours ago
Core tap JSON: 18 Jun 03:07 UTC
Core cask tap JSON: 18 Jun 03:07 UTC
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CASK_OPTS: []
HOMEBREW_EDITOR: emacs
HOMEBREW_MAKE_JOBS: 8
Homebrew Ruby: 3.3.3 => /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/3.3.3/bin/ruby
CPU: octa-core 64-bit penryn
Clang: 14.0.0 build 1400
Git: 2.37.1 => /Library/Developer/CommandLineTools/usr/bin/git
Curl: 8.4.0 => /usr/bin/curl
macOS: 12.7.4-x86_64
CLT: 14.2.0.0.1.1668646533
Xcode: 14.2

What were you trying to do (and why)?

Install scikit-image and use in python. Import scimage results ModuleNotFoundError: No module named 'skimage'

What happened (include all command output)?

find /usr/local -name "scikit"
/usr/local/var/homebrew/linked/scikit-image
/usr/local/opt/scikit-image
/usr/local/Cellar/scikit-image
/usr/local/Cellar/scikit-image/0.23.2/.brew/scikit-image.rb
/usr/local/Cellar/scikit-image/0.23.2/libexec/lib/python3.12/site-packages/scikit_image-0.23.2.dist-info

find /usr/local -name "skimage"
/usr/local/Cellar/scikit-image/0.23.2/libexec/lib/python3.12/site-packages/skimage

What did you expect to happen?

It seems scikit-image isn't searchable from the library import path.

Step-by-step reproduction instructions (by running brew commands)

brew install scikit-image
python3
Python 3.12.4 (main, Jun  7 2024, 04:37:10) [Clang 14.0.0 (clang-1400.0.29.202)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import skimage
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'skimage'
@satzg satzg added the bug Reproducible Homebrew/homebrew-core bug label Jun 18, 2024
@Bo98 Bo98 transferred this issue from Homebrew/brew Jun 18, 2024
@SMillerDev
Copy link
Member

What does which python3 say?

@satzg
Copy link
Author

satzg commented Jun 18, 2024

/usr/local/bin/python3
Python 3.12.4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Reproducible Homebrew/homebrew-core bug
Projects
None yet
Development

No branches or pull requests

2 participants