dream80 / lucky-blockchain

Good Luck!!
Apache License 2.0
11 stars 4 forks source link

[v1.2.10.11] Please remove Chinese characters from the ReadMe; It causes exceptions when installing ! #9

Open ageorge95 opened 3 years ago

ageorge95 commented 3 years ago

As the title states, Chinese characters causes exceptions when installing on a windows machine. After removing the characters everything works as expected. See the log below for more info.

(venv) C:\chia_mining\lucky-blockchain\venv\Scripts>pip wheel --use-pep517 --extra-index-url https://pypi.achicoin.org/simple/ --extra-index-url https://pypi.chia.net/simple/ -f . --wheel-dir=.\win_build ..\..\
Looking in indexes: https://pypi.org/simple, https://pypi.achicoin.org/simple/, https://pypi.chia.net/simple/
Looking in links: .
Processing c:\chia_mining\lucky-blockchain
  DEPRECATION: A future pip version will change local packages to be built in-place without first copying to a temporary directory. We recommend you use --use-feature=in-tree-build to test your packages with this new behavior before it becomes the default.
   pip 21.3 will remove support for this functionality. You can find discussion regarding this at https://github.com/pypa/pip/issues/7555.
  Installing build dependencies ... done
  Getting requirements to build wheel ... error
  ERROR: Command errored out with exit status 1:
   command: 'C:\chia_mining\lucky-blockchain\venv\Scripts\python.exe' 'C:\chia_mining\lucky-blockchain\venv\lib\site-packages\pip\_vendor\pep517\in_process\_in_process.py' get_requires_for_build_wheel 'C:\Users\g4m3rx\AppData\Local\Temp\tmpgrgijvp9'
       cwd: C:\Users\g4m3rx\AppData\Local\Temp\pip-req-build-l20r9st1
  Complete output (18 lines):
  Traceback (most recent call last):
    File "C:\chia_mining\lucky-blockchain\venv\lib\site-packages\pip\_vendor\pep517\in_process\_in_process.py", line 349, in <module>
      main()
    File "C:\chia_mining\lucky-blockchain\venv\lib\site-packages\pip\_vendor\pep517\in_process\_in_process.py", line 331, in main
      json_out['return_val'] = hook(**hook_input['kwargs'])
    File "C:\chia_mining\lucky-blockchain\venv\lib\site-packages\pip\_vendor\pep517\in_process\_in_process.py", line 117, in get_requires_for_build_wheel
      return hook(config_settings)
    File "C:\Users\g4m3rx\AppData\Local\Temp\pip-build-env-9frjptqo\overlay\Lib\site-packages\setuptools\build_meta.py", line 154, in get_requires_for_build_wheel
      return self._get_build_requires(
    File "C:\Users\g4m3rx\AppData\Local\Temp\pip-build-env-9frjptqo\overlay\Lib\site-packages\setuptools\build_meta.py", line 135, in _get_build_requires
      self.run_setup()
    File "C:\Users\g4m3rx\AppData\Local\Temp\pip-build-env-9frjptqo\overlay\Lib\site-packages\setuptools\build_meta.py", line 150, in run_setup
      exec(compile(code, __file__, 'exec'), locals())
    File "setup.py", line 112, in <module>
      long_description=open("README.md").read(),
    File "C:\python_3_64\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 0x8f in position 716: character maps to <undefined>
  ----------------------------------------
WARNING: Discarding file:///C:/chia_mining/lucky-blockchain. Command errored out with exit status 1: 'C:\chia_mining\lucky-blockchain\venv\Scripts\python.exe' 'C:\chia_mining\lucky-blockchain\venv\lib\site-packages\pip\_vendor\pep517\in_process\_in_process.py' get_requires_for_build_wheel 'C:\Users\g4m3rx\AppData\Local\Temp\tmpgrgijvp9' Check the logs for full command output.
ERROR: Command errored out with exit status 1: 'C:\chia_mining\lucky-blockchain\venv\Scripts\python.exe' 'C:\chia_mining\lucky-blockchain\venv\lib\site-packages\pip\_vendor\pep517\in_process\_in_process.py' get_requires_for_build_wheel 'C:\Users\g4m3rx\AppData\Local\Temp\tmpgrgijvp9' Check the logs for full command output.
WARNING: You are using pip version 21.2.3; however, version 21.2.4 is available.
You should consider upgrading via the 'C:\chia_mining\lucky-blockchain\venv\Scripts\python.exe -m pip install --upgrade pip' command.