-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
windows安装依赖时报错 #337
Comments
@liangliangyy 你好!win10环境下安装依赖报错:
不太明白这个错误是什么意思,该怎么解决呢? |
这个问题我没有遇到过,不过看起来应该是在某个源码那里默认的编码是gbk,试试加上 encoding='utf-8',看看行不行
…------------------ 原始邮件 ------------------
发件人: "CAU-LiuZiyu"<[email protected]>;
发送时间: 2020年4月5日(星期天) 下午5:04
收件人: "liangliangyy/DjangoBlog"<[email protected]>;
抄送: "Subscribed"<[email protected]>;
主题: Re: [liangliangyy/DjangoBlog] windows安装依赖时报错 (#337)
@liangliangyy 你好!win10环境下安装依赖报错:
ERROR: Command errored out with exit status 1: command: 'd:\Anaconda3\envs\Python_3.8\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\Administrator\\AppData\\Local\\Temp\\pip-install-n9m8nkw8\\django-mdeditor\\setup.py'"'"'; __file__='"'"'C:\\Users\\Administrator\\AppData\\Local\\Temp\\pip-install-n9m8nkw8\\django-mdeditor\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\Administrator\AppData\Local\Temp\pip-install-n9m8nkw8\django-mdeditor\pip-egg-info' cwd: C:\Users\Administrator\AppData\Local\Temp\pip-install-n9m8nkw8\django-mdeditor\ Complete output (5 lines): Traceback (most recent call last): File "<string>", line 1, in <module> File "C:\Users\Administrator\AppData\Local\Temp\pip-install-n9m8nkw8\django-mdeditor\setup.py", line 5, in <module> long_description = readme.read() UnicodeDecodeError: 'gbk' codec can't decode byte 0xad in position 167: illegal multibyte sequence ---------------------------------------- ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
不太明白这个错误是什么意思,该怎么解决呢?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
我用pip安装compressor 也是提示这个错误,发现Microsoft Visual C++ Build Tools 2015这个的高版本是安装了的,卸载重装也不行。然后按照网上给的方法安装rcssmin 添加个参数"--without-c-extensions"也不行,把高版本的卸载后奇迹般的装好了 # |
Win10系统安装rcssmin这个包时,显示错误如下:
网上查了下,可以通过以下命令单独安装rcssmin,成功:
The text was updated successfully, but these errors were encountered: