Code Monkey home page Code Monkey logo

Comments (6)

tony-h avatar tony-h commented on August 16, 2024 3

It looks like the system doesn't know where the python executable is. Maybe something messed up during the init process?
Try running: which python

Here is the output from my box:

root@1069a:~/openedx-docker# python --version
Python 2.7.12
root@1069a:~/openedx-docker# which python
/usr/bin/python

I don't know if these link will help, but you can check them out:

from tutor.

tony-h avatar tony-h commented on August 16, 2024

Since you are running Python3, you can look at creating an alias:
https://askubuntu.com/questions/320996/how-to-make-python-program-command-execute-python-3#321000

from tutor.

aybase avatar aybase commented on August 16, 2024

Thanks for the links! I tried with Python v2.7.12 and made it through much of the process until I hit a migrate error:


...
Applying third_party_auth.0008_auto_20170413_1455... OK
Applying third_party_auth.0009_auto_20170415_1144... OK
Applying third_party_auth.0010_add_skip_hinted_login_dialog_field... OK
Applying third_party_auth.0011_auto_20170616_0112... OK
Applying third_party_auth.0012_auto_20170626_1135...bash: line 1: 12 Killed ./manage.py lms migrate
Makefile:28: recipe for target 'migrate-openedx' failed
make: *** [migrate-openedx] Error 137
root@foobar:~/openedx-docker#


from tutor.

regisb avatar regisb commented on August 16, 2024

@aybase this section of the readme should be of interest ;-) https://github.com/regisb/openedx-docker#running-migrations-killed

@tony-h thanks for the user support!

from tutor.

aybase avatar aybase commented on August 16, 2024

I've successfully installed openedx-docker. However I'm re-posting to inform potential Digital Ocean users that their 4GB hosting tier will not suffice. I had to upgrade to 8GB to get the expected result.

@regisb gratitude for your excellent work.

from tutor.

zacario-li avatar zacario-li commented on August 16, 2024

Hi, I cannot seem to get past make all...

----------------------------------------------
root@foobar:~/openedx-docker# make all
./configure
/usr/bin/env: ‘python’: No such file or directory
Makefile:19: recipe for target 'configure' failed
make: *** [configure] Error 127
----------------------------------------------

Running a fresh install of Ubuntu 16.04.4 x64 on Digital Ocean. Docker and Python 3 installed. Suggestions? much appreciated.

run below cmd, have fun

update-alternatives --install /usr/bin/python python /usr/bin/python3 200

from tutor.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.