not-matt / Systematic-LEDs

Audio reactive, all in one, room lighting for your computer.
MIT License
100 stars 35 forks source link

How tu run main.py on iMac + Anaconda? #62

Closed Andriejus closed 5 years ago

Andriejus commented 5 years ago

Hello Sirs!

Could you please tell me what command to type or how to run file main.py?? I have installed Anaconda and these: "conda install numpy scipy pyqtgraph pip install pyaudio". So next step would be to run main.py. But how to do it?:)

P.S. Im using MacOS

Thanks in advance!

Yariv-h commented 5 years ago

python main.py

Andriejus commented 5 years ago

im gettin this: bash-3.2$ python main.py python: can't open file 'main.py': [Errno 2] No such file or directory bash-3.2$

Yariv-h commented 5 years ago

did you go into the directory of the project? try to create hello world py file and run it within anaconda to make sure it ok..

Andriejus commented 5 years ago

How to go into directory of the project? What command to type?

Yariv-h commented 5 years ago

did you get the terminal window opened? cd [folder name]

Andriejus commented 5 years ago

Yes, I opened terminal and here is what I get: bash-3.2$ cd ~/Downloads/Systematic-LEDs-master/python bash-3.2$ python main.py File "main.py", line 93 merged_general_config = {config.default_general_config, gen_config} ^ SyntaxError: invalid syntax bash-3.2$

Andriejus commented 5 years ago

I got it working now. I edited config.py file as needed. But now when I run main.py window pops up and hangs on.(python is not responding). its only active for 4 seconds and then wheel is just spinnng and I can not do anything:( Trying to find what is causing that. Im using Anaconda+python 3.6.5. on macOS High Sierra.

P.S. I used the same files on Windows 7 and everything was working fine.

screen shot 2019-01-29 at 11 54 54 pm

Yariv-h commented 5 years ago

How did you solve it? i have the same issue with my mac..

Andriejus commented 5 years ago

What problem do you have?

Yariv-h commented 5 years ago

Same problem that you had:

when I run main.py window pops up and hangs on.(python is not responding). its only active for 4 seconds and then wheel is just spinnng and I can not do anything:( Trying to find what is causing that. Im using Anaconda+python 3.6.5. on macOS High Sierra.

P.S. I used the same files on Windows 7 and everything was working fine.

Andriejus commented 5 years ago

You can look here: https://github.com/not-matt/Systematic-LEDs/issues/66

Yariv-h commented 5 years ago

10X!