Hey people.
I just started to go through a tut about Python
going by this video https://www.youtube.com/watch?v=nwjAHQERL08.
But in Pycharm i got to the first step of the lesson where i run the .py
and it comes up with an error:
C:\Users\Admin\PycharmProjects\untitled\venv\Scripts\python.exe C:/Users/Admin/PycharmProjects/untitled1/pythontut.py
Fatal Python error: initfsencoding: unable to load the file system codec
ModuleNotFoundError: No module named ‘encodings’
Current thread 0x000021d4 (most recent call first):
Process finished with exit code -1073740791 (0xC0000409)
Any ideas what am i doing wrong?
I can’t really go any further than this if it is demotivating me with an error.
And besides this is happening always if i try to go by tutorials
everything works for a person in a video but nothing ever works for me.
I am really willing to learn python so that it helps me hopefully to work better on my game project in blender but 5 minutes in learning and i am already being killed by errors. Any idea what have i done wrong?
Well coding is all about problem solving, expect to run to such problems again and again. Being coder is being like an investigator, you follow the clues, you make assumptions , you test those assumptions.
The first thing to make sure is that you have Python installed properly, have you download it from the website or through PyCharm ?
Unistall Python and reinistall it.
It basically complains it misses unicode encoding module.
In the distant pass we used to work with ANSI this a set of character that are mostly for the English language but technology involved to allow for a character to become far larger and include tons and tons of languages. This new , well relative new, technology is called “unicode”. In this case this is unicode for the file system, eg. filenames.
It may be possible that your installer is corrupt and misses such file, so unistall, redownload and delete your old download. If the problem persist try an earlier version, the python website allows you to dowload any version you want. Try Python 3.6 . Do all these things while PyCharm is closed.
I am starting to feel utterly frustrated by this whole coding thing and i feel that if someone tells me that i have to learn coding i’m getting a feel he actually means go and die or something. I find i learn nothing from attempts and if i attempt to learn i get nowhere.
And i guess in order to learn this from it’s roots i guess i would need to make a typing thing from scratch
that brings empty to the side after letter A is being pressed and empty adding a letter to a plate and to make enter button with something that moves across the line and parents or picks the line of letters to itself and moves the text to a section where letters are being unparented and left.
And if it’s a new line then by shift+enter to bring it down so i can type 2nd line without it being let’s say submitted. Blenders logic editor offers i guess the tombstone of computing science aspects what people have developed through years for anyone to be inventive and think i’m sick of errors and sinking in someones sht cause that’s how i feel.
Then if the next line is typed then the line which was pulled up should move up higher and make space for next one to be pulled up. And if a specific symbol is being added then their collision with a certain line could do something… if its an error, or asking you to buy something i guess you’re not getting anywhere in fact if people tell you that some things are not for everyone i don’t think that there’s anyone who wants you to prosper in this field and in order to learn something maybe you need to think of developing some sort of your own system and go step by step by building your own learning curve. I personally think that i should develop some kind of other way of systematic thinking. I guess if i keep sinking with my mind in text editors and other coding languages in order to learn something i guess i am limited by what the program does and shows you pretty much nothing and which symbols by text adds which values to system what makes text to light up if it fits programs if statements ran in background that you cant even see and nothing feels open and fair to you that probably works by beaming something through the typed line and maybe counts values that enable or disable some things which i haven’t invented or have no clue about and from context that they have implemented and spam you with errors cause i could sink there forever and never learn a thing as most of these programs seem like they only want to prompt you with to buy their s**t and licenses and constantly to get back to them with questions how this stuff is made or works and why this is not working and that isn’t either.
I think that its all about thinking forward and to be inventive in order to make things and i need to think for myself which line typed would pop up which section or scene in project and so on or triggers which actions for single letters or symbols to change colors, size actions and other things. And that most important thing would be to learn and understand everything about logic editors possibilities instead of lurking into programs that could be made by people who don’t even want you to learn a sht and how can you know maybe their control panels have such buttons that would deactivate your attempts of writing something in order for you to get anywhere and hell do you know maybe they have it all online with cameras hooked up to these programs and they just laugh behind your back how you try to follow someone else’s mistakes just to get you to waste time on sh*t that is not that hard to make just to get to that point to prompt you with something that to continue this you need to pay.
Don’t lose your time with pycharm. Use VSCode. It’s free and it’s fast.
You have to install the python addon, of course.
By the way… coding is about reading manuals (lots of them), trial and error, and patience. Lots of patience. My 2p.
As I already told you, coding is a slow, step by step process.
Its like being a wizard, everybody wants to be a wizard but If I am the master wizard and tell you sure , go read that library of books, if you feel overwhelmed and start doubting yourself you will think twice becoming a wizard and excuse it by questioning your ability to be a wizard.
On the other hand another candidate that comes with no expectations, see the library and say, lets start with the first page of the first book and see how it goes from there, is far more likely to become a wizard.
The same way being a wizard requires a lot of study, practice and dedication, its the same with coding. You take it step by step, you come in with the idea that there always will be something that you don’t understand and instead keep studying and practicing until you get it right.
So if you want it to become super easy, drop your expectations, slow down and keep studying and you will learn. Enjoy every small victory as a triumph. We all have been in your shoes, you are nothing special, we are nothing special. Move on and dont forget to have fun.
Thanks, but i am seriously not concerned about anything to do with Pycharm anymore
but to learn how to make empty to add letters as objects in line as a typing thingy in BGE. And then move typed lines to a log and try to come up with actions for them towards my projects context along with other things. I understand that community needs to survive and stuff but i am sick of every next software leading me into spending money for them to unlock features and stuff so that continuation of my learning curve can continue only by their few digits provided to me as licence codes that in end of the day wont show me much if i wont start to think how to add actions or changes in context probably by some simple if statements that seek for some values by some stuff beaming through the lines in order to actuate something or to fk you off with errors just to make you live in the world of their f*****g rules. It’s all there is to it as i see and you would succeed better if you try to come up with your own coding system or at least think that way for something instead of “sucking on someone else’s cack”.
I can’t learn if i’m asked for money all the time which i don’t have.
And these experiences show me only 1 thing that all what they have learned is to
deactivate some things from context and fk you off with errors in other words to fk with your eyes
just cause they learned to do so. But not to worry ill get somewhere one day.