0

I can't seem to get a module installed with Python 2.7.3, or well, a lot of modules in fact. When I download the module, and then run "python setup.py install" from the folder, it looks like it installs - however, trying to import the module does not work. So, I went ahead and looked in site-packages - the only thing I found was the .egg file, which is not helpful in any way. Then, I did a search for the module in the entire folder of Python2.7, results: the .egg file and something totally unrelated. I have gotten some modules installed in the past (twill, BeautifulSoup, and a few others), some partially installed (pyglet, installed and in the folder, however running doesn't work) and then there's a whole load of modules that just don't install. They create a .egg file and that's it. Done. Nothing else. It's really annoying, so I'm wondering what could cause the issue?

The module I was trying to install was the feedparser module.

Edit: After doing >>>help() and then modules, it's not showing up there either.

4
  • Could you use a package manager, such as Pip, to help you with these issues? Commented Sep 13, 2014 at 17:58
  • also install you packages in a virtual environment. Commented Sep 13, 2014 at 18:04
  • Using pip didn't work, still only created the .egg file. I will try a virtualenv Commented Sep 13, 2014 at 18:05
  • Actually, nevermind, pip did work. I will still install virtualenv just for the sake of this happening again. Commented Sep 13, 2014 at 18:14

1 Answer 1

1

You can use pip as a module (package) manager, better that installing things manually. http://www.pythonforbeginners.com/basics/python-pip-usage

Plus using virtualenv is a good practice. http://virtualenv.readthedocs.org/en/latest/virtualenv.html

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.