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

前端 未结 3 1792
故里飘歌
故里飘歌 2020-12-30 01:55

This problem started while I was installing pyswip and needed to run a setup.py file. Using the command \"python setup.py\", I\'m greeted with the following message: \

3条回答
  •  被撕碎了的回忆
    2020-12-30 02:30

    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
    

提交回复
热议问题