On 05/04/2012 04:06 PM, Kleo Achilleos wrote:
Hans, thank you for your reply.
I added the path in run.sh located in galaxy_dist
export PYTHONPATH=/usr/local/devel:$PYTHONPATH
but I still get the same error / / / "/usr/local/devel/NSISSoft/NSISToolkit/NSISApps/SmplTK/load_compounds.py", line 29, in <module> from NSISSoft.NSISBase import Messengers / /ImportError: No module named NSISSoft.NSISBase/
Do you have any other suggestions?
well, I am not familiar with this Toolkit (and not really a python expert), so there might be something special about this module....but my first guess: the module is simply not there. Is it working when you execute it on the the command line (as the same user Galaxy is running as)? Regards, Hans
Regards, Kleo.
2012/5/4 Hans-Rudolf Hotz <hrh@fmi.ch <mailto:hrh@fmi.ch>>
Hi Kleo
The easiest way is to add the path information to 'run.sh', eg:
export PYTHONPATH=/data/foo/bar/__python2.6/site-packages:$__PYTHONPATH
(of course, you need to use a different path)
Regards, Hans
On 05/03/2012 08:29 PM, Kleo Achilleos wrote:
Dear all,
I have a local installation of Galaxy. I need to create a new galaxy tool. My python program runs outside Galaxy. When I call it through Galaxy it does not find my custom libraries. / / /ImportError: No module named NSISSoft.NSISBase/ / / /I understand it is a PYTHONPATH problem. How can I fix it?/ / / /Kleo Achilleos/ /MSc student at UCY, Cyprus/
_____________________________________________________________ Please keep all replies on the list by using "reply all" in your mail client. To manage your subscriptions to this and other Galaxy lists, please use the interface at: