Closed PatrickYanZ closed 8 months ago
Hi @PatrickYanZ ,
As stated in https://github.com/LucasAlegre/morl-baselines/blob/main/pyproject.toml#L44C8-L44C18 , the library name is actually pycddlib, so you should install it with:
pip install pycddlib
Hi @LucasAlegre , thanks your prompt response. pip install pycddlib partially works. but I change my env variable.
I fixed in this way
export CPATH=/opt/homebrew/include:$CPATH
in my bash profile
then install as
CFLAGS="-I/opt/homebrew/include" pip install pycddlib
So far the training is good,Thanks!
Indeed, there is a problem with the install of pycddlib on macos. I remembered there was a trick but I didn't remember exactly what. Happy it's solved :)
I tried pip install pycddlib
and pip install cdd
, but it still reported AttributeError: module 'cdd' has no attribute 'Matrix'
. Then I tried pip install cdd==0.1.2
, and it worked.
The "cdd" library installed via "pip install cdd" is never used in our library, and can be uninstalled. You need to install only "pip install pycddlib"
The python interpreter imports the python_cdd
module incorrectly and needs to remove it by:
pip uninstall python-cdd
Then, install the pycddlib
and libgmp
according to:
https://pycddlib.readthedocs.io/en/latest/quickstart.html
https://gmpy2.readthedocs.io/en/latest/
Hi team, I am working on testing highway-env under python
gpi_pd_highway.py gpi-ls false 1
It encounter the error as here around 10000 steps. Do you have any idea to overide this error below ?
I manually reinstall
cdd
asBut still have the error as here.
Thanks