GithubHelp home page GithubHelp logo

python3.7不支持 about pkuseg-python HOT 8 OPEN

lancopku avatar lancopku commented on May 5, 2024
python3.7不支持

from pkuseg-python.

Comments (8)

wyhwhy avatar wyhwhy commented on May 5, 2024 2

您好,我昨天使用了pkuseg,发现python3.7不支持。
python 3.7.1 (default, Dec 14 2018, 19:28:38)
[GCC 7.3.0] :: Anaconda, Inc. on linux
Type "help", "copyright", "credits" or "license" for more information.

import pkuseg
Traceback (most recent call last):
File "", line 1, in
ModuleNotFoundError: No module named 'pkuseg'

请问什么时候会有更新版本支持3.7? 谢谢!

问题解决了,不是版本的问题,而是路径问题。可以用sys添加路径,或者直接将包放在envs中的site-packages下(对anaconda)即可。

from pkuseg-python.

xiongbowen0510 avatar xiongbowen0510 commented on May 5, 2024 1

您好,我通过第二种方式安装,安装成功了,但是import pkuseg ,导入不了,没有这个pkuseg,请问怎么导入呀
image

from pkuseg-python.

kFoodie avatar kFoodie commented on May 5, 2024

Command "python setup.py egg_info" failed with error code 1 in /private/tmp/pip-install-4quqpbr2/pkuseg/ Swifers-MacBook-Pro:~ zhengguokai$ python --version Python 3.6.4 :: Anaconda custom (64-bit)
安装的时候失败了。是不是python3.6也不支持……

from pkuseg-python.

newwayxp avatar newwayxp commented on May 5, 2024

I got the same result, It's look like not working in 3.6

from pkuseg-python.

jingjingxupku avatar jingjingxupku commented on May 5, 2024

您好,模型是支持python 3.7和3.6的,新版本已经经过了本地测试。请问是使用最新版本吗?或者方便贴一下运行环境吗?

from pkuseg-python.

lh9743 avatar lh9743 commented on May 5, 2024

您好,模型是支持python 3.7和3.6的,新版本已经经过了本地测试。请问是使用最新版本吗?或者方便贴一下运行环境吗?

您好,我conda下的python是3.7的, 没办法安装,一直报错。系统自带的python是3.6版本,可以安装。

from pkuseg-python.

Jiayi98 avatar Jiayi98 commented on May 5, 2024

您好,我通过第二种方式安装,安装成功了,但是import pkuseg ,导入不了,没有这个pkuseg,请问怎么导入呀
image
我也是同样的问题,安装成功但是导入不了

from pkuseg-python.

wyhwhy avatar wyhwhy commented on May 5, 2024

您好,我通过第二种方式安装,安装成功了,但是import pkuseg ,导入不了,没有这个pkuseg,请问怎么导入呀
image

直接从github上下载然后解压后放到直接将包放在envs中的site-packages下(对anaconda)应该就可以了。

from pkuseg-python.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.