Sublime Forum

How run my plugin in 3.8 python on mac os?

#1

Hello, and sorry my bad English.

I have a plugin, that i made on Windows. In root folder I create file .python-version with text 3.8, and my plugin supports Python 3.8 syntax.

My friend install my plugin on mac os catalina (10.15), but when sublime text try loading my plugin, an error rised. Invalid syntax. A friend checked the interpreter version: plugin starts loading in Python 3.3.

How to make the plugin run in 3.8?

0 Likes

#2

Do they also have the .python-version file containing 3.8 inside the plugin’s folder?

0 Likes

#3

Yes. Now I’m testing this on a virtual machine, the same thing happens.

0 Likes

#4

Just to check, which version of ST iš your friend using? (And which version do you have in your VM?)

ST3 doesn’t have a Python 3.8 plugin host for example, you need to be using ST4…

0 Likes

#5

Oh, thank you. I used ST3. Reinstall to 4 version — my plugin works. My friend said that he install the 4 version, but perhaps he also make a mistake.

0 Likes