Skip to content

Tag: python

Running bpython inside a virtualenv

I have created a virtualenv and installed SQLAlchemy in it: import works in python: But it does not work in bpython: Why can’t bpython find the package installed in the virtualenv, even though it is executed after source alchemy/bin/activate is called? Answer bpython must be installed in the virtualenv,…

ImportError: No module named _mssql

I’m running Python 2.7.2 on OS 10.8.5 Trying to use pymssql, but I get the following error: I’ve tried installing mssql with pip and brew only to be told that there’s no package by that name. The docs don’t seem to cover installation. EDIT: When I try to pip install pymssql I get: So I…

Error When Trying to Run Simple Kivy Program (Windows)

When trying to run the following program on my computer: After I added what was suggested( The last two lines ), I get two syntax errors, the first telling me to delete the colon and the second telling me to remove the indent, and then this: According to the tutorial I’m following( http://inclem.net/201…

Setting plot background colour in Seaborn

I am using Seaborn to plot some data in Pandas. I am making some very large plots (factorplots). To see them, I am using some visualisation facilities at my university. I am using a Compound screen made up of 4 by 4 monitors with small (but nonzero) bevel — the gap between the screens. This gap is black…