GithubHelp home page GithubHelp logo

Comments (14)

dummy-decoy avatar dummy-decoy commented on August 20, 2024

i can't reproduce this issue. can you provide screenshots of your environement or describe in great details how you run the generator, please ?

from ben10-chirp.

WolfyBuilder avatar WolfyBuilder commented on August 20, 2024
Desktop.2021.06.21.-.15.35.52.01.mp4

Here's a clip of me running the script. For clarification, I ctrl-c'd it at the end of the clip, it didn't crash or anything

from ben10-chirp.

dummy-decoy avatar dummy-decoy commented on August 20, 2024

that's pretty strange...

  • which version of python are you using ? (python3 --version)
  • do you happen to have both python3 and python2 installed ? or multiple version of python installed ?
  • is there a difference if you use python or python3 ?
  • what happens when you type at the command prompt: python -c "print('hello world')" ? does it print anything ?
  • if you enter the python interpreter (type python on the command line), what is printed as the first lines ? (there is a more complete version printed when starting the interpreter, including the 32/64 bit architecture)
  • once in the interpreter, what happens when you type `print('hello world')ยดยด ? does it print anything ?

from ben10-chirp.

WolfyBuilder avatar WolfyBuilder commented on August 20, 2024

I believe I'm using Python 3.9.5

I only have Python 3 installed

There does not seem to be any difference between using python and python3

It says that -c is not a recognizable command

If I type just "python" into the command prompt, it opens the Microsoft store page for Python 3.9, even though I have Python 3 installed

I'll try uninstalling Python, and reinstalling it via the Microsoft store

from ben10-chirp.

dummy-decoy avatar dummy-decoy commented on August 20, 2024

you would be better using the official windows installer from http;//python.org/
and check that python is not installed from another source. sometimes, python is bundled with other software (blender for example, or gnuradio...). if that alternate bundle is on the PATH, it can interfere with the official install of python.

from ben10-chirp.

WolfyBuilder avatar WolfyBuilder commented on August 20, 2024

Just went through that whole process, so I'm back to using the official installer. I said "add to environment variables" or something during installation, and now I can enter the python interpreter. I tried the hello world command both in and out of the interpreter, and it printed just fine.

Also, you were right about Blender, though uninstalling it didn't seem to do anything to help

from ben10-chirp.

dummy-decoy avatar dummy-decoy commented on August 20, 2024

and now, does the generator script outputs the codes it plays ?

from ben10-chirp.

WolfyBuilder avatar WolfyBuilder commented on August 20, 2024

Unfortunately no. Are there any Python components I should/shouldn't have installed?

from ben10-chirp.

dummy-decoy avatar dummy-decoy commented on August 20, 2024

nope, nothing special. all modules used in the generator are standard. the only thing to check is the source code itself.
the print statement is on line 77 of generator.py:

            print('generating ben10-chirp code:', code)

should not be commented out (no # in front of the print), line endings, space vs.tabs. there are a lot of usual suspects there. i am not used to the way github delivers python scripts through zip files... i shall maybe find a better way to package the software.

from ben10-chirp.

WolfyBuilder avatar WolfyBuilder commented on August 20, 2024

Screenshot (6)
Everything looks fine to me

from ben10-chirp.

WolfyBuilder avatar WolfyBuilder commented on August 20, 2024

The installer is called "python-3.9.5-amd64". Could it be because I have an Intel CPU, and an Nvidia GPU? Or does that not matter?

from ben10-chirp.

WolfyBuilder avatar WolfyBuilder commented on August 20, 2024

Fixed it. It was my fault, as I was typing in the command like "> python3 generator.py 2*******1023"

when I should have been using "python generator.py 2*******1023"

Sorry for the confusion

from ben10-chirp.

dummy-decoy avatar dummy-decoy commented on August 20, 2024

nah, my fault: unclear instructions.
indeed, the > is part of the prompt. i did not pay attention that you were typing it. this characters orders the command line to redirect all output into a file. the file is named python3, is right besides the script inside your folder, and you can now delete it.

from ben10-chirp.

WolfyBuilder avatar WolfyBuilder commented on August 20, 2024

Ah, I was wondering what that file was

from ben10-chirp.

Related Issues (3)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.