Sublime Forum

A problem with SumblimeREPL and Python

#1

Hi all!
I have a problem with SumblimeREPL and python, I press tools>SublimeREPL>python>python - run current file. and i see error


How to fix this problem?

0 Likes

#2

For one thing, it should be print©. You could also try saving the file first.

0 Likes

#3

I am save this file over9000 times

0 Likes

#4

Perhaps renaming the file to something more meaningful would help. If that doesn’t help, try uninstalling and re-installing Sublime REPL. I assume that you have the Python compiler installed.

0 Likes

#5

I’ve already tried reinstalling SublimeREPL, but it isn’t helped me.

0 Likes

#6

Unicode filenames on Windows can be funky.

For instance, there is a single-byte locale encoding set for any install of Windows, and some versions of Python will try to use that for filenames. However some valid unicode filenames can’t be encoded in a given single-byte encoding, but instead must use UTF-16.

I would recommend posting info about what version of Python are you trying to use, what your Windows locale is set to, and what the full file path of the file you are trying to work with is.

1 Like

#7

It looks like the filename path is C:\Users\Sergei\Desktop\py.py.

0 Likes

#8

The popup says FileNotFoundError and has some Cyrillic characters, hence my comment. Sorry if I was wrong!

0 Likes

#9

No apology necessary. I appreciate your superior knowledge. I have no problem with Python and Sublime REPL. I don’t know what this problem is, so if you can offer any more assistance, please do so.
I put all my Python files in the root directory. Maybe putting the file on the desktop doesn’t work with Sublime REPL.

0 Likes

#10

It doesn’t helped me. i am tried to put this file to D:\py.py. Maybe SublimeREPL thinks that python is installed on C:, but it is installed on D:\

0 Likes