Installation issue: with ~/meorg/etc/configspec.ini

15 views
Skip to first unread message

Ajayrama Kumaraswamy

unread,
Oct 9, 2013, 8:20:04 AM10/9/13
to morph...@googlegroups.com
Hello Mike

I tried to install and use morphforge. I found a couple of things
  1. I had to install a couple more python packages 'straight.plugin' and 'mreorg' which have not been mentioned in your installation notes. I installed them using pip.
  2. When I tried to import morphforge, I get the following:

$ python -c 'import morphforge'
  Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/home/ajay/Installations/morphforge/src/morphforge/__init__.py", line 37, in <module>
    import mreorg
  File "/usr/local/lib/python2.7/dist-packages/mreorg/__init__.py", line 40, in <module>
    from mreorg.scriptplots import PlotManager, PM
  File "/usr/local/lib/python2.7/dist-packages/mreorg/scriptplots/__init__.py", line 32, in <module>
    from mreorg.scriptplots.plotmanager import PlotManager, FigFormat
  File "/usr/local/lib/python2.7/dist-packages/mreorg/scriptplots/plotmanager.py", line 38, in <module>
    from mreorg.config import MReOrgConfig
  File "/usr/local/lib/python2.7/dist-packages/mreorg/config.py", line 44, in <module>
    configspec_str = resource_string(__name__, 'etc/configspec.ini')
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 916, in resource_string
    self, resource_name
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 1189, in get_resource_string
    return self._get(self._fn(self.module_path, resource_name))
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 1316, in _get
    stream = open(path, 'rb')
  IOError: [Errno 2] No such file or directory: '/usr/local/lib/python2.7/dist-packages/mreorg/etc/configspec.ini'

Please help

Thanks

Ajay

Michael Hull

unread,
Oct 15, 2013, 4:49:40 AM10/15/13
to morph...@googlegroups.com
Hi Ajay,
Thanks for your email. Sorry for the delay - I was on holiday last week.

I am currently tidying up the loose ends of morphforge and getting things to install easily from PyPy.
It sounds like there is a problem with your mreorg installation - did you install it using pip? Can you tell me the version number?

Many thanks

Mike



--
You received this message because you are subscribed to the Google Groups "morphforge" group.
To unsubscribe from this group and stop receiving emails from it, send an email to morphforge+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply all
Reply to author
Forward
0 new messages