Skip to content

Conversation

@syq-cmdi
Copy link

Now Google Colab only support Python 3.11, a virtual .env with Python=3.10 is needed.

#Create a virtual env
!pip install virtualenv
!virtualenv -p python3.10 myenv
!source myenv/bin/activate && python --version

#Install packages
!myenv/bin/pip install -r requirements.txt

#Run the train model
!myenv/bin/python /content/dc-rl/train_sustaindc.py

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants