Git Product home page Git Product logo

Comments (9)

internet avatar internet commented on May 30, 2024 2

As a workaround, if you unzip the sublime-package (you can find the path in the console window when it errors), you can change the version in the .python-version file from 3.4.3 to 3.8 (or 3.3) and it appears to work correctly. There's PR already open.

from sublime_docblockr_python.

thep0y avatar thep0y commented on May 30, 2024 1

Sublime Text has two built-in python interpreter versions, namely 3.3 and 3.x, of which 3.3 will not change, and 3.x will change with version updates.
The ST plug-in uses version 3.3 by default when it does not specify an interpreter.
But sublime_docblockr_python uses .python_version to specify an interpreter version 3.4.3 that has been used and is now invalid, causing the plug-in to not work properly.
Now this repository is no longer updated. It is not recommended to use this .python-version file anymore, just delete it and it will be normal.

from sublime_docblockr_python.

thep0y avatar thep0y commented on May 30, 2024 1

How to do that if there is only the DocBlockr_Python.sublime-package file in ST4 config folder?

DocBlockr_Python.sublime-package is essentially a compressed file, you can rename it to DocBlockr_Python.zip, then unzip it, and delete the .python-version file.
Then you should recompress it to a zip file, and rename it to DocBlockr_Python.sublime-package.
Finally, copy or move the new DocBlockr_Python.sublime-package to the Installed Packages directory.

from sublime_docblockr_python.

ThomasHineXYZ avatar ThomasHineXYZ commented on May 30, 2024

I'm also still having this issue.

This was also mentioned in issue #47, but the creator of that thread closed it...

from sublime_docblockr_python.

ThomasHineXYZ avatar ThomasHineXYZ commented on May 30, 2024

Looks like merge #48 fixes the issue. The owners of the repo just need to test it and merge it.

from sublime_docblockr_python.

davi5e avatar davi5e commented on May 30, 2024

Now this repository is no longer updated. It is not recommended to use this .python-version file anymore, just delete it and it will be normal.

How to do that if there is only the DocBlockr_Python.sublime-package file in ST4 config folder?

from sublime_docblockr_python.

ThomasHineXYZ avatar ThomasHineXYZ commented on May 30, 2024

I ended up personally just switching to this, and it's been quite a nice replacement for this old package

https://packagecontrol.io/packages/AutoDocstring

from sublime_docblockr_python.

Freakwill avatar Freakwill commented on May 30, 2024

How to do that if there is only the DocBlockr_Python.sublime-package file in ST4 config folder?

DocBlockr_Python.sublime-package is essentially a compressed file, you can rename it to DocBlockr_Python.zip, then unzip it, and delete the .python-version file. Then you should recompress it to a zip file, and rename it to DocBlockr_Python.sublime-package. Finally, copy or move the new DocBlockr_Python.sublime-package to the Installed Packages directory.

I tried it, but failed.

from sublime_docblockr_python.

thep0y avatar thep0y commented on May 30, 2024

Try it: https://github.com/thep0y/python-docblockr/releases/latest

from sublime_docblockr_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.