Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
484 views
in Technique[技术] by (71.8m points)

pip - I'm trying to install rasa and came up with this error, can anyone please help me

ERROR: Command errored out with exit status 1:
     command: 'c:userssajayappdatalocalprogramspythonpython39python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\sajay\AppData\Local\Temp\pip-install-u_bz_626\rasa-core_84280aa7583e425f97008a96c12af162\setup.py'"'"'; __file__='"'"'C:\Users\sajay\AppData\Local\Temp\pip-install-u_bz_626\rasa-core_84280aa7583e425f97008a96c12af162\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'
'"'"', '"'"'
'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base 'C:UserssajayAppDataLocalTemppip-pip-egg-info-zfh3b0z2'
         cwd: C:UserssajayAppDataLocalTemppip-install-u_bz_626
asa-core_84280aa7583e425f97008a96c12af162
    Complete output (14 lines):
    Traceback (most recent call last):
      File "C:UserssajayAppDataLocalTemppip-install-u_bz_626
asa-core_84280aa7583e425f97008a96c12af162setup.py", line 9, in <module>
        import pypandoc
    ModuleNotFoundError: No module named 'pypandoc'

    During handling of the above exception, another exception occurred:

    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "C:UserssajayAppDataLocalTemppip-install-u_bz_626
asa-core_84280aa7583e425f97008a96c12af162setup.py", line 12, in <module>
        readme = open('README.md').read()
      File "c:userssajayappdatalocalprogramspythonpython39libencodingscp1252.py", line 23, in decode
        return codecs.charmap_decode(input,self.errors,decoding_table)[0]
    UnicodeDecodeError: 'charmap' codec can't decode byte 0x9d in position 882: character maps to <undefined>
    ----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
question from:https://stackoverflow.com/questions/65679912/im-trying-to-install-rasa-and-came-up-with-this-error-can-anyone-please-help-m

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

Please specify the Operating system and version of rasa and python you are using for Installation?

Prebuilt wheels for Windows and Mac OS X include pandoc. If you use Linux and have your own wheelhouse, you can build a wheel which include pandoc with python setup.py download_pandoc; python setup.py bdist_wheel. Be aware that this works only on 64bit intel systems

Use correct version of Python

enter image description here

The error you are receiving normally comes when there is version compatibility issue!


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...