PolyChordLite icon indicating copy to clipboard operation
PolyChordLite copied to clipboard

conda distribution

Open grburgess opened this issue 6 years ago • 9 comments

have you thought about wrapping up a conda distribution? We use conda for our CI installs and to test polychord sampling we would need to do that or go with a docker.

grburgess avatar Jan 10 '19 07:01 grburgess

Hi @grburgess . I don't have any experience with conda, although we are currently in the process of finalising a procedure that makes pypolychord pip-installable (which should be ready later this month). I imagine that this would either solve your issue, or make a conda wrapper easier to implement, so I will address this after that

williamjameshandley avatar Jan 10 '19 08:01 williamjameshandley

Thanks! So it will automatically include the non-python binaries?

grburgess avatar Jan 10 '19 08:01 grburgess

Indeed (a not insignificant amount of effort was required to get this working)

williamjameshandley avatar Jan 10 '19 08:01 williamjameshandley

@grburgess you should now be able to install pypolychord with the pip command:

pip install pypolychord

Can you let me know if this addresses your issue?

williamjameshandley avatar Jan 19 '19 12:01 williamjameshandley

Hi-- Just trying to pip install and seeing the following:

$ pip install pypolychord
Collecting pypolychord
  Could not find a version that satisfies the requirement pypolychord (from versions: )
No matching distribution found for pypolychord

Never really seen this sort of thing before. Suggestions?

timothydmorton avatar Jan 23 '19 03:01 timothydmorton

(btw, I am running with pip 18.1 on macOS 10.11.6)

timothydmorton avatar Jan 23 '19 03:01 timothydmorton

Which version of python?

williamjameshandley avatar Jan 23 '19 06:01 williamjameshandley

sorry-- 3.6.8

timothydmorton avatar Jan 23 '19 12:01 timothydmorton

I get the same error on macOS. It works on linux, however. Looking at https://pypi.org/project/pypolychord/#files, it looks like there are no wheels for non-linux OS' and I can't seem to force an installation from source.

tilmantroester avatar Apr 03 '19 16:04 tilmantroester