There are various errors that you may experience when installing FogBugzPy using pip. Follow the instructions below to fix these errors. If you are still having problems after going through this page, please feel free to contact us.
Errors related to "lxml"
Version 1.0 of FogBugzPy and later have a Python dependency called lxml. This is a Python binding for the C libraries libxml2 and libxslt. If you don't have these libraries installed on your computer, you will need to install them.
Windows
- Download the wheel file that applies to your hardware from: http://www.lfd.uci.edu/~gohlke/pythonlibs/#lxml
-
Install it with pip by running
pip install <downloaded_file.whl>
-
Run
pip install fogbugz
again
Debian Linux and derivatives (including Ubuntu)
You can install libxml2 and other needed components using apt. Follow the instructions here and then run pip install fogbugz
again.
Mac
Mac OS X should come with this prerequisite already installed. If you have trouble, please let us know and we'll be happy to work through it with you.
Errors related to uninstalling "six"
This is related to a known issue in Mac OS X El Capitan. The error will likely look something like
OSError: [Errno 1] Operation not permitted: '/var/folders/n9/_fh0q6555sb_djs4_l70t1y80000gn/T/pip-A9Ynf3-uninstall/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/six-1.4.1-py2.7.egg-info'
If you see this, adding --ignore-installed six
to your pip command should solve the issue. So:
pip install fogbugz --ignore-installed six