Installation problems on Lion and Mountain Lion
Opened this issue · 1 comments
I normally run Python from a virtualenv and have had no problems with packages. However, with Pymacs, I've tried installing using easy_install
and pip
and neither way installs in a way that can be found by the Python interpreter.
Most packages work fine through pip
and for this I would do,
pip install git+https://github.com/pinard/Pymacs.git
This installs the file Pymacs-0.25-py2.7.egg-info
into my lib/python2.7/site-packages
directory but there is no corresponding egg. OK, maybe something with pip
.
So then I try:
easy_install https://github.com/pinard/Pymacs/tarball/master
This actually installs the egg Pymacs-0.25-py2.7.egg
but then I find,
$ python -c "import Pymacs"
Traceback (most recent call last):
File "<string>", line 1, in <module>
ImportError: No module named Pymacs
Even if i manually set my PYTHONPATH
it still doesn't work properly.
OK, so here is what I had to do...
git clone https://github.com/pinard/Pymacs.git
cd Pymacs
make
cd ..
easy_install Pymacs
Am I missing something here? This also created the site.py
file in my lib directory. I'm just wondering what would need to be done to have this be more... automated?