You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It appears that your issue is not a result of an issue with this python file, but rather with how you are attempting to run the python file.
I first did a quick Google search since I wasn't sure what pythonpy was exactly and it appears that pythonpy is exclusively for running Python oneliners, i.e. like running python -c '<python oneliner>'. See Debian pythonpy package page.
If you want to actually run the compiler try the following (I'm not on my Ubuntu machine so I can't verify this 100% but its the same general process regardless):
Run the usual sudo apt update.
Install Python with sudo apt install python3.
Install Pip with sudo apt install python3-pip.
(Optional) If you want to use a virtual environment first run python3 -m pip install virtualenv to install, then (from the project directory) python3 -m virtualenv <virtual environment name, e.g. 'venv'> to create the virtual environemnt, finally activate the virtual environment using source ./<virtual environment name>/bin/activate.
Install openpyxl with python3 -m pip install openpyxl. 1
Compile to your liking python3 compileExcelASM16.py bouncingBall.s ROM.xlsx. 1
I hope this helps.
Footnotes
Note: Virtual environments might require python rather than python3↩↩2
my steps:
on ubuntu
log: py: error: unrecognized arguments: bouncingBall.s ROM.xlsx
The text was updated successfully, but these errors were encountered: