edx-platform: manual install required for new openedx directory

179 views
Skip to first unread message

Andy Armstrong

unread,
Dec 8, 2014, 2:38:49 PM12/8/14
to edx-...@googlegroups.com, edX internal development
The changes to support the new openedx directory have been merged to edx-platform master, and there is an issue that might require manual intervention. For some people, running 'paver install_prereqs' will not correctly update the Open edX package, which leads to unit test failures with errors like this:

  UserPartitionError: Unrecognized scheme random

The problem appears to be that pip has not noticed the bump in the Open edX version number and so has not correctly reinstalled the package. The workaround is to execute the following from your devstack:

  paver install_prereqs; pip install -e .

You can check that you have the correct version installed with the following command. It should show that you have version 0.2:

  ~/edx-platform$ pip list | grep Open-edX
  Open-edX (0.2, /edx/app/edxapp/edx-platform)

Please let me know if you have any problems with this.

 - Andy

--

Andy Armstrong

edX | UI Architect  | an...@edx.org  

141 Portland Street, 9th floor

Cambridge, MA 02139

http://www.edx.org

http://www.e-learn.nl/media/blogs/e-learn/edX_Logo_Col_RGB_FINAL.jpg?mtime=1336074566

Ahmad Abd Arrahman

unread,
Dec 12, 2014, 1:52:42 PM12/12/14
to edx-...@googlegroups.com, d...@edx.org

I followed the manual instructions but still get version 1.0 

Andy Armstrong

unread,
Dec 12, 2014, 3:26:11 PM12/12/14
to Ahmad Abd Arrahman, edx-...@googlegroups.com, edX internal development
Hi Ahmad,

I'm sorry that the instructions didn't work for you. A more aggressive option is to do the following:

    pip uninstall Open-edX      (then say 'y' to proceed)
    paver install_prereqs; pip install -e .
    pip list | grep Open-edX

Let me know if this works.

 - Andy

--
You received this message because you are subscribed to the Google Groups "edX internal development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dev+uns...@edx.org.
For more options, visit https://groups.google.com/a/edx.org/d/optout.

Ahmad Abd Arrahman

unread,
Dec 12, 2014, 7:09:34 PM12/12/14
to edx-...@googlegroups.com, mygoo...@gmail.com, d...@edx.org
Thanks Andy,
it is not working for me and I knew why. the reason is that edx-platfrom is pulling code from "release" branch not master so I still not having the setup.py updated version.

I changed to master and every thing is fine, thanks

Ahmad

aruna edx

unread,
Aug 26, 2018, 8:22:45 PM8/26/18
to General Open edX discussion
Hi

I am getting this error

Build failed: Unknown task: install_prereqs

Plese help me on this


Thanks and Regards

shiv om sharma

unread,
Aug 29, 2018, 12:55:17 AM8/29/18
to edx-...@googlegroups.com
Hi all,
          canone tell the steps how to run edx on my local machine means on localhost i want to run edx. 
Thanks in advance.

--
You received this message because you are subscribed to the Google Groups "General Open edX discussion" group.
To view this discussion on the web visit https://groups.google.com/d/msgid/edx-code/062a9597-258f-4f9e-9238-ce1afa9fad58%40googlegroups.com.

RITIK KUMAR

unread,
Jun 27, 2019, 6:53:35 AM6/27/19
to General Open edX discussion
I am also facing the same issue. Were you able to figure it out ??
Reply all
Reply to author
Forward
0 new messages