4 ms·
This in no way invalidates the point of the post, but I can't imagine going back to installing everything globally instead of using virtualenv. If you do that,
by aptwebapps 13y ago
This in no way invalidates the point of the post, but I can't imagine going back to installing everything globally instead of using virtualenv. If you do that, at least you won't have every package you every looked at in your path.
- chrismorgan 13y agoIn my case it is to do with having installed system-wide packages—e.g. I installed Frescobaldi, and that puts in that `frescobaldi_app` which eventually makes it crash. For my own development things I do use virtualenv. But even inside a virtualenv I have had such a problem before.
- marcosdumay 13y agoI just can't get to use some modules within virtualenv. They seem to create more problems than using systemwide.
- pekk 13y agoWhich ones? You can get some help. Learning virtualenv is a smart long-term move
- aptwebapps 13y agoIf you're on a Mac, good luck getting pip to install mysql-python. I use Macports for that.
- jaegerpicker 13y agoThis isn't a good solution. I pip install mysql-python several times a week on my mac ( I use different venv's for different branches and we have several different services that I work on in a given week, thus I'm installing packages via pip A LOT) and we always install it in a venv. Sure it can be a bit of a pain but it's well worth it IMO. Our steps to always get it working: make sure mysql_config is in your path env variable, make sure the xcode command line tools are probably installed, and make sure the mysql command line client is setup and working correctly locally. Past that is just works for us on Mac OS X 10.7+. I think 10.6 and earlier also work but I'm not sure.
- aptwebapps 13y agoI couldn't ever get it to compile, but I haven't tried in a while. I don't actually need it much these days as I'm using Postgres for most things. I'm sure there are other packages that are similar: not so easy to get working with pip but not impossible.
- encoderer 13y agoThis. We've all wrestled with problem modules. Qt comes to mind for me. StackOverflow has always been helpful I've never seriously considered ditching venv.
- rcxdude 13y agoAlmost all the awkward modules I've come across work when you use --system-site-packages
- marcosdumay 12y agoThat I can remember, yep, PyQT and PySide, and Psycopg. Psycopg is not a problem on Linux, only Windows.