Pyrlang Term library

Hi,

I’ve been trying to make some use of Pyrlang. Elixir example:

[Pyrlang]$ make example10a
PYTHONPATH=/home/alexey/spaces/elixir/Pyrlang:/home/alexey/spaces/elixir/Pyrlang/../Term PYRLANG_ENABLE_LOG_FORMAT=1 PYRLANG_LOG_LEVEL=DEBUG python3 examples/elixir/e10.py
Traceback (most recent call last):
  File "examples/elixir/e10.py", line 12, in <module>
    from term import Atom
ModuleNotFoundError: No module named 'term'
make: *** [Makefile:69: example10a] Error 1

First I have to install the Term library, they say.

$ pip install pyrlang-term
Collecting pyrlang-term
  ERROR: Could not find a version that satisfies the requirement pyrlang-term (from versions: none)
ERROR: No matching distribution found for pyrlang-term

Sure enough, no pyrlang at all on PyPi. What then?

Pyrlang seems to be reasonably popular with Elixir; I hope, this forum is a good enough place to ask such questions.

1 Like

Seems to be a known isse…

You probably have to wait, or install using the manual installation method.

Well, there is no manual installation paragraph in the readme. At least, I have not been able to find it :slight_smile: .

Sorry, pip install .

Oh, then I misread the “first install rust” and following paragraphs.

By the way, you are probably right about having to wait. The example source is very likely obsolete, too.