Install on windows
Hi I got this error when tried install package on windows 7 , python 3.5.
Collecting ncclient Using cached ncclient-0.5.2.tar.gz Complete output from command python setup.py egg_info: Traceback (most recent call last): File "
", line 1, in File "C:\Users????\AppData\Local\Temp\pip-build-mpfw4qcu\ncclient\set up.py", line 32, in long_description = file.read() File "C:\Users????\AppData\Local\Programs\Python\Python35\lib\encodin gs\cp1252.py", line 23, in decode return codecs.charmap_decode(input,self.errors,decoding_table)[0] UnicodeDecodeError: 'charmap' codec can't decode byte 0x90 in position 4336: character maps to undefined
I have the same issue when installing ncclient in windows 10
Same here. Both Python 2.7 and 3.5.
The problem is that in the file README.rst, some characters are not recognized in cp1252 encoding.
Here's the way to workaround it:
- download and unzip the ncclient-0.5.2.tar.gz
- Use MSWord to open README.rst
- Save as another coding. I choose windows (default). It will warn you some characters will be missing.
- python setup.py install <<<< to install the ncclient module
DONE!
I get the following error when i try to install ncclient on ubuntu and centos:
Collecting ncclient
Using cached ncclient-0.5.2.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-g5js2iie/ncclient/
I tried this with python 3.4.5 and 3.5.2. I am able to get it to work on OSX.
@kyzma84 @christung16 @corhoade
The file looks UTF-8 to me.
[cspeidel@test ncclient]$ file -i README.rst README.rst: text/x-python; charset=utf-8
I also double-checked with iconv and verified the UTF-8 output was the same.
Are you still having this issue with 0.3.5?