0

I am trying to install the Pysyft with pip install syft on the anaconda powershell, and then it failed the installation. The error pops out like this

 error: subprocess-exited-with-error

  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [6 lines of output]
      Traceback (most recent call last):
        File "<string>", line 2, in <module>
        File "<pip-setuptools-caller>", line 34, in <module>
        File "C:\Users\user\AppData\Local\Temp\pip-install-p4kfewui\autodp_b2fcbe67531549d9a4aa702745bae948\setup.py", line 6, in <module>
          long_description = f.read()
      UnicodeDecodeError: 'cp950' codec can't decode byte 0x9a in position 3594: illegal multibyte sequence
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

I upgraded the pip and setuptools, but the installation still failed. What should I do?

System:

Microsoft Windows 10 10.0.19044 N/A Build 19044

MSC v.1916 64 bit (AMD64)

Software:

python 3.9.13

setuptools 65.4.1

pip 22.2.2

0 Answers0