There is an error in the README from what I understand because python src/run.py doesn't add the project root to Python's path, so SRC isn't found. It needs to be run as a module instead.
python -m src.run is correct
Here is error @jerber :
Kian_Kyars@KianKyars-MacBook-Air arc-lang-public % source .venv/bin/activate
(arc-lang-public) Kian_Kyars@KianKyars-MacBook-Air arc-lang-public % python src/run.py
Traceback (most recent call last):
File "/Users/Kian_Kyars/Developer/arc-lang-public/src/run.py", line 12, in <module>
from src.async_utils.semaphore_monitor import MonitoredSemaphore
ModuleNotFoundError: No module named 'src'
(arc-lang-public) Kian_Kyars@KianKyars-MacBook-Air arc-lang-public %
There is an error in the README from what I understand because python src/run.py doesn't add the project root to Python's path, so SRC isn't found. It needs to be run as a module instead.
python -m src.run is correct
Here is error @jerber :