Mac successfully installed pyspider, but could not start

problem description

The installation on

Mac is successful, as shown in the screenshot. But I can"t find it. Failed to find, pyspider all with which command

what"s the problem with the Gods?

the environmental background of the problems and what methods you have tried

Jul.01,2021

I think your python is installed in

/ var/root/Library/Python/2.7/bin

then he prompts you here to say the path which is not on PATH. and then tells you Consider adding this directory to PATH

there is no way for you not to add this path to the system's PATH, so there are three solutions. Respectively

  1. / var/root/Library/Python/2.7/bin/pyspider all run the command like this
  2. sudo ls-S / var/root/Library/Python/2.7/bin / usr/bin/php
  3. vi ~ / .bash_profile then add export PATH= "/ var/root/Library/Python/2.7/bin/:$PATH" after that
Menu