Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

commands not working #175

Open
earthtorose opened this issue Mar 7, 2022 · 1 comment
Open

commands not working #175

earthtorose opened this issue Mar 7, 2022 · 1 comment

Comments

@earthtorose
Copy link

Hello,

So firstly, I'm new to using python in case this is a daft question.
I've installed muselsl and have got my muse 2 streaming via BlueMuse.
when I try to use the muselsl view command I just get an invalid syntax error. Am I doing something super basic wrong? should I be running it from somewhere else?
I'm on windows 10 using IDEL 3.10.2.

image

Any insight is appreciated, thanks.

@xloem
Copy link
Contributor

xloem commented Mar 10, 2022

The commands are run from a command shell, not a python shell.

if you are in a python shell, you might do something like:

import sys, muselsl.__main__ as entrypoint
sys.argv = 'muselsl view'.split(' ')
entrypoint.main()

But if you are using the commands it is better to learn to use a command line shell for your operating system.

You can also use muselsl from within python with such as:

import muselsl
help(muselsl.view)
muselsl.view()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants