LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 11-05-2014, 11:45 AM   #1
stevephd
LQ Newbie
 
Registered: Aug 2012
Posts: 9

Rep: Reputation: Disabled
Python


Hi
This is not a Linux question per say, but related to the installing software onto linux.


I am running a code called PyRosetta..This is scientific software that runs using Python language, specifically python2.6.

The problem I am having is that when I install python2.6 (using the configure, then make, then make install) and then run PyRosetta, I get the errors having to do with modules from python..I keep added these modules but then another dependency shows up..

For example, I had to download bz2.pyc and place libpython2.6.so.1.0 in the correct directory for pyrosetta to locate it..

I solved those, but now I am getting an import error saying there is no bz2.pyd module/file to be found on my machine (Linux/Fedora 18, 64-bit). And there is not..

My question is would it be smart to install something like PIP that installs python..I have tried YUM, RPM and this does not work..

Any comments would be appreciated..I am not an expert on Linux, but know enough to get myself in trouble as you can see...

Thanks
 
Old 11-05-2014, 12:43 PM   #2
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 4,177

Rep: Reputation: 1272Reputation: 1272Reputation: 1272Reputation: 1272Reputation: 1272Reputation: 1272Reputation: 1272Reputation: 1272Reputation: 1272
For Fedora, why isn't yum working?

Last edited by smallpond; 11-05-2014 at 12:54 PM. Reason: need to read better.
 
Old 11-05-2014, 12:48 PM   #3
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,278

Rep: Reputation: 5346Reputation: 5346Reputation: 5346Reputation: 5346Reputation: 5346Reputation: 5346Reputation: 5346Reputation: 5346Reputation: 5346Reputation: 5346Reputation: 5346
Installing pip for Python 2.6, then using it to install the dependencies for PyRosetta, is a good option.

When I visited the PyRosetta website, I saw that it had RPMs available. Those didn't work?
 
Old 11-05-2014, 01:07 PM   #4
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,629

Rep: Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652
on fedora if you replace the REQUIRED!!!!!!!!!
version of python then you will KILL!!!! yum and part of Gnome

you will have to manually hack rpms and manually copy/paste software to fix it
be EXTREMELY!!!!!!!
careful as to NOT REPLACE THE VERSION OF PYTHON IN THE FEDORA UPDATES!!!!!!

now

you can install many different versions of python
just use extreme caution
The OLD 2.6 should be in the fedora 20 repos

Fedora 18 is not supported any longer
upgrade to 20 or in a week or so Fedora 21

Last edited by John VV; 11-05-2014 at 01:08 PM.
 
  


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
LXer: Python wins trademark dispute, rival stops calling itself “Python” LXer Syndicated Linux News 0 03-21-2013 07:40 PM
Python 2.6 dependencies error installing python-sqlite2-2.5.5-1.1.i586.rpm jmp007 Linux - Newbie 1 02-11-2011 11:05 AM
LXer: Python Python Python (aka Python 3) LXer Syndicated Linux News 0 08-05-2009 08:30 PM
LXer: Review: Programming in Python 3: A Complete Introduction to the Python Language LXer Syndicated Linux News 0 01-26-2009 04:50 AM
LXer: Move to python 2.4 / Changing the packaging style for python packages LXer Syndicated Linux News 0 06-13-2006 07:54 PM

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

All times are GMT -5. The time now is 12:05 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