openmooc install instructions

290 views
Skip to first unread message

NOS Life

unread,
Jun 3, 2013, 9:43:39 AM6/3/13
to open...@googlegroups.com
I'm stuck on the install instructions: (https://raw.github.com/OpenMOOC/moocng/master/docs/source/install.rst)

2. In the new django-tastypie directory execute:

.. code-block:: bash

  python setup.py develop

3. In the moocng directory execute:

.. code-block:: bash

  python setup.py develop


#2 executes fine, however #3 - there is nothing in /var/www/moocng besides subdirs:

(moocng)[root@openmooc /]# cd var/www/moocng
(moocng)[root@openmooc moocng]# ls
bin  django-tastypie  include  lib  lib64

Is #3 a mistype? Where is the second setup.py file that needs to be executed? Do I have the wrong moocng directory?


Thanks for any pointers.



Oscar Carballal Prego

unread,
Jun 3, 2013, 10:37:24 AM6/3/13
to open...@googlegroups.com

I'm not sure, but I think the.installation docs are referring to the moocng directory in /home (if you're using the virtual machine). If you are.working on your own you are definitely missing the project files. Did you make a clone of the repo?

--
You received this message because you are subscribed to the Google Groups "OpenMOOC" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openmooc+u...@googlegroups.com.
To post to this group, send email to open...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openmooc/8b785dd8-321f-4ddd-b7f5-2a90bc0e2df8%40googlegroups.com?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

NOS Life

unread,
Jun 3, 2013, 1:05:34 PM6/3/13
to open...@googlegroups.com
Thanks...... Looks like my issue might be that "easy_install moocng" did not work? Not sure why...

(moocng)[root@openmooc moocng]# easy_install moocng
Searching for moocng
Reading http://pypi.python.org/simple/moocng/
Couldn't find index page for 'moocng' (maybe misspelled?)
Scanning index of all packages (this may take a while)
Reading http://pypi.python.org/simple/
No local packages or download links found for moocng
Best match: None
Traceback (most recent call last):
  File "/var/www/moocng/bin/easy_install", line 8, in <module>
    load_entry_point('setuptools==0.6c11', 'console_scripts', 'easy_install')()
  File "build/bdist.linux-i686/egg/setuptools/command/easy_install.py", line 1712, in main
  File "build/bdist.linux-i686/egg/setuptools/command/easy_install.py", line 1700, in with_ei_usage
  File "build/bdist.linux-i686/egg/setuptools/command/easy_install.py", line 1716, in <lambda>
  File "/usr/lib64/python2.6/distutils/core.py", line 152, in setup
    dist.run_commands()
  File "/usr/lib64/python2.6/distutils/dist.py", line 975, in run_commands
    self.run_command(cmd)
  File "/usr/lib64/python2.6/distutils/dist.py", line 995, in run_command
    cmd_obj.run()
  File "build/bdist.linux-i686/egg/setuptools/command/easy_install.py", line 211, in run
  File "build/bdist.linux-i686/egg/setuptools/command/easy_install.py", line 434, in easy_install
  File "build/bdist.linux-i686/egg/setuptools/package_index.py", line 475, in fetch_distribution
AttributeError: 'NoneType' object has no attribute 'clone'

Alejandro Blanco

unread,
Jun 4, 2013, 2:16:16 AM6/4/13
to open...@googlegroups.com
Hi, 

the easy_install step did not work because we haven't made a release yet. Even if the installation doc assumes it exists (I know it's confusing), there is no package in pypi. Until such release is published you need to manually clone the project and execute the 'python setup.py develop' command.

Regards.


2013/6/3 NOS Life <theno...@gmail.com>

For more options, visit https://groups.google.com/groups/opt_out.
 
 



--
Alejandro Blanco <abl...@yaco.es>

 

Yaco Sistemas S.L. <http://www.yaco.es/>

C/ Rioja 5, 41001 Sevilla
Reply all
Reply to author
Forward
0 new messages