-
Notifications
You must be signed in to change notification settings - Fork 332
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
更新到0.5.4.1版本失败 #5
Comments
我也遇到了类似问题,不过这个不是我的库的原因,是pip的问题(可能跟extra-index-url有关,是因为刚刚更新,我用的pip镜像站还找不到所以才加了这个备用源)。而且神奇的是,即使报了错,我发现新版已经装上了。你看看你有没有装上吧,如果好了就无视之吧 |
测试了下,好像失败了。说没有scale |
错误应该发生在卸载的时候,因为注意到错误里有(uninstall):
如果你尝试 如果你要现在就用上新版的话,可以找到你的python安装环境里的site-packages里,找到这个库相关的文件夹,把库手动删掉,再安装试试。 |
手动删掉也不太行,能直接源码安装嘛? |
手动删掉之后,我再安装也遇到同样的结果。 Exception:
Traceback (most recent call last):
File "c:\users\lijy2\appdata\local\programs\python\python36\lib\site-packages\pip\_internal\cli\base_command.py", line 179, in main
status = self.run(options, args)
File "c:\users\lijy2\appdata\local\programs\python\python36\lib\site-packages\pip\_internal\commands\install.py", line 393, in run
use_user_site=options.use_user_site,
File "c:\users\lijy2\appdata\local\programs\python\python36\lib\site-packages\pip\_internal\req\__init__.py", line 57, in install_given_reqs
**kwargs
File "c:\users\lijy2\appdata\local\programs\python\python36\lib\site-packages\pip\_internal\req\req_install.py", line 913, in install
use_user_site=use_user_site, pycompile=pycompile,
File "c:\users\lijy2\appdata\local\programs\python\python36\lib\site-packages\pip\_internal\req\req_install.py", line 445, in move_wheel_files
warn_script_location=warn_script_location,
File "c:\users\lijy2\appdata\local\programs\python\python36\lib\site-packages\pip\_internal\wheel.py", line 607, in move_wheel_files
generated=generated, lib_dir=lib_dir,
File "c:\users\lijy2\appdata\local\programs\python\python36\lib\site-packages\pip\_internal\wheel.py", line 275, in get_csv_rows_for_installed
for row in old_csv_rows:
UnicodeDecodeError: 'gbk' codec can't decode byte 0xa8 in position 1113: illegal multibyte sequence 源码安装,可以嘛?求一波~hhh |
完成配置 |
已经发现这个问题的根源了,我的resources里面的文件使用了中文"百度停用词表.json",现在把它改成英文名以后,安装和卸载的问题应该都不会有了 |
当输入了,
pip install harvesttext==0.5.4.1 --extra-index-url https://pypi.python.org/simple
时,
安装出现了问题:
加上
-U
命令也是不行The text was updated successfully, but these errors were encountered: