We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 86ce684 commit 64b81fbCopy full SHA for 64b81fb
PythonKit/PythonLibrary.swift
@@ -81,7 +81,7 @@ extension PythonLibrary {
81
#if canImport(Darwin)
82
private static var libraryNames = ["Python.framework/Versions/:/Python"]
83
private static var libraryPathExtensions = [""]
84
- private static var librarySearchPaths = ["", "/usr/local/Frameworks/"]
+ private static var librarySearchPaths = ["", "/opt/homebrew/Frameworks/", "/usr/local/Frameworks/"]
85
private static var libraryVersionSeparator = "."
86
#elseif os(Linux)
87
private static var libraryNames = ["libpython:", "libpython:m"]
0 commit comments