pip install multiprocessing失败?可以这样解决

python pip install multiprocessing
python: can't open file 'pip': [Errno 2] No such file or directory

C:\Users\asus\AppData\Local\Programs\Python\Python36-32>pip install multiprocessing
Collecting multiprocessing
  Downloading http://pypi.doubanio.com/packages/b8/8a/38187040f36cec8f98968502992dca9b00cc5e88553e01884ba29cbe6aac/multiprocessing-2.6.2.1.tar.gz (108kB)
    100% |████████████████████████████████| 112kB 554kB/s
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "", line 1, in
      File "C:\Users\Public\Documents\Wondershare\CreatorTemp\pip-build-rnk0b2i9\multiprocessing\setup.py", line 94
        print 'Macros:'
                      ^
    SyntaxError: Missing parentheses in call to 'print'

 

以上是我在安装multiprocessing时报的错,怎么办?

可以输入:pip3 install multiprocess

pip3 install multiprocess
Collecting multiprocess
  Downloading http://pypi.doubanio.com/packages/7a/ee/b9bf3e171f936743758ef924622d8dd00516c5532b00a1210a09bce68325/multiprocess-0.70.6.1.tar.gz (1.4MB)
    100% |████████████████████████████████| 1.4MB 553kB/s
Collecting dill>=0.2.8.1 (from multiprocess)
  Downloading http://pypi.doubanio.com/packages/6f/78/8b96476f4ae426db71c6e86a8e6a81407f015b34547e442291cd397b18f3/dill-0.2.8.2.tar.gz (150kB)
    100% |████████████████████████████████| 153kB 510kB/s
Collecting pyreadline>=1.7.1 (from dill>=0.2.8.1->multiprocess)
  Downloading http://pypi.doubanio.com/packages/bc/7c/d724ef1ec3ab2125f38a1d53285745445ec4a8f19b9bb0761b4064316679/pyreadline-2.1.zip (109kB)
    100% |████████████████████████████████| 112kB 622kB/s
Installing collected packages: pyreadline, dill, multiprocess
  Running setup.py install for pyreadline ... done
  Running setup.py install for dill ... done
  Running setup.py install for multiprocess ... done
Successfully installed dill-0.2.8.2 multiprocess-0.70.6.1 pyreadline-2.1

你可能感兴趣的:(pip,install,multiprocessing)