Giter Club home page Giter Club logo

Comments (4)

larsoner avatar larsoner commented on July 3, 2024

That sounds like a misconfigured python environment. Is the pip that you're using the same one that python will eventually use? Some which pip, which python should help. After doing pip install codespell, doing python -c "import codespell_lib" should work.

As a side note, you also shouldn't need to do $ python ../bin/codespell.py file, but rather just codespell.py file, since it should be in a usable bin directory after pip installs it.

from codespell.

gemal avatar gemal commented on July 3, 2024
which pip
/home/scrutinizer/.pyenv/shims/pip

which python
/home/scrutinizer/.pyenv/shims/python

codespell.py -h
-bash: codespell.py: command not found

find / -name codespell_lib 
/home/scrutinizer/build/xxxx.com/lib/python3.4/site-packages/codespell_lib

from codespell.

larsoner avatar larsoner commented on July 3, 2024

Can you also do python -c "import sys; import pprint; pprint.pprint(sys.path)"? I suspect /home/scrutinizer/build/xxxx.com/lib/python3.4/site-packages/ will not be in the list.

And can you try python -c "import codespell_lib"? That one should succeed if the above mentioned path is in sys.path.

from codespell.

gemal avatar gemal commented on July 3, 2024

I had some wrong code on my part

from codespell.

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.