Results 1 to 8 of 8

Thread: confused about ActivePython 2.7 <SOLVED>

  1. #1
    Join Date
    Aug 2007
    Location
    Dundee
    Beans
    633
    Distro
    Ubuntu 16.04 Xenial Xerus

    confused about ActivePython 2.7 <SOLVED>

    hello,

    i need to install ActivePython 2.7 (or later versions) on Xubuntu 12.04 to use it in combination with PyCrypto 2.1 for 32bit Windows and Python 2.7, in connection to Calibre, and through Wine.

    can you plz advise on the installation process and how to enable it on wine? On Synaptics I can see a list of "Python" programs, but no "ActivePython". I found the following as a possible installation methods:

    cd /tmp
    wget http://downloads.activestate.com/Act...-x86_64.tar.gz
    tar xzf ActivePython-2.7.2.5-linux-x86.tar.gz
    cd ActivePython-2.7.2.5-linux-x86
    ./install.sh


    or from http://www.activestate.com/activepython/downloads (though I came across a number of people who reported error messges when unpacking + installing the tar.gz file, for some reason).

    If either method works - I can't try it right now, as I'm on an extremely slow connection, will be able to in a day or two - how can I enable it into the Wine registry?

    Thanks!
    Last edited by al.adab; March 9th, 2013 at 10:12 AM. Reason: solved

  2. #2
    Join Date
    Feb 2013
    Beans
    Hidden!

    Re: confused about ActivePython 2.7

    Wait, why would you install Calibre through Wine? It's packaged for Linux and the package is in Ubuntu repositories. So is python-crypto (this is how PyCrypto is called on Debian-based systems, see Debian Python Policy).
    Last edited by schragge; March 7th, 2013 at 09:58 PM.

  3. #3
    Join Date
    Aug 2007
    Location
    Dundee
    Beans
    633
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: confused about ActivePython 2.7

    sorry, I realise I wasn't clear, I do have Calibre installed. I first of all need to install PyCrypto (for Windows) through Wine. To do that, Wine asks me to install ActivePython 2.7 (and include it in the Wine registry, I suppose). I need PyCrypto for Calibre.

  4. #4
    Join Date
    Feb 2013
    Beans
    Hidden!

    Re: confused about ActivePython 2.7

    Still, I don't get it. PyCrypto is also packaged for Ubuntu, please re-read my comment above.

  5. #5
    Join Date
    Aug 2007
    Location
    Dundee
    Beans
    633
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: confused about ActivePython 2.7

    sorry I'm being slow, but after installing PyCrypto - I appreciate there's a version for Debian but I need to stick to a certain installation procedure and install the Windows version on Wine - how can I install ActivePython 2.7.2 for Linux X86, if I need to, and in any case include it in the Wine register?

  6. #6
    Join Date
    Feb 2013
    Beans
    Hidden!

    Re: confused about ActivePython 2.7

    I'm pretty sure you don't need it. The installation procedure is for Windows users. You want to install a Calibre plugin that requires python and PyCrypto. So
    Code:
    sudo apt-get install python-crypto
    python 2.7 is already installed on your system. Then put the plugin into folder where Calibre would see it, install and configure it from inside Calibre. That's all.
    Last edited by schragge; March 7th, 2013 at 10:46 PM.

  7. #7
    Join Date
    Aug 2007
    Location
    Dundee
    Beans
    633
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: confused about ActivePython 2.7

    gotcha. thanks tons for your help.

  8. #8
    Join Date
    Feb 2013
    Beans
    Hidden!

    Re: confused about ActivePython 2.7 <SOLVED>

    I guess I need to give you a step by step guide.
    Install Calibre and PyCrypto:
    Code:
    sudo apt-get install calibre python-crypto
    Download zip archive with plugins.
    Unpack.
    You'll get three folders. The plugins for Calibre are in Calibre_Plugins. Notice where you are in the directory tree.
    Read the ReadMe files there. They explain how to install the plugins in Calibre.
    Launch Calibre.
    Open Preferences / Change calibre behavior (three gears icon) or press Ctrl+P
    In the Advanced row select Plugins
    Click on the button Load plugin from file in the bottom row.
    Navigate to the folder Calibre_Plugins where you've unpacked plugins.
    Select plugin you want to install and click on the Open button.
    Confirm your choice.
    Last edited by schragge; March 22nd, 2013 at 11:18 PM.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •