Farama-Foundation / HighwayEnv

A minimalist environment for decision-making in autonomous driving
https://highway-env.farama.org/
MIT License
2.65k stars 757 forks source link

'HighwayEnv' object has no attribute 'np_random' #394

Closed Kalash-P closed 1 year ago

Kalash-P commented 1 year ago

I'm not able to resolve this issue, please help image

JoshYank commented 1 year ago

I found this error in the parking environment because of the order of the installs. If you install highway-env after the other dependencies it should fix it.

Kalash-P commented 1 year ago

Hey, will try that out. thank you.

On Wed, Dec 7, 2022, 6:56 PM JoshYank @.***> wrote:

I found this error in the parking environment because of the order of the installs. If you install highway-env after the other dependencies it should fix it.

— Reply to this email directly, view it on GitHub https://github.com/eleurent/highway-env/issues/394#issuecomment-1340965758, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATHV3E6GW6UXTW5C4LN7R73WMCF6VANCNFSM6AAAAAASV7RICU . You are receiving this because you authored the thread.Message ID: @.***>

-- The information contained in this electronic communication is intended solely for the individual(s) or entity to which it is addressed. It may contain proprietary, confidential and/or legally privileged information. Any review, retransmission, dissemination, printing, copying or other use of, or taking any action in reliance on the contents of this information by person(s) or entities other than the intended recipient is strictly prohibited and may be unlawful. If you have received this communication in error, please notify us by responding to this email or telephone and immediately and permanently delete all copies of this message and any attachments from your system(s). The contents of this message do not necessarily represent the views or policies of BITS Pilani.

ajam74001 commented 1 year ago

this solved it for me:

  1. pip install stable-baselines3[extra]
  2. pip install highway-env==1.5
Kalash-P commented 1 year ago

Cool will try it out. Thank you.

On Thu, Dec 8, 2022, 5:41 PM Ainaz Jamshidi @.***> wrote:

this solved it for me:

  1. pip install stable-baselines3[extra]
  2. pip install highway-env==1.5

— Reply to this email directly, view it on GitHub https://github.com/eleurent/highway-env/issues/394#issuecomment-1342635015, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATHV3E76NE5QOE4KZUVQ463WMHF7VANCNFSM6AAAAAASV7RICU . You are receiving this because you authored the thread.Message ID: @.***>

-- The information contained in this electronic communication is intended solely for the individual(s) or entity to which it is addressed. It may contain proprietary, confidential and/or legally privileged information. Any review, retransmission, dissemination, printing, copying or other use of, or taking any action in reliance on the contents of this information by person(s) or entities other than the intended recipient is strictly prohibited and may be unlawful. If you have received this communication in error, please notify us by responding to this email or telephone and immediately and permanently delete all copies of this message and any attachments from your system(s). The contents of this message do not necessarily represent the views or policies of BITS Pilani.