Closed aleksandra-kim closed 6 years ago
Original comment by Chris Mutel (Bitbucket: cmutel, GitHub: cmutel).
RC5 is still a "release candidate", so pip will only install it if you pass "--pre", see https://pip.pypa.io/en/stable/reference/pip_install/#pre-release-versions.
RC5 is on pypi: https://pypi.org/project/bw2io/0.6rc5/
Original report by James Joyce (Bitbucket: pjamesjoyce, GitHub: pjamesjoyce).
The version of bw2io on PyPi (0.5.12) is different from the version on anaconda cloud (0.6.RC5).
v0.5.12 tries to import
database_parameters
frombw2data
, which it can't do, so loading brightway2 installed via pip throws an import error.I know the recommended installation is via conda, but I'm writing an extension for lcopt (for parsing hand drawn flow diagrams into lcopt/brightway models) called lcopt-cv and one of the computer vision dependencies is only avaliable on PyPi (as a wheel so it can't be conda skeletoned). I was trying to include brightway in the
setup.py
install_requires
list so it could have a one-step install when I noticed the problem.Low priority - it's an edge case, and installing most things via conda and then installing something extra via pip isn't a big deal - but figured you might want to know.