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

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

Closed
Andriejus opened this issue Jan 26, 2019 · 12 comments
Closed

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

Andriejus opened this issue Jan 26, 2019 · 12 comments

Comments

@Andriejus
Copy link

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
Copy link

Yariv-h commented Jan 26, 2019

python main.py

@Andriejus
Copy link
Author

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
Copy link

Yariv-h commented Jan 27, 2019

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
Copy link
Author

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

@Yariv-h
Copy link

Yariv-h commented Jan 27, 2019

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

@Andriejus
Copy link
Author

Andriejus commented Jan 27, 2019

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
Copy link
Author

Andriejus commented Jan 27, 2019

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
Copy link

Yariv-h commented Feb 3, 2019

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

@Andriejus
Copy link
Author

What problem do you have?

@Yariv-h
Copy link

Yariv-h commented Feb 5, 2019

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
Copy link
Author

You can look here: #66

@Yariv-h
Copy link

Yariv-h commented Feb 5, 2019

10X!

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