LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-09-2012, 08:25 PM   #1
fakie_flip
Senior Member
 
Registered: Feb 2005
Location: San Antonio, Texas
Distribution: Gentoo Hardened using OpenRC not Systemd
Posts: 1,495

Rep: Reputation: 85
Running Supybot after local install


I installed the dependencies for Supybot.

PySQLite -- Version 1.x

Twisted -- Version 1.2.0 or greater

And python-devel.

Following the directions for a local install, I did:

python setup.py install --prefix=$HOME

Everything appeared to compile, install fine. I have a ~lib/ and ~bin with the supybot scripts.

I added to my .bashrc

export PYTHONPATH=$HOME/lib/python2.x/site-packages

Now when I try to run the scripts, I get the same messages about missing supybot module.

Code:
% supybot-test                                                                                                    [2:26:25]
Traceback (most recent call last):
  File "/home/bullshark/bin/supybot-test", line 37, in <module>
    import supybot
ImportError: No module named supybot
% supybot-wizard                                                                                                  [2:26:44]
Traceback (most recent call last):
  File "/home/bullshark/bin/supybot-wizard", line 45, in <module>
    import supybot
ImportError: No module named supybot
% supybot                                                                                                         [2:26:53]
Traceback (most recent call last):
  File "/home/bullshark/bin/supybot", line 37, in <module>
    import supybot
ImportError: No module named supybot
%
I checked and PYTHONPATH is set.

Code:
% echo $PYTHONPATH                                                                                                [2:27:02]
/home/bullshark/lib/python2.x/site-packages
%

Last edited by fakie_flip; 03-09-2012 at 08:28 PM.
 
Old 03-10-2012, 08:43 AM   #2
fakie_flip
Senior Member
 
Registered: Feb 2005
Location: San Antonio, Texas
Distribution: Gentoo Hardened using OpenRC not Systemd
Posts: 1,495

Original Poster
Rep: Reputation: 85
I solved the problem by replacing the 2.x with 2.6.

export PYTHONPATH=/home/bullshark/lib/python2.6/site-packages
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Yum local install - package and all dependencies in local directory lppatmore Linux - Newbie 6 02-21-2015 02:53 AM
Local webserver -- How to deny all client install their local web server--Please help b:z Linux - Networking 13 04-16-2005 07:11 PM
rc.local not running? sbirnie Slackware 6 04-13-2005 01:18 AM
rc.local not running at boot anthjaz Fedora 7 05-12-2004 01:40 PM
rc.local not running on boot??? Evilone Linux - Software 1 09-08-2003 01:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:02 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration