cairo-lang
cairo-lang copied to clipboard
Unable to build on mac
It fails in one of two places:
[ 24%] Generating ../../python_libs/gen_solidity_venv.info
....
File "/usr/local/Cellar/[email protected]/3.7.13_1/bin/../Frameworks/Python.framework/Versions/3.7/lib/python3.7/os.py", line 812, in fsencode
filename = fspath(filename) # Does type-checking of `filename`.
TypeError: expected str, bytes or os.PathLike object, not NoneType
src/cmake_utils/CMakeFiles/gen_solidity_venv.dir/build.make:73: *** [python_libs/gen_solidity_venv.info] error 1
or
[ 80%] Generating ../../../../python_libs/cairo_lang_venv.info
...
File "/usr/local/Cellar/[email protected]/3.7.13_1/bin/../Frameworks/Python.framework/Versions/3.7/lib/python3.7/os.py", line 812, in fsencode
filename = fspath(filename) # Does type-checking of `filename`.
TypeError: expected str, bytes or os.PathLike object, not NoneType
src/starkware/cairo/lang/CMakeFiles/cairo_lang_venv.dir/build.make:78: *** [python_libs/cairo_lang_venv.info] error 1
Which one is unpredictable.
python --version
Python 3.7.13