Closed andremrsantos closed 10 years ago
I am getting this as well when I try to run the testing dataset. Have you found a solution to this problem?
You should build library extensions first.
cd ~/proj/fastStructure/vars
python setup.py build_ext --inplace
It works fine now. Thank you
You should build library extensions first.
cd ~/proj/fastStructure/vars python setup.py build_ext --inplace
I'm actually having an issue with this part- when I try to build the extensions, I get a Cyton compiler error:
...
var_beta, var_gamma = self._unconstrained_solver(Dvarbeta, Dvargamma)
# if a variable violates positivity constraint,
# set it to an estimate from the previous update
bad_beta = reduce(utils.OR,[(var_beta<=0),np.isnan(var_beta)])
^
allelefreq.pyx:148:19: undeclared name not builtin: reduce
Traceback (most recent call last):
File "/Users/lindseyschwartz/Documents/ULL/fromLouis/fastStructure/vars/setup.py", line 25, in
Any ideas? Thanks!!
When I try to run the program, it always return the following error: