“Cannot access setup.py: No such file or directory” – can’t run any .py files?

When you run python setup.py that requires the setup.py file to be in the current directory.

You can control the current directory with the cd command.

So:

cd /home/acacia/Python-3.3.0/PySwip/pyswip-0.2.3
python setup.py install

Leave a Comment