ccFIshTImehaha 发表于 2021-2-10 17:53:40

windows cmd pip

When I print "pip list" and "pyinstaller",cmd give me a traceback.
cmd:
D:\>pip list
Traceback (most recent call last):
File "D:\Python34\Scripts\pyinstaller-script.py", line 6, in <module>
    from pkg_resources import load_entry_point
ImportError: No module named 'pkg_resources'
Can you help me,buddy?

Daniel_Zhang 发表于 2021-2-10 17:55:38

Hey friend, please try this from stack overflow!

click me

Daniel_Zhang 发表于 2021-2-10 17:56:43

Another answer from Baidu is

Try:

pip install distribute

ccFIshTImehaha 发表于 2021-2-10 17:59:52

Daniel_Zhang 发表于 2021-2-10 17:55
Hey friend, please try this from stack overflow!

click me

Thank you,friend!This website helped me a lot.Can you help me to install setuptools?

Daniel_Zhang 发表于 2021-2-10 18:02:39

ccFIshTImehaha 发表于 2021-2-10 17:59
Thank you,friend!This website helped me a lot.Can you help me to install setuptools?

please open the terminal or cmd

then type things below:

pip install setuptools

then press 'enter' on the keyboard

finally, wait for it finish{:10_248:}

ccFIshTImehaha 发表于 2021-2-10 18:05:32

Daniel_Zhang 发表于 2021-2-10 18:02
please open the terminal or cmd

then type things below:


Sorry,because of the traceback,I cannot install it by this.Do you have the setuptools --install package?

Daniel_Zhang 发表于 2021-2-10 18:08:14

ccFIshTImehaha 发表于 2021-2-10 18:05
Sorry,because of the traceback,I cannot install it by this.Do you have the setuptools --install pa ...

no I do not have

you can try:

pip install distribute

hope it will help!

maybe...

you need to update your pip first?

python -m pip install --upgrade pip

ccFIshTImehaha 发表于 2021-2-10 18:14:43

Daniel_Zhang 发表于 2021-2-10 18:08
no I do not have

you can try:


Thank you very much!I install setuptools==30.4.0 from https://pypi.org/project/setuptools/30.4.0/#files.
Thank you for your enthusiastic help!

ccFIshTImehaha 发表于 2021-2-10 18:17:15

Daniel_Zhang 发表于 2021-2-10 18:08
no I do not have

you can try:


Thank you so much!I install setuptools==30.4.0 from the setuptools' website.
Thank you for your enthusiastic help!

Daniel_Zhang 发表于 2021-2-10 18:18:55

ccFIshTImehaha 发表于 2021-2-10 18:17
Thank you so much!I install setuptools==30.4.0 from the setuptools' website.
Thank you for your e ...

{:10_323:}

weiter 发表于 2021-2-10 19:31:53

Daniel_Zhang 发表于 2021-2-10 18:18


大佬牛皮……直接英英对话{:10_257:}

py曲水流觞 发表于 2021-2-11 10:40:47

az
页: [1]
查看完整版本: windows cmd pip