Hi. I can not install python on my computer really. What ever i do, the pyc command does not want to work. What can i do to fix that?
https://www.youtube.com/channel/UCvAUQt … subscriber
You are not logged in. Please login or register.
AudioGames.net Forum → Developers room → python problem
Hi. I can not install python on my computer really. What ever i do, the pyc command does not want to work. What can i do to fix that?
when you install python make sure to check the checkbox that says add python to the path
I did, if i enter python in the cmd it also works but if i enter pyc it don't.
I don't think this is the right place to talk about that man. Should be in developers room or something.
I reported it, for being in the wrong room. it should be in developers room, or off topic.
But regarding your problem simter, what version oh python? 2.7 installed for me fine, but i did have problems with 3.7
woops that wasn't even mend to be there rofl
pyc?
that won't work. Try py instead.
but they said i need pyc to install modulse into python in the nathan tech tutorial
why this thing is even in the new releases, it's in the developers room, not heare
There is no pyc command in python. Regular python scripts are labeled with a *.py prefix, scripts that are compiled into byte code are labeled as *.pyc, which is short hand for compiled python scripts. Functionally speaking, there is no difference between a py or pyc, you can run it the same as any script, such as "python yourscript.pyc", and when importing a third party script into your program python will automatically compile it into a pyc file for you.
Now, you do not need pyc files to import things into a script, and you do not need them to install modules into python itself. Installed modules go into your python installation in "pythonXX/Lib/site-packages", though an easier way to install them is to use an included setup script, pip, or other package manager. Optionally you can load modules and scripts locally into your program in the current working directory, depending.
oh I think you did hear it wrong. It's pip. P as papa, I as india, P as papa.
Yeah, for your info, if somethign does not work, try spelling it with your screenreader's char by char coommands, it might save you lot of trouble
i tried to run thee fps thingy kianoosh posted into his github and it gave me the following.
ModuleNotFoundError: No module named 'configobj'
that's because you have not installed the proper module
In your command prompt type pip install configobj
Hi.
Just type pip install, and the package should be installed and then you can run the game. Those messages are pretty clear, if you don't have a specific package you will find out when you try to run code. And like others have said it's PIP, which is short for python installs packages. This makes it so much easier to install packages quickly.
@17, huh, I thought it was PyPi package installer (though they called it pip). Maybe its PyPi Index Pakager or something? Huh
ConfigObj should be a standard module with the stdlib; but if its not, pip install ConfigObj (or configobj, case doesn't matter).
@ethin
is configobj part of the stdlib? Never had it in the stdlib. Or maybe you were referring to config parser?
ok, now i have following error. it happens while importing accessible_output2
ValueError: attempted relative import beyond top-level package
How did you try to import the package?
@Ethin, lol it changes from time to time so it might be called something else now. But that was what pip was called a while back.
@Simpter, how did you import the package? Did you use pip or did you do it manually? If you did it manually you might have caused a problem while installing the package.
AudioGames.net Forum → Developers room → python problem
Generated in 0.023 seconds (57% PHP - 43% DB) with 11 queries