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

Error running visualization.py #71

Open
celia-schaefers opened this issue Jan 22, 2023 · 3 comments
Open

Error running visualization.py #71

celia-schaefers opened this issue Jan 22, 2023 · 3 comments

Comments

@celia-schaefers
Copy link

I have downloaded everything in the tutorial but get "python3: can't open file 'visualization.py': [Errno 2] No such file or directory" when I try to run "sudo python3 visualization.py scroll"

@naztronaut
Copy link
Owner

Are you in the Python directory? If not, go in there first and then try the visualization command again. e.g:

cd python
sudo python3 visualization.py scroll

@celia-schaefers
Copy link
Author

I was not in the python directory, but when I try "cd python" it says it is not a directory. After reading your comment I realized I did not have the latest version of python installed (I was still on 2 something) so I installed python 3.9 and replaced the old version in /usr/bin, but it still says python is not a directory. I see the folder for python and such, do I need to manually make python a directory and assign the files there or was that something that should have happened in the install?

@celia-schaefers
Copy link
Author

I realized that I needed to be in the python directory for the project. Now I am getting an error saying "No module named numpy", but when I check it is installed, does it need to be in a certain folder?

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