deel-ai / puncc

👋 Puncc is a python library for predictive uncertainty quantification using conformal prediction.
https://deel-ai.github.io/puncc/
280 stars 16 forks source link

[Bug]: Makefile does not run properly when no "python" is installed on machine (but only "python3", for example) #31

Closed lmossina closed 1 year ago

lmossina commented 1 year ago

Module

Other

Contact Details

No response

Current Behavior

After git clone https://github.com/deel-ai/puncc.git and cd puncc, the following action has failed:

$ make prepare-dev python -m venv puncc-dev-env make: python: Command not found make: *** [Makefile:17: prepare-dev] Error 127

Cause: on my local machine (ubuntu via WSL on windows), I do not have a python installed, but only python3 and python3.X.

Possible solutions: None trivial, for what I know. Using python3 is a bit better because it is explicit in what we want, but we could have an old (python <= 3.7) version pointed by python3.

Remark: I do not know if not having a python but only python3 is standard, but since I have it, others could (no major tinkering with python on my machine)

Expected Behavior

Installation of prepare-dev virtual environment with puncc and other packages.

Version

v0.9

Environment

- OS: Ubuntu 20.04.5 LTS (Focal Fossa) on Windows Subsystem for Linux (WSL)
- Python version:
- Packages used version:

Relevant log output

No response

To Reproduce

Within a terminal (linux) without python, run:

make prepare-dev