vn.py量化社区
By Traders, For Traders.
Member
avatar
加入于:
帖子: 2
声望: 0

description
如图所示,是不是我本地已经有了anaconda的原因? 另外希望论坛提供搜索功能,找不到相似的问题

Member
avatar
加入于:
帖子: 2
声望: 0

description
很多这种弹框,忽略了又来

Member
avatar
加入于:
帖子: 2
声望: 0

我也安装失败,提示python.sys_path

Member
avatar
加入于:
帖子: 1
声望: 0

和楼主一样 Win10纯净系统安装失败,比较纳闷

Administrator
avatar
加入于:
帖子: 4214
声望: 241

请检查是否装了360之类的杀毒软件,如果有请关掉再装

Member
avatar
加入于:
帖子: 2
声望: 0

description
我遇到了这个问题

Administrator
avatar
加入于:
帖子: 4214
声望: 241

notomorrow wrote:

description
我遇到了这个问题

请打开cmd,然后运行这句命令看看报错输出是什么:

c:\vnstudio\python.exe -m pip install --no-index -f C:\vnstudio\pkgs --force-reinstall pip setuptools
Member
avatar
加入于:
帖子: 2
声望: 0

用Python的交易员 wrote:

notomorrow wrote:

description
我遇到了这个问题

请打开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'

Member
avatar
加入于:
帖子: 38
声望: 6

关掉所有打开的应用,然后点Retry,我昨天就是这么解决的,我的电脑也安装了Anaconda。

Member
avatar
加入于:
帖子: 38
声望: 6

notomorrow wrote:

用Python的交易员 wrote:

notomorrow wrote:

description
我遇到了这个问题

请打开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'

试试我上面的方法

Administrator
avatar
加入于:
帖子: 4214
声望: 241

notomorrow wrote:

用Python的交易员 wrote:

notomorrow wrote:

description
我遇到了这个问题

请打开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即可

© 2015-2019 上海韦纳软件科技有限公司
备案服务号:沪ICP备18006526号-3