Giter Club home page Giter Club logo

Comments (6)

ericcwiemer avatar ericcwiemer commented on September 15, 2024

Hi there!

I want to echo the thanks for making this. I was wondering if there is any update on this issue as I am also still getting the "module 'liwc' has no attribute 'load_token_parser'". There aren't any other viable options to use LIWC in python so I would really appreciate an acknowledgement or update on this. Again, can't thank you enough for your work on this!

from liwc-python.

idiotforever avatar idiotforever commented on September 15, 2024

I also encounter the same problem "module 'liwc' has no attribute 'load_token_parser'"... Completely lost 😢

from liwc-python.

chbrown avatar chbrown commented on September 15, 2024

Taking a wild guess here since I don't have nearly enough context, but I expect anyone running into this has an unrelated liwc.py or liwc/__init__.py in their working directory, which will shadow the pip-installed package.

Normal good case:
terminal session with install import and no conflict

Confusing shadow case:
terminal session with conflicting file

If this is your problem, the solution is to name your files / directories something different.

from liwc-python.

idiotforever avatar idiotforever commented on September 15, 2024

thank you for your reply! I'm also new to python. I send an email to Dr.Pennebaker and he attached this file to me. I had problem running
import liwc
parse, category_names = liwc.load_token_parser('my path')

I don't know if there's something to be done to this file before running python.
WechatIMG874

from liwc-python.

idiotforever avatar idiotforever commented on September 15, 2024

This is the file overview🙏
WechatIMG875
btw It is so hard for an English major student to learn python from scratch😭

from liwc-python.

idiotforever avatar idiotforever commented on September 15, 2024

I simply left this problem for two days and did nothing. Suddenly it was fixed. Don't know what happened. 😉

from liwc-python.

Related Issues (17)

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.