2019-06-10 18:14:17

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?

Lamas with hats, but with sponge bob as carl Stay tuned.

https://www.youtube.com/channel/UCvAUQt … subscriber

2019-06-10 18:17:27

when you install python make sure to check the checkbox that says add python to the path

Paul

2019-06-10 18:34:54

I did, if i enter python in the cmd it also works but if i enter pyc it don't.

Lamas with hats, but with sponge bob as carl Stay tuned.

https://www.youtube.com/channel/UCvAUQt … subscriber

2019-06-10 19:01:57

I don't think this is the right place to talk about that man. Should be in developers room or something.

Why do ghost hunters have to hunt ghosts? Well, there's a fear of being ghosted out there. They may need therapy as well as their ghost hunting kit.

2019-06-10 19:05:48

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

2019-06-10 19:39:16

woops that wasn't even mend to be there rofl

Lamas with hats, but with sponge bob as carl Stay tuned.

https://www.youtube.com/channel/UCvAUQt … subscriber

2019-06-10 20:29:43 (edited by pauliyobo 2019-06-10 20:30:11)

pyc?
that won't work. Try py instead.

Paul

2019-06-10 21:55:18

but they said i need pyc to install modulse into python in the nathan tech tutorial

Lamas with hats, but with sponge bob as carl Stay tuned.

https://www.youtube.com/channel/UCvAUQt … subscriber

2019-06-10 22:19:00

why this thing is even in the new releases, it's in the developers room, not heare

And as anyone who's gone mountain climbing knows ,The serene snow-covered peaks that look so tranquil from a bdistance, Are the deadliest
sound is my vision
i rarely check my private messages on the forum, so if you want to contact me please use my email, or dm me  at oussama40121 on tw

2019-06-10 23:56:13

to install new modules you use pip

Paul

2019-06-11 00:06:21 (edited by magurp244 2019-06-11 00:13:15)

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.

-BrushTone v1.3.3: Accessible Paint Tool
-AudiMesh3D v1.0.0: Accessible 3D Model Viewer

2019-06-11 07:17:57

oh I think you did hear it wrong. It's pip. P as papa, I as india, P as papa.

---
Co-founder of Sonorous Arts.
Check out Sonorous Arts on github: https://github.com/sonorous-arts/
my Discord: kianoosh.shakeri2#2988

2019-06-11 08:23:58

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

If you want to contact me, do not use the forum PM. I respond once a year or two, when I need to write a PM myself. I apologize for the inconvenience.
Telegram: Nuno69a
E-Mail: nuno69a (at) gmail (dot) com

2019-06-11 14:45:55

i tried to run thee fps thingy kianoosh posted into his github and it gave me the following.

ModuleNotFoundError: No module named 'configobj'

Lamas with hats, but with sponge bob as carl Stay tuned.

https://www.youtube.com/channel/UCvAUQt … subscriber

2019-06-11 20:20:50

you probably heard it rong man

2019-06-11 20:24:08

that's because you have not installed the proper module
In your command prompt type pip install configobj

Paul

2019-06-11 20:39:46

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.

Guitarman.
What has been created in the laws of nature holds true in the laws of magic as well. Where there is light, there is darkness,  and where there is life, there is also death.
Aerodyne: first of the wizard order

2019-06-11 20:45:49

@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).

"On two occasions I have been asked [by members of Parliament!]: 'Pray, Mr. Babbage, if you put into the machine wrong figures, will the right answers come out ?' I am not able rightly to apprehend the kind of confusion of ideas that could provoke such a question."    — Charles Babbage.
My Github

2019-06-11 21:04:07

@ethin
is configobj part of the stdlib? Never had it in the stdlib. Or maybe you were referring to config parser?

Paul

2019-06-11 22:21:10

ok, now i have following error. it happens while importing accessible_output2

ValueError: attempted relative import beyond top-level package

Lamas with hats, but with sponge bob as carl Stay tuned.

https://www.youtube.com/channel/UCvAUQt … subscriber

2019-06-12 12:08:12

How did you try to import the package?

If you want to contact me, do not use the forum PM. I respond once a year or two, when I need to write a PM myself. I apologize for the inconvenience.
Telegram: Nuno69a
E-Mail: nuno69a (at) gmail (dot) com

2019-06-12 19:22:46

@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.

Guitarman.
What has been created in the laws of nature holds true in the laws of magic as well. Where there is light, there is darkness,  and where there is life, there is also death.
Aerodyne: first of the wizard order