conan: Conan 0.21.2 install on Windows return error

UnicodeDecodeError: 'ascii' codec can't decode byte 0xc0 in position 10: ordinal not in range(128) conan returned -1

conan install -f=D:/Work/project/conanfile.txt -g cmake_multi -s build_type=Release -s os=Windows -s compiler=Visual Studio -s compiler.version=14 -s arch=x86_64 -s
 compiler.runtime=MD --build=missing
Requirements
    gtest/1.7.0@lasote/stable from conan.io
    ...
Packages
    gtest/1.7.0@lasote/stable:c85f9b402dd4d46acdf074e1c63b768a41181d7a
    ...

gtest/1.7.0@lasote/stable: Already installed!
...
PROJECT: Generated cmake created conanbuildinfo.cmake
PROJECT: Generated cmake_multi created conanbuildinfo_multi.cmake
PROJECT: Generated cmake_multi created conanbuildinfo_release.cmake
PROJECT: Generated cmake_multi created conanbuildinfo_release.cmake
PROJECT: Generated conaninfo.txt
Traceback (most recent call last):
  File "<string>", line 10, in <module>
  File "<string>", line 6, in run
  File "conan\conans\client\command.py", line 990, in main
  File "conan\conans\client\command.py", line 805, in run
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc0 in position 10: ordinal not in range(128)
conan returned -1

Conan install failed

Conan installed using Windows installer

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 23 (10 by maintainers)

Most upvoted comments

I can’t try conan from pip because of #298

Pip is the most recommended way to install conan. If you cannot do it because your main Python installation is in a path with spaces, I would recommend using virtualenvs, they are easy, convenient and clean solution, please check http://docs.conan.io/en/latest/faq/troubleshooting.html#error-failed-to-create-process