如图所示,是不是我本地已经有了anaconda的原因? 另外希望论坛提供搜索功能,找不到相似的问题
如图所示,是不是我本地已经有了anaconda的原因? 另外希望论坛提供搜索功能,找不到相似的问题
很多这种弹框,忽略了又来
我也安装失败,提示python.sys_path
和楼主一样 Win10纯净系统安装失败,比较纳闷
请检查是否装了360之类的杀毒软件,如果有请关掉再装
我遇到了这个问题
notomorrow wrote:
我遇到了这个问题
请打开cmd,然后运行这句命令看看报错输出是什么:
c:\vnstudio\python.exe -m pip install --no-index -f C:\vnstudio\pkgs --force-reinstall pip setuptools
用Python的交易员 wrote:
notomorrow wrote:
我遇到了这个问题请打开cmd,然后运行这句命令看看报错输出是什么:
c:\vnstudio\python.exe -m pip install --no-index -f C:\vnstudio\pkgs --force-reinstall pip setuptools
PS C:\vnstudio> python -m pip install --no-index -f c:/vnstudio/pkgs --force-reinst
all pip setuptools
Looking in links: c:/vnstudio/pkgs
Collecting pip
Collecting setuptools
Installing collected packages: pip, setuptools
Found existing installation: pip 19.1.1
Uninstalling pip-19.1.1:
Successfully uninstalled pip-19.1.1
Rolling back uninstall of pip
Moving to c:\users\youhongkai\appdata\roaming\python\python37\scripts\pip.exe
from C:\Users\YOUHON~1\AppData\Local\Temp\pip-uninstall-8k23yope\pip.exe
Moving to c:\users\youhongkai\appdata\roaming\python\python37\scripts\pip3.7.exe
from C:\Users\YOUHON~1\AppData\Local\Temp\pip-uninstall-8k23yope\pip3.7.exe
Moving to c:\users\youhongkai\appdata\roaming\python\python37\scripts\pip3.exe
from C:\Users\YOUHON~1\AppData\Local\Temp\pip-uninstall-8k23yope\pip3.exe
Moving to c:\users\youhongkai\appdata\roaming\python\python37\site-packages\pip-19.1.1.dist-info\
from c:\users\youhongkai\appdata\roaming\python\python37\site-packages~ip-19.1.1.dist-info
Moving to c:\users\youhongkai\appdata\roaming\python\python37\site-packages\pip\
from c:\users\youhongkai\appdata\roaming\python\python37\site-packages~ip
ERROR: Exception:
Traceback (most recent call last):
File "C:\Users\youhongkai\AppData\Roaming\Python\Python37\site-packages\pip_internal\cli\base_command.py", line 178, in main
status = self.run(options, args)
File "C:\Users\youhongkai\AppData\Roaming\Python\Python37\site-packages\pip_internal\commands\install.py", line 414, in run
use_user_site=options.use_user_site,
File "C:\Users\youhongkai\AppData\Roaming\Python\Python37\site-packages\pip_internal\req__init__.py", line 58, in install_given_reqs
**kwargs
File "C:\Users\youhongkai\AppData\Roaming\Python\Python37\site-packages\pip_internal\req\req_install.py", line 920, in install
use_user_site=use_user_site, pycompile=pycompile,
File "C:\Users\youhongkai\AppData\Roaming\Python\Python37\site-packages\pip_internal\req\req_install.py", line 448, in move_wheel_files
warn_script_location=warn_script_location,
File "C:\Users\youhongkai\AppData\Roaming\Python\Python37\site-packages\pip_internal\wheel.py", line 544, in move_wheel_files
generated.extend(maker.make(spec))
File "C:\Users\youhongkai\AppData\Roaming\Python\Python37\site-packages\pip_vendor\distlib\scripts.py", line 405, in make
self._make_script(entry, filenames, options=options)
File "C:\Users\youhongkai\AppData\Roaming\Python\Python37\site-packages\pip_vendor\distlib\scripts.py", line 309, in _make_script
self._write_script(scriptnames, shebang, script, filenames, ext)
File "C:\Users\youhongkai\AppData\Roaming\Python\Python37\site-packages\pip_vendor\distlib\scripts.py", line 245, in _write_script
launcher = self._get_launcher('t')
File "C:\Users\youhongkai\AppData\Roaming\Python\Python37\site-packages\pip_vendor\distlib\scripts.py", line 384, in _get_launcher
result = finder(distlib_package).find(name).bytes
AttributeError: 'NoneType' object has no attribute 'bytes'
关掉所有打开的应用,然后点Retry,我昨天就是这么解决的,我的电脑也安装了Anaconda。
notomorrow wrote:
用Python的交易员 wrote:
notomorrow wrote:
我遇到了这个问题请打开cmd,然后运行这句命令看看报错输出是什么:
c:\vnstudio\python.exe -m pip install --no-index -f C:\vnstudio\pkgs --force-reinstall pip setuptools
PS C:\vnstudio> python -m pip install --no-index -f c:/vnstudio/pkgs --force-reinst
all pip setuptools
Looking in links: c:/vnstudio/pkgs
Collecting pip
Collecting setuptools
Installing collected packages: pip, setuptools
Found existing installation: pip 19.1.1
Uninstalling pip-19.1.1:
Successfully uninstalled pip-19.1.1
Rolling back uninstall of pip
Moving to c:\users\youhongkai\appdata\roaming\python\python37\scripts\pip.exe
from C:\Users\YOUHON~1\AppData\Local\Temp\pip-uninstall-8k23yope\pip.exe
Moving to c:\users\youhongkai\appdata\roaming\python\python37\scripts\pip3.7.exe
from C:\Users\YOUHON~1\AppData\Local\Temp\pip-uninstall-8k23yope\pip3.7.exe
Moving to c:\users\youhongkai\appdata\roaming\python\python37\scripts\pip3.exe
from C:\Users\YOUHON~1\AppData\Local\Temp\pip-uninstall-8k23yope\pip3.exe
Moving to c:\users\youhongkai\appdata\roaming\python\python37\site-packages\pip-19.1.1.dist-info\
from c:\users\youhongkai\appdata\roaming\python\python37\site-packages~ip-19.1.1.dist-info
Moving to c:\users\youhongkai\appdata\roaming\python\python37\site-packages\pip\
from c:\users\youhongkai\appdata\roaming\python\python37\site-packages~ip
ERROR: Exception:
Traceback (most recent call last):
File "C:\Users\youhongkai\AppData\Roaming\Python\Python37\site-packages\pip_internal\cli\base_command.py", line 178, in main
status = self.run(options, args)
File "C:\Users\youhongkai\AppData\Roaming\Python\Python37\site-packages\pip_internal\commands\install.py", line 414, in run
use_user_site=options.use_user_site,
File "C:\Users\youhongkai\AppData\Roaming\Python\Python37\site-packages\pip_internal\req__init__.py", line 58, in install_given_reqs
**kwargs
File "C:\Users\youhongkai\AppData\Roaming\Python\Python37\site-packages\pip_internal\req\req_install.py", line 920, in install
use_user_site=use_user_site, pycompile=pycompile,
File "C:\Users\youhongkai\AppData\Roaming\Python\Python37\site-packages\pip_internal\req\req_install.py", line 448, in move_wheel_files
warn_script_location=warn_script_location,
File "C:\Users\youhongkai\AppData\Roaming\Python\Python37\site-packages\pip_internal\wheel.py", line 544, in move_wheel_files
generated.extend(maker.make(spec))
File "C:\Users\youhongkai\AppData\Roaming\Python\Python37\site-packages\pip_vendor\distlib\scripts.py", line 405, in make
self._make_script(entry, filenames, options=options)
File "C:\Users\youhongkai\AppData\Roaming\Python\Python37\site-packages\pip_vendor\distlib\scripts.py", line 309, in _make_script
self._write_script(scriptnames, shebang, script, filenames, ext)
File "C:\Users\youhongkai\AppData\Roaming\Python\Python37\site-packages\pip_vendor\distlib\scripts.py", line 245, in _write_script
launcher = self._get_launcher('t')
File "C:\Users\youhongkai\AppData\Roaming\Python\Python37\site-packages\pip_vendor\distlib\scripts.py", line 384, in _get_launcher
result = finder(distlib_package).find(name).bytes
AttributeError: 'NoneType' object has no attribute 'bytes'
试试我上面的方法
notomorrow wrote:
用Python的交易员 wrote:
notomorrow wrote:
我遇到了这个问题请打开cmd,然后运行这句命令看看报错输出是什么:
c:\vnstudio\python.exe -m pip install --no-index -f C:\vnstudio\pkgs --force-reinstall pip setuptools
PS C:\vnstudio> python -m pip install --no-index -f c:/vnstudio/pkgs --force-reinst
all pip setuptools
Looking in links: c:/vnstudio/pkgs
Collecting pip
Collecting setuptools
Installing collected packages: pip, setuptools
Found existing installation: pip 19.1.1
Uninstalling pip-19.1.1:
Successfully uninstalled pip-19.1.1
Rolling back uninstall of pip
Moving to c:\users\youhongkai\appdata\roaming\python\python37\scripts\pip.exe
from C:\Users\YOUHON~1\AppData\Local\Temp\pip-uninstall-8k23yope\pip.exe
Moving to c:\users\youhongkai\appdata\roaming\python\python37\scripts\pip3.7.exe
from C:\Users\YOUHON~1\AppData\Local\Temp\pip-uninstall-8k23yope\pip3.7.exe
Moving to c:\users\youhongkai\appdata\roaming\python\python37\scripts\pip3.exe
from C:\Users\YOUHON~1\AppData\Local\Temp\pip-uninstall-8k23yope\pip3.exe
Moving to c:\users\youhongkai\appdata\roaming\python\python37\site-packages\pip-19.1.1.dist-info\
from c:\users\youhongkai\appdata\roaming\python\python37\site-packages~ip-19.1.1.dist-info
Moving to c:\users\youhongkai\appdata\roaming\python\python37\site-packages\pip\
from c:\users\youhongkai\appdata\roaming\python\python37\site-packages~ip
ERROR: Exception:
Traceback (most recent call last):
File "C:\Users\youhongkai\AppData\Roaming\Python\Python37\site-packages\pip_internal\cli\base_command.py", line 178, in main
status = self.run(options, args)
File "C:\Users\youhongkai\AppData\Roaming\Python\Python37\site-packages\pip_internal\commands\install.py", line 414, in run
use_user_site=options.use_user_site,
File "C:\Users\youhongkai\AppData\Roaming\Python\Python37\site-packages\pip_internal\req__init__.py", line 58, in install_given_reqs
**kwargs
File "C:\Users\youhongkai\AppData\Roaming\Python\Python37\site-packages\pip_internal\req\req_install.py", line 920, in install
use_user_site=use_user_site, pycompile=pycompile,
File "C:\Users\youhongkai\AppData\Roaming\Python\Python37\site-packages\pip_internal\req\req_install.py", line 448, in move_wheel_files
warn_script_location=warn_script_location,
File "C:\Users\youhongkai\AppData\Roaming\Python\Python37\site-packages\pip_internal\wheel.py", line 544, in move_wheel_files
generated.extend(maker.make(spec))
File "C:\Users\youhongkai\AppData\Roaming\Python\Python37\site-packages\pip_vendor\distlib\scripts.py", line 405, in make
self._make_script(entry, filenames, options=options)
File "C:\Users\youhongkai\AppData\Roaming\Python\Python37\site-packages\pip_vendor\distlib\scripts.py", line 309, in _make_script
self._write_script(scriptnames, shebang, script, filenames, ext)
File "C:\Users\youhongkai\AppData\Roaming\Python\Python37\site-packages\pip_vendor\distlib\scripts.py", line 245, in _write_script
launcher = self._get_launcher('t')
File "C:\Users\youhongkai\AppData\Roaming\Python\Python37\site-packages\pip_vendor\distlib\scripts.py", line 384, in _get_launcher
result = finder(distlib_package).find(name).bytes
AttributeError: 'NoneType' object has no attribute 'bytes'
这里报错的是调用了C:\Users\youhongkai\AppData\Roaming\Python\Python37,这个目录里的python来执行安装,初步判断是你之前的Python污染了操作系统环境变量。因此我们总是建议卸载干净其他的Python,再安装VNStudio即可