PolyChord / PolyChordLite

Public version of PolyChord: See polychord.co.uk for PolyChordPro
https://polychord.io/
Other
84 stars 26 forks source link

conda distribution #11

Open grburgess opened 5 years ago

grburgess commented 5 years ago

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.

williamjameshandley commented 5 years ago

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

grburgess commented 5 years ago

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

williamjameshandley commented 5 years ago

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

williamjameshandley commented 5 years ago

@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?

timothydmorton commented 5 years ago

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 commented 5 years ago

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

williamjameshandley commented 5 years ago

Which version of python?

timothydmorton commented 5 years ago

sorry-- 3.6.8

tilmantroester commented 5 years ago

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.