Skip to content

Commit 0fdedfb

Browse files
committed
Merge branch 'master' of github.com:clj-python/libpython-clj
2 parents 181a4f5 + 953e42f commit 0fdedfb

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,13 @@ configuration as json. We parse the json and use the output to attempt to find
160160
the `libpython3.Xm.so` shared library so for example if we are loading python
161161
3.6 we look for `libpython3.6m.so` on Linux or `libpython3.6m.dylib` on the Mac.
162162

163+
If we are unable to find a dynamic library such as `libpythonx.y.so` or `libpythonx.z.dylib`,
164+
it may be because Python is statically linked and the library is not present at all.
165+
This is dependent on the operating system and installation, and it is not always possible to detect it.
166+
In this case, we will receive an error message saying "Failed to find a valid python library!".
167+
To fix this, you may need to install additional OS packages or manually set the precise library location during `py/initialize!`.
168+
169+
163170
This pathway has allowed us support Conda albeit with some work. For examples
164171
using Conda, check out the facial rec repository a)bove or look into how we
165172
[build](scripts/build-conda-docker)

0 commit comments

Comments
 (0)