LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Python (https://www.linuxquestions.org/questions/linux-software-2/python-4175524447/)

stevephd 11-05-2014 11:45 AM

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

smallpond 11-05-2014 12:43 PM

For Fedora, why isn't yum working?

dugan 11-05-2014 12:48 PM

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?

John VV 11-05-2014 01:07 PM

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


All times are GMT -5. The time now is 08:55 AM.