VeighNa量化社区
你的开源社区量化交易平台
Member
avatar
加入于:
帖子: 4618
声望: 284

请问是跑了run.py但是没有任何反应是吗?

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

xiaohe wrote:

请问是跑了run.py但是没有任何反应是吗?
是的跑了run.py dock里出现了黑马的 图标 但是 没有任何窗口 点击图标也没有反应

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

配置格式那里很confuse,没有文件的话需要创建文件
而且内容是这个样子

channels:
  - defaults
show_channel_urls: true
channel_alias: https://mirrors.tuna.tsinghua.edu.cn/anaconda
default_channels:
  - https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
  - https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
  - https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/r
  - https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/pro
  - https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/msys2
custom_channels:
  conda-forge: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud
  msys2: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud
  bioconda: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud
  menpo: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud
  pytorch: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud
  simpleitk: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud
Member
avatar
加入于:
帖子: 2
声望: 0

你好,在安装的第2步不知道哪里添加国内源。
另外除了第2步外,已运行到第8步,但是下载了一些后,总是出现
ERROR: Could not find a version that satisfies the requirement trading-calendars (from versions: none)
ERROR: No matching distribution found for trading-calendars
是什么问题,要怎怎么解决呢,谢谢!

Member
avatar
加入于:
帖子: 4618
声望: 284

可以把trading-calendars相关代码注释掉再安装试试看

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

错误提示语又变成了这个:
ERROR: Could not find a version that satisfies the requirement peewee (from versions: none)
ERROR: No matching distribution found for peewee

Member
avatar
加入于:
帖子: 4618
声望: 284

那就也注释掉,安装完之后再单独pip install吧

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

brad-pigg wrote:

xiaohe wrote:

那请问安装之后新的报错是?
我也有同样的问题 没有报错 程序在跑就是没有图形界面
发错了,是这个问题

Member
avatar
加入于:
帖子: 4618
声望: 284

可以安装一下5.15.4版本的PyQt5试试看

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

xiaohe wrote:

可以安装一下5.15.4版本的PyQt5试试看
解决了,感谢

Member
avatar
加入于:
帖子: 69
声望: 3

有没有朋友在windows上尝试过这个内容呢?

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

Mark,一会试试是否可以

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

bin ./conda activate py37_vnpy
报错:
CommandNotFoundError: Your shell has not been properly configured to use 'conda activate'.
To initialize your shell, run

$ conda init <SHELL_NAME>

Currently supported shells are:

  • bash
  • fish
  • tcsh
  • xonsh
  • zsh
  • powershell

See 'conda init --help' for more information and options.

IMPORTANT: You may need to close and restart your shell after running 'conda init'.

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

/opy/miniconda3/envs/py37_vnpy/bin/pythonw 这个路径跟本找不到啊

Member
avatar
加入于:
帖子: 716
声望: 62

是否有成功创建名为py37_vnpy的虚拟环境

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

pip install -r requirements.txt -i http://pypi.douban.com/simple --trusted-host pypi.douban.com这一步报错,请大神指点下。
如下:
ERROR: Command errored out with exit status 1:
command: /usr/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/zn/0n3tgbd54r58lv4_bzl9rntw0000gn/T/pip-install-WXabU3/futu-api/setup.py'"'"'; file='"'"'/private/var/folders/zn/0n3tgbd54r58lv4_bzl9rntw0000gn/T/pip-install-WXabU3/futu-api/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base /private/var/folders/zn/0n3tgbd54r58lv4_bzl9rntw0000gn/T/pip-pip-egg-info-l3Lixb
cwd: /private/var/folders/zn/0n3tgbd54r58lv4_bzl9rntw0000gn/T/pip-install-WXabU3/futu-api/
Complete output (5 lines):
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/private/var/folders/zn/0n3tgbd54r58lv4_bzl9rntw0000gn/T/pip-install-WXabU3/futu-api/setup.py", line 32, in <module>
with open("README.md", "r", encoding='utf-8') as fh:

TypeError: 'encoding' is an invalid keyword argument for this function
----------------------------------------

ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

Member
avatar
加入于:
帖子: 4618
声望: 284

请问你的python版本是?

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

description

这个问题不知道怎么解决,求指点一下

Member
avatar
加入于:
帖子: 4618
声望: 284

你整个启动脚本都没有缩进,请参照run.py

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

请问dolphindb包安装不了怎么解决?我查了一下,dolphindb目前应该不支持mac os,请问你们是怎么绕过这个问题的?

ERROR: Could not find a version that satisfies the requirement dolphindb (from vnpy-dolphindb)
ERROR: No matching distribution found for dolphindb
© 2015-2022 上海韦纳软件科技有限公司
备案服务号:沪ICP备18006526号

沪公网安备 31011502017034号

【用户协议】
【隐私政策】
【免责条款】