Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vagrantfile setup/install issues with commit 9aee88d, fixes shared below. #126

Closed
punsoca opened this issue May 28, 2021 · 1 comment
Closed

Comments

@punsoca
Copy link

punsoca commented May 28, 2021

As of 2017-05-27, the latest pip version ( pip 21.0) is no longer supporting python3.5.
Running vagrant up encountering multiple issues, but it still creates the vagrant VM.

However, could not follow the Udacity course exercises as SQLAlchemy is missing from the vagrant VM.

@punsoca
Copy link
Author

punsoca commented May 28, 2021

As of 2017-05-27, the latest pip version ( pip 21.0) is no longer supporting python3.5.

Replace lines 5 and 6 as follows - the new vm box configs will install python 3.6.9 instead of python3.5.

 line 5: config.vm.box = "bento/ubuntu-18.04"
 line 6: config.vm.box_version = "202012.21.0"

Also comment out lines that reference pip2 , since python2 is no longer supported anyway.

line 31:   # apt-get -qqy install python python-pip
line 32:   # pip2 install --upgrade  pip
line 33:   # pip2 install flask packaging oauth2client redis passlib flask-httpauth
line 34:   # pip2 install sqlalchemy flask-sqlalchemy psycopg2-binary bleach requests

After making the edits, I am now able to follow the SQLAlchemy exercises in the Udacity Full Stack Foundation course.

This should work with VirtualBox 6.x. I am running with VirtualBox 6.0.4 version.

@punsoca punsoca closed this as completed May 28, 2021
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

No branches or pull requests

1 participant