These are chat archives for evhub/coconut

4th
Aug 2017
Eshin Jolly
@ejolly
Aug 04 2017 00:33
@evhub ah figured it out tho definitely through trial and error. It was a stupid conda vs pip problem. This might be helpful for future folks using conda to manage their python package installs: Even tho pip is installed under conda and they should play nice with each other pip install coconut --upgradegrabs the latest version of pyparsing (2.2.0) from pip, but conda can maintain separate versions of the same package. In this case conda already had a version of pyparsing installed (2.1.4) and so any use of a pyparsing dependent package fell back to the old conda version instead of the pip version. Since pyparsing is a dependency for other python packages maintained by conda, you cant simply remove it and use the pip version. The solution is to add the conda-forge channel via conda config --add channels conda-forge and then conda update pyparsing which will grab version 2.2.0. For some reason I dont totally understand, if there's just a single install of pyparsing at 2.2.0 but it's through conda, it doesn't seem to work (at least on my system). No python package can find pyparsing, in that scenario. In other words, I need both the pip and conda pyparsing installs at the same version level 2.2.0.
Evan Hubinger
@evhub
Aug 04 2017 01:55
@ejolly Wow! Glad you figured it out! I think the right way to install Coconut with conda is using conda skeleton, or at least that was what ended up working in #246. It sounds like maybe it'd be a good idea for me to publish a guide explaining how to install Coconut with conda, or even publish a conda release of Coconut, to help other people who run into the same problem.
Eshin Jolly
@ejolly
Aug 04 2017 03:10
@evhub Thanks, yea a conda release of coconut would be awesome. Coming from an academic data analysis background, I know quite a few people who use conda so it could definitely be helpful. Btw just want to say, super excited to play around with coconut. First came across it, when I heard your interview on the Talk Python to Me podcast!
Evan Hubinger
@evhub
Aug 04 2017 05:10
@ejolly Glad to hear you're excited about Coconut! I just added a section on installing Coconut with conda to the develop documentation (which will become the master documentation with the next release) and added some tests to make sure that sequence of commands actually does successfully install Coconut. I also opened #300 for a more permanent solution.