You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
The setup.py file throws a UnicodeDecodeError:
Traceback (most recent call last):
File "setup.py", line 9, in <module>
readme = readme_file.read()
File "Python\Python37-32\lib\encodings\cp1252.py", line 23, in decode
return codecs.charmap_decode(input,self.errors,decoding_table)[0]
UnicodeDecodeError: 'charmap' codec can't decode byte 0x8d in position 11427: character maps to <undefined>
To Reproduce
Run the setup.py file to install pyswarms:
python setup.py install
Expected behaviour
No UnicodeDecodeError 😄.
Environment (please complete the following information):
OS: Windows
PySwarms Version v0.2.1
Python Version 3.7.0
Additional context
Not a big deal there is a StackOverflow question with the solution to this problem. PR is coming.
The text was updated successfully, but these errors were encountered:
PySwarms hasn’t been tested in Python 3.7. Can you try setting up a virtualenv for 3.4, 3.5, and 3.6? That should work because our tests are passing and travis performs the steps you did above.
Resolves#174
Fixed a bug in the setup.py file where it would throw an error because the encoding format was not right. This is done by adding the encoding parameter to the open() function.
Signed-off-by: Lester James V. Miranda <[email protected]>
Committed-with: Aaron (@whzup )
Describe the bug
The
setup.py
file throws aUnicodeDecodeError
:To Reproduce
Run the
setup.py
file to installpyswarms
:Expected behaviour
No
UnicodeDecodeError
😄.Environment (please complete the following information):
Additional context
Not a big deal there is a StackOverflow question with the solution to this problem. PR is coming.
The text was updated successfully, but these errors were encountered: