Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation issue on Windows 10 #156

Closed
gvsureshreddy opened this issue Dec 21, 2020 · 1 comment
Closed

Installation issue on Windows 10 #156

gvsureshreddy opened this issue Dec 21, 2020 · 1 comment

Comments

@gvsureshreddy
Copy link

Getting below error when I try to install it in windows 10 through Anaconda.
I did install latest C++ through Microsoft Visual Studio BuildTool. Not sure if any one of you experienced this or tried installing this in windows?

Thanks,
gv

==========================================================================
Installing collected packages: zipline-trader
Running setup.py develop for zipline-trader
ERROR: Command errored out with exit status 1:
command: 'C:\ProgramData\Anaconda3\envs\Zipline-Trader\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\WINDOWS\system32\src\zipline-trader\setup.py'"'"'; file='"'"'C:\WINDOWS\system32\src\zipline-trader\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' develop --no-deps
cwd: C:\WINDOWS\system32\src\zipline-trader
Complete output (34 lines):
running develop
running egg_info
writing zipline_trader.egg-info\PKG-INFO
writing dependency_links to zipline_trader.egg-info\dependency_links.txt
writing entry points to zipline_trader.egg-info\entry_points.txt
writing requirements to zipline_trader.egg-info\requires.txt
writing top-level names to zipline_trader.egg-info\top_level.txt
reading manifest file 'zipline_trader.egg-info\SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'zipline_trader.egg-info\SOURCES.txt'
running build_ext
skipping 'zipline/assets_assets.c' Cython extension (up-to-date)
skipping 'zipline/assets\continuous_futures.c' Cython extension (up-to-date)
skipping 'zipline/lib\adjustment.c' Cython extension (up-to-date)
skipping 'zipline/lib_factorize.c' Cython extension (up-to-date)
skipping 'zipline/lib_float64window.c' Cython extension (up-to-date)
skipping 'zipline/lib_int64window.c' Cython extension (up-to-date)
skipping 'zipline/lib_int64window.c' Cython extension (up-to-date)
skipping 'zipline/lib_uint8window.c' Cython extension (up-to-date)
skipping 'zipline/lib_labelwindow.c' Cython extension (up-to-date)
skipping 'zipline/lib\rank.c' Cython extension (up-to-date)
skipping 'zipline/data_equities.c' Cython extension (up-to-date)
skipping 'zipline/data_adjustments.c' Cython extension (up-to-date)
skipping 'zipline_protocol.c' Cython extension (up-to-date)
skipping 'zipline/finance_finance_ext.c' Cython extension (up-to-date)
skipping 'zipline/gens\sim_engine.c' Cython extension (up-to-date)
skipping 'zipline/data_minute_bar_internal.c' Cython extension (up-to-date)
skipping 'zipline/data_resample.c' Cython extension (up-to-date)
skipping 'zipline/pipeline/loaders/blaze_core.c' Cython extension (up-to-date)
building 'zipline.assets._assets' extension
C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.28.29333\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -IC:\ProgramData\Anaconda3\envs\Zipline-Trader\lib\site-packages\numpy\core\include -IC:\ProgramData\Anaconda3\envs\Zipline-Trader\include -IC:\ProgramData\Anaconda3\envs\Zipline-Trader\include "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.28.29333\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\cppwinrt" /Tczipline/assets_assets.c /Fobuild\temp.win-amd64-3.6\Release\zipline/assets_assets.obj
_assets.c
c1: fatal error C1083: Cannot open source file: 'zipline/assets_assets.c': No such file or directory
error: command 'C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.28.29333\bin\HostX86\x64\cl.exe' failed with exit status 2
----------------------------------------
ERROR: Command errored out with exit status 1: 'C:\ProgramData\Anaconda3\envs\Zipline-Trader\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\WINDOWS\system32\src\zipline-trader\setup.py'"'"'; file='"'"'C:\WINDOWS\system32\src\zipline-trader\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' develop --no-deps Check the logs for full command output.
(Zipline-Trader) PS C:\WINDOWS\system32>

@shlomiku
Copy link
Owner

Hi, look at the installation instructions: https://zipline-trader.readthedocs.io/en/latest/install.html
conda is not yet supported.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants