<div dir="ltr">Thanks Rory, <div><br></div><div>I can successfully import misopy and see the working director in python shell . once I type miso on my command window, I get errors for miso, test_miso and for module_availability . </div><div><br></div><div>error :- </div><div><br></div><div><div>Traceback (most recent call last):</div><div> File "/usr/bin/module_availability", line 9, in <module></div><div> load_entry_point('misopy==0.5.2', 'console_scripts', 'module_availability')()</div><div> File "build/bdist.linux-x86_64/egg/pkg_resources.py", line 339, in load_entry_point</div><div> </div><div> File "build/bdist.linux-x86_64/egg/pkg_resources.py", line 2469, in load_entry_point</div><div> </div><div>ImportError: Entry point ('console_scripts', 'module_availability') not found</div></div><div><br></div><div>----------------------------------------------------------------------------------------------------------------</div><div><br></div><div>Will do the uninstall and install again and see the test_miso. </div><div><br></div><div>if it importing inside python shell, why it is not showing module_availability at command line? </div><div><br></div><div>regards </div><div><br></div><div>Saurabh</div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Oct 21, 2014 at 4:01 PM, Rory Kirchner <span dir="ltr"><<a href="mailto:rory.kirchner@gmail.com" target="_blank">rory.kirchner@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Hi Saurabh,<div><br></div><div>Oh, you’re right. If you open up a python shell and try to import misopy does it work? If it works and you do misopy.__file__, does it point to the directory you are expecting it to be in? If you pip uninstall misopy and pip install misopy does it fix it?</div><div><br></div><div>Sometimes you can get this error if the site-packages directory isn’t readable by your account, do the permissions look okay on where miso is installed? </div><div><br></div><div>Best,</div><div><br></div><div>Rory</div><div><div class="h5"><div><br></div><div><br></div><div><div><blockquote type="cite"><div>On Oct 21, 2014, at 3:46 PM, Saurabh <<a href="mailto:saurabhvladdha@gmail.com" target="_blank">saurabhvladdha@gmail.com</a>> wrote:</div><br><div><div dir="ltr">Thanks Rory, <div><br></div><div>for </div><div>1) which python --version</div><div>GNU which v2.19, Copyright (C) 1999 - 2008 Carlo Wood.</div><div>GNU which comes with ABSOLUTELY NO WARRANTY;</div><div>This program is free software; your freedom to use, change</div><div>and distribute this program is protected by the GPL.</div><div><br></div><div>2) GNU which v2.19, Copyright (C) 1999 - 2008 Carlo Wood.</div><div>GNU which comes with ABSOLUTELY NO WARRANTY;</div><div>This program is free software; your freedom to use, change</div><div>and distribute this program is protected by the GPL.</div><div><br></div><div>but when I am giving </div><div><br></div><div>1) python </div><div><br></div><div><div>Python 2.6.6 (r266:84292, Jan 22 2014, 09:42:36) </div><div>[GCC 4.4.7 20120313 (Red Hat 4.4.7-4)] on linux2</div><div>Type "help", "copyright", "credits" or "license" for more information.</div></div><div><br></div><div><br></div><div>2) pip -V </div><div>pip 1.5.6 from /usr/lib/python2.6/site-packages (python 2.6)<br></div><div><br></div><div>do I have to use python 2.7 ? </div><div>i thought >2.6 will work ... </div><div><br></div><div>I am technically not sound so please be patience. </div><div><br></div><div>regards </div><div>Saurabh</div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Oct 21, 2014 at 3:39 PM, Rory Kirchner <span dir="ltr"><<a href="mailto:rory.kirchner@gmail.com" target="_blank">rory.kirchner@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Hi Saurabh,<div><br></div><div>It looks like the pip you are calling is for python 2.6 not 2.7. If you do which python —version and pip —version, do either of them say 2.6?</div><div><br></div><div>Best,</div><div><br></div><div>Rory</div><div><br><div><blockquote type="cite"><div>On Oct 21, 2014, at 3:34 PM, Saurabh <<a href="mailto:saurabhvladdha@gmail.com" target="_blank">saurabhvladdha@gmail.com</a>> wrote:</div><br><div><span style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;float:none;display:inline!important">/usr/lib64/python2.6/site-packages</span></div></blockquote></div><br></div></div></blockquote></div><br></div>
</div></blockquote></div><br></div></div></div></div></blockquote></div><br></div>