amir-Nau / MachineLearning

Compilation of projects
10 stars 2 forks source link

gym import fail #1

Closed OusmaneKana closed 3 years ago

OusmaneKana commented 5 years ago

ModuleNotFoundError Traceback (most recent call last)

in ----> 1 import gym 2 import numpy as np 3 env = gym.make("MountainCar-v0") 4 5 ModuleNotFoundError: No module named 'gym' >>I have gym installed through pip
amir-Nau commented 5 years ago

Try to use pip3 to install a gym.

On Tue, Aug 27, 2019 at 3:30 PM Serigne Ousmane Kana Ciss < notifications@github.com> wrote:

ModuleNotFoundError Traceback (most recent call last) in ----> 1 import gym 2 import numpy as np 3 env = gym.make("MountainCar-v0") 4 5

ModuleNotFoundError: No module named 'gym'

I have gym installed through pip

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/amir-Nau/MachineLearning/issues/1?email_source=notifications&email_token=AIN6ND7PTTXXUW57O2DJS33QGWFFDA5CNFSM4IQMIAXKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HHYBY3Q, or mute the thread https://github.com/notifications/unsubscribe-auth/AIN6ND3VXMV5TF6IC6V5RPTQGWFFDANCNFSM4IQMIAXA .

amir-Nau commented 5 years ago

Or run as python3

On Tue, Aug 27, 2019 at 4:14 PM amir boltaev amir.99.boltaev@gmail.com wrote:

Try to use pip3 to install a gym.

On Tue, Aug 27, 2019 at 3:30 PM Serigne Ousmane Kana Ciss < notifications@github.com> wrote:

ModuleNotFoundError Traceback (most recent call last) in ----> 1 import gym 2 import numpy as np 3 env = gym.make("MountainCar-v0") 4 5

ModuleNotFoundError: No module named 'gym'

I have gym installed through pip

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/amir-Nau/MachineLearning/issues/1?email_source=notifications&email_token=AIN6ND7PTTXXUW57O2DJS33QGWFFDA5CNFSM4IQMIAXKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HHYBY3Q, or mute the thread https://github.com/notifications/unsubscribe-auth/AIN6ND3VXMV5TF6IC6V5RPTQGWFFDANCNFSM4IQMIAXA .