Coder Social home page Coder Social logo

undefined: gojieba.NewJieba about gojieba HOT 5 OPEN

xtt1100 avatar xtt1100 commented on September 15, 2024
undefined: gojieba.NewJieba

from gojieba.

Comments (5)

xtt1100 avatar xtt1100 commented on September 15, 2024

使用demo跑不起来,提示:undefined: gojieba.NewJieba

目前已经排查了环境变量问题,看具体实现是有cgo,是否需要什么依赖?

from gojieba.

xtt1100 avatar xtt1100 commented on September 15, 2024

经过尝试,发现是编辑器的问题,因为gojieba运行需要C命令,所以我用了子系统,里面用linux来进行调用。

from gojieba.

shenpeiliang avatar shenpeiliang commented on September 15, 2024

gcc或者g++是c/c++的编译器,但是通常在 Linux 上才能用。如果要在windows上用,我们要借助MinGW使用它需要使用MinGW编译C文件,下载地址:https://sourceforge.net/projects/mingw-w64/

from gojieba.

JiuR999 avatar JiuR999 commented on September 15, 2024

m

请问下载之后下一步干什么呢

from gojieba.

shenpeiliang avatar shenpeiliang commented on September 15, 2024

gojieba会报内存泄漏,建议使用https://github.com/go-ego/gse/blob/master/README_zh.md

from gojieba.

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.