pyDOE2 issues
druvus opened this issue · comments
This is indirectly associated to doepipeline but we can not open issues on a fork so I open it here.
I was trying to install pyDOE2 using python 2.7.14 in a conda environment but I get the following error:
$ python setup.py install
File "setup.py", line 11
SyntaxError: Non-ASCII character '\xc3' in file setup.py on line 11, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details
This due to the special letter in the family name. I changed it and then it complains about the encoding argument that I think was introduced in python 3.
$ python setup.py install
Traceback (most recent call last):
File "setup.py", line 16, in <module>
long_description=read('README.md'),
File "setup.py", line 5, in read
with open(fname, encoding=encoding) as f:
TypeError: 'encoding' is an invalid keyword argument for this function
Removing it solves the issue and pyDOE is installed but without considering the encoding.
Maybe easiest to change to only support python 3?