Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8100015
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T22:36:54+00:00 2026-06-05T22:36:54+00:00

EPD python does not know to look for the Ubuntu repository python so installing

  • 0

EPD python does not know to look for the Ubuntu repository python so installing Pymacs through Ubuntu does not help. The alternative is to clone into the [Pymacs source from github] and manually install it1.

A clean way of doing this is to use python setup.py install --user, and you’d want to change that in the Makefile, but this doesn’t work! I tried this, and it did not provide the Pymacs module for the native python or EPD. You can read about the problems with this here and here.

In order to use the Pymacs from the Ubuntu repo, I tried putting export PYTHONPATH=$PYTHONPATH:/usr/lib/python2.7/dist-packages/ in my ~/.bashrc, but that caused a lot of the EPD stuff to be over-ridden by native python stuff because this path gets added to sys.path in front of the EPD initial path. If I manually add this path using sys.path.append when I run ipython, that works, but it’s a hassle.

I also tried putting export PYTHONPATH=$PYTHONPATH:/usr/lib/python2.7/dist-packages/Pymacs in my ~/.bashrc, but for some reason, that did not make the Pymacs module available to EPD.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T22:36:58+00:00Added an answer on June 5, 2026 at 10:36 pm

    I came up with a workaround that seems to do well. After having installed rope, ropemode, and ropemacs using python setup.py install --user, I ran the command ln -s /usr/lib/python2.7/dist-packages/Pymacs ~/.local/lib/python2.7/site-packages/Pymacs. For some reason, EPD apparently scans this directory at startup to know that is has access to the Pymacs module. I don’t know why adding the target directory to my PYTHONPATH did not and this did, but that’s what happened. If anyone has a better way, please let me know.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

FEniCS that comes in the Ubuntu 12.04 repository does not work with Enthought EPD
Why does Import[!python --version, Text] work on the commandline but not in the frontend
Python (2.6.6 -- EPD 6.3-1 (32-bit)) can not find a binary executable when using
In Python EPD Traits I can keep variables that depend on others up to
I recently installed the enthoughts distribution of python and started to go through the
I downloaded the latest Enthought EPD python distribution (academic), which comes with python 2.7.
I'm using PyAudio under the Enthought Python Distribution (Python 2.6.6) in Ubuntu 10.10 x64.
I've just created my first VIM script, I wrote it in Python. It's a
I'm trying to implement the BNF for EPD in Pharo/PetitParser. digit18 := $1 asParser
I am using the Enthought Python Distribution v7.0-2 (32-bit) and I am having trouble

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.