fastobo / fastobo-py

Faultless AST for Open Biomedical Ontologies in Python.
http://fastobo.readthedocs.io
MIT License
24 stars 4 forks source link

Failed to install fastobo in new virtual environment #299

Closed pkalita-lbl closed 1 year ago

pkalita-lbl commented 2 years ago

I set up a fresh virtual environment (with Python 3.9) and attempted to install fastobo. In an empty directory:

python -m venv .venv
source .venv/bin/activate
pip install fastobo

This leads to an error message containing:

        File "setup.py", line 16, in <module>
          from setuptools_rust.utils import get_rust_version
      ModuleNotFoundError: No module named 'setuptools_rust.utils'

It looks like v1.4.0 of setuptools-rust made the utils module private and moved the get_rust_version function elsewhere.