AI量化实验室

 找回密码
 立即注册
楼主: ailabx

Quantlab5.X源码安装与使用入门

[复制链接]

0

主题

2

帖子

16

积分

量化新人

积分
16
发表于 2024-8-8 11:13:39 | 显示全部楼层


Quantlab5.X源码 在苹果系统下,解压出来有乱码.

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?立即注册

×

3

主题

6

帖子

33

积分

量化新人

积分
33
发表于 2024-8-8 13:50:43 | 显示全部楼层
我没乱码,用的苹果自带解压

61

主题

135

帖子

531

积分

管理员

积分
531
 楼主| 发表于 2024-8-8 14:14:55 | 显示全部楼层
阳光照 发表于 2024-8-8 11:13
Quantlab5.X源码 在苹果系统下,解压出来有乱码.

苹果我确实没有试过,楼下的兄弟说没有乱码?

0

主题

2

帖子

16

积分

量化新人

积分
16
发表于 2024-8-9 10:05:26 | 显示全部楼层
阳光照 发表于 2024-8-8 11:13
Quantlab5.X源码 在苹果系统下,解压出来有乱码.

换一个解压缩工具,就可以了.

0

主题

1

帖子

12

积分

量化新人

积分
12
发表于 2024-9-10 16:36:52 | 显示全部楼层
装虚拟环境需要先装,visual studio吗?按照过程经常出错,当前报错信息如下,请问是什么原因,如何解决?

2024-09-10 16:29:54.863 [info]     copying lib\matplotlib\mpl-data\fonts\pdfcorefonts\Courier-BoldOblique.afm -> build\lib.win-amd64-cpython-310\matplotlib\mpl-data\fonts\pdfcorefonts
      copying lib\matplotlib\mpl-data\sample_data\grace_hopper.png -> build\lib.win-amd64-cpython-310\matplotlib\mpl-data\sample_data
      copying lib\matplotlib\backends\web_backend\jquery-ui-1.12.1\images\ui-icons_777777_256x240.png -> build\lib.win-amd64-cpython-310\matplotlib\backends\web_backend\jquery-ui-1.12.1\images
      UPDATING build\lib.win-amd64-cpython-310\matplotlib\_version.py
      set build\lib.win-amd64-cpython-310\matplotlib\_version.py to '3.2.2'
      running build_ext
      Extracting freetype-2.6.1.tar.gz
2024-09-10 16:29:54.864 [info]     Building freetype in build\freetype-2.6.1
      devenv build\freetype-2.6.1\builds\windows\vc2010\freetype.sln /upgrade
      error: command 'devenv' failed: None
      [end of output]
  
  note
2024-09-10 16:29:54.864 [info] : This error originates from a subprocess, and is likely not a problem with pip.
2024-09-10 16:29:54.866 [info]   ERROR: Failed building wheel for matplotlib
2024-09-10 16:29:54.888 [info] Failed to build matplotlib
2024-09-10 16:29:54.954 [info] ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (matplotlib)
2024-09-10 16:30:01.779 [info] Traceback (most recent call last):
  File "c:\Users\yuxuefei\.vscode\extensions\ms-python.python-2024.14.0-win32-x64\python_files\create_venv.py", line 92, in run_process
2024-09-10 16:30:01.788 [info]     subprocess.run(args, cwd=os.getcwd(), check=True)  # noqa: PTH109
  File "C:\veighna_studio\lib\subprocess.py", line 526, in run
2024-09-10 16:30:01.789 [info]     raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError
2024-09-10 16:30:01.790 [info] : Command '['d:\\quantlab\\quantlab5.9\\.venv\\Scripts\\python.exe', '-m', 'pip', 'install', '-r', 'd:\\quantlab\\quantlab5.9\\requirements.txt']' returned non-zero exit status 1.

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "c:\Users\yuxuefei\.vscode\extensions\ms-python.python-2024.14.0-win32-x64\python_files\create_venv.py", line 254, in <module>
    main(sys.argv[1:])
  File "c:\Users\yuxuefei\.vscode\extensions\ms-python.python-2024.14.0-win32-x64\python_files\create_venv.py", line 246, in main
2024-09-10 16:30:01.791 [info]     install_requirements(venv_path, requirements)
  File "c:\Users\yuxuefei\.vscode\extensions\ms-python.python-2024.14.0-win32-x64\python_files\create_venv.py", line 112, in install_requirements
    run_process(
2024-09-10 16:30:01.793 [info]   File "c:\Users\yuxuefei\.vscode\extensions\ms-python.python-2024.14.0-win32-x64\python_files\create_venv.py", line 94, in run_process
    raise VenvError(error_message) from exc
__main__.VenvError: CREATE_VENV.PIP_FAILED_INSTALL_REQUIREMENTS
2024-09-10 16:30:01.825 [error] Error while running venv creation script:  CREATE_VENV.PIP_FAILED_INSTALL_REQUIREMENTS
2024-09-10 16:30:01.827 [error] CREATE_VENV.PIP_FAILED_INSTALL_REQUIREMENTS

0

主题

1

帖子

6

积分

量化新人

积分
6
发表于 2024-9-10 23:44:30 | 显示全部楼层
scipy没装上,提示 WARNING: Failed to activate VS environment: Could not find C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe
是要先装visual studio吗

61

主题

135

帖子

531

积分

管理员

积分
531
 楼主| 发表于 2024-9-11 16:58:37 | 显示全部楼层
dashnowords 发表于 2024-9-10 23:44
scipy没装上,提示 WARNING: Failed to activate VS environment: Could not find C:\Program Files (x86)\ ...

不用的。
是python3.9干净的环境 吗?

61

主题

135

帖子

531

积分

管理员

积分
531
 楼主| 发表于 2024-9-11 16:59:32 | 显示全部楼层
skelton 发表于 2024-9-10 16:36
装虚拟环境需要先装,visual studio吗?按照过程经常出错,当前报错信息如下,请问是什么原因,如何解决?
...

看起来是python没安装好的样子。
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

AI量化实验室 ( 京ICP备16049031号-2 )

GMT+8, 2024-9-19 23:41 , Processed in 0.065487 second(s), 19 queries .

Powered by Discuz! X3.5

Copyright © 2001-2024 Tencent Cloud.

快速回复 返回顶部 返回列表