question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Cannot install pipeline-live Windows

See original GitHub issue

I just installed pylivetrader using 3 channels (conda-forge, Quantopian, alpacahq) and conda create -n pylivetraderenv pylivetrader. The environment is pretty outdated (Python 3.5.5, Pylivetrader 0.0.20, Websockets 6.0) but it appears to work on the very basic algos. However, I just tried to pip install pipeline-live but it failed to install. The install seemed to go pretty far but the error came right at the end. I’ll paste the error below. Any thoughts or help would be greatly appreciated!

sing cached tables-3.6.1.tar.gz (4.6 MB) ERROR: Command errored out with exit status 1: command: ‘C:\Users\Owner\Anaconda3\envs\pylivetraderenv\python.exe’ -c ‘import sys, setuptools, tokenize; sys.argv[0] = ‘"’“‘C:\Users\Owner\AppData\Local\Temp\pip-install-f95bg5wp\tables\setup.py’”’“‘; file=’”‘“‘C:\Users\Owner\AppData\Local\Temp\pip-install-f95bg5wp\tables\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 ‘C:\Users\Owner\AppData\Local\Temp\pip-pip-egg-info-qz8_dtxw’ cwd: C:\Users\Owner\AppData\Local\Temp\pip-install-f95bg5wp\tables
Complete output (29 lines): * Using Python 3.5.5 | packaged by conda-forge | (default, Jul 24 2018, 01:52:17) [MSC v.1900 64 bit (AMD64)] * USE_PKGCONFIG: False * Found conda env: C:\Users\Owner\Anaconda3\envs\pylivetraderenv Traceback (most recent call last): File “C:\Users\Owner\Anaconda3\envs\pylivetraderenv\lib\site-packages\setuptools\msvc.py”, line 489, in _find_latest_available_vc_ver return self.find_available_vc_vers()[-1] IndexError: list index out of range

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "C:\Users\Owner\AppData\Local\Temp\pip-install-f95bg5wp\tables\setup.py", line 635, in <module>
    libraries=(package.library_name,))
  File "C:\Users\Owner\Anaconda3\envs\pylivetraderenv\lib\distutils\ccompiler.py", line 791, in has_function
    objects = self.compile([fname], include_dirs=include_dirs)
  File "C:\Users\Owner\Anaconda3\envs\pylivetraderenv\lib\distutils\_msvccompiler.py", line 304, in compile
    self.initialize()
  File "C:\Users\Owner\Anaconda3\envs\pylivetraderenv\lib\distutils\_msvccompiler.py", line 197, in initialize
    vc_env = _get_vc_env(plat_spec)
  File "C:\Users\Owner\Anaconda3\envs\pylivetraderenv\lib\site-packages\setuptools\msvc.py", line 185, in msvc14_get_vc_env
    return EnvironmentInfo(plat_spec, vc_min_ver=14.0).return_env()
  File "C:\Users\Owner\Anaconda3\envs\pylivetraderenv\lib\site-packages\setuptools\msvc.py", line 843, in __init__
    self.si = SystemInfo(self.ri, vc_ver)
  File "C:\Users\Owner\Anaconda3\envs\pylivetraderenv\lib\site-packages\setuptools\msvc.py", line 485, in __init__
    self.vc_ver = vc_ver or self._find_latest_available_vc_ver()
  File "C:\Users\Owner\Anaconda3\envs\pylivetraderenv\lib\site-packages\setuptools\msvc.py", line 492, in _find_latest_available_vc_ver
    raise distutils.errors.DistutilsPlatformError(err)
distutils.errors.DistutilsPlatformError: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": https://visualstudio.microsoft.com/downloads/
----------------------------------------

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

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
ghostcommented, Jul 9, 2020

Thanks, I’ll do both.

0reactions
shlomikushchicommented, Oct 2, 2020

Hi, I just installed it using pip in the command line. try using the command line and run: pip install pipeline-live

Read more comments on GitHub >

github_iconTop Results From Across the Web

alpacahq/pipeline-live: Pipeline Extension for Live Trading
pipeline-live is a PyPI module and you can install it using pip command. $ pip install pipeline-live. This module is tested and expected...
Read more >
pipeline problem, can't run addinutil -rebuild -pipelineroot
Hello,. my system: - Windows 7 - VS 2008 - Office 2007. what I already tried: - restarting pc (;p) - repairing VS...
Read more >
pylivetrader - PyPI
pylivetrader. pylivetrader is a simple python live trading framework with zipline interface. The main purpose is to run algorithms developed in the ...
Read more >
MoonZoon Dev News (1): CLI, Build pipeline, Live-reload ...
MZoon checks if wasm-pack exists and panics if doesn't. Note: MZoon will automatically install the required wasm-pack version defined in ...
Read more >
Build Your 90-Day Pipeline - Live Event - London
Build Your 90-Day Pipeline – Live Event – London ... Add to my calendar ... Due to the limitations of the event, we...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found