Skip to content

Commit 1b7f312

Browse files
committed
Write about pyenv [ci skip]
1 parent e097cfd commit 1b7f312

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,15 @@ pycall.rb supports Python version 2.7 or higher.
2323

2424
Note that in Python 2.7 old-style class, that is defined without a super class, is not fully supported in pycall.rb.
2525

26+
## Note for pyenv users
27+
28+
pycall.rb requires Python's shared library (e.g. `libpython3.7m.so`).
29+
pyenv does not build the shared library in default, so you need to specify `--enable-shared` option at the installation like below:
30+
31+
```
32+
$ env PYTHON_CONFIGURE_OPTS='--enable-shared' pyenv install 3.7.2
33+
```
34+
2635
## Installation
2736

2837
Add this line to your application's Gemfile:

0 commit comments

Comments
 (0)