You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Now that you know a little about me, let me tell you about the issue I am
having:
I am trying to set up the zipline enviornment, its been incredibly time confusing and stressful, as I am a new prog. now when I try to ingest or run a program I get the following syntax error:
(env_zipline) avant@avants-Air VSC % /Users/avant/opt/anaconda3/envs/env_zipline/bin/python /Users/avant/Desktop/VSC/agcap/ma.py
Traceback (most recent call last):
File "/Users/avant/Desktop/VSC/agcap/ma.py", line 1, in
from zipline.api import order_target, record, symbol
File "/Users/avant/opt/anaconda3/envs/env_zipline/lib/python3.6/site-packages/zipline/init.py", line 29, in
from .utils.run_algo import run_algorithm
File "/Users/avant/opt/anaconda3/envs/env_zipline/lib/python3.6/site-packages/zipline/utils/run_algo.py", line 20, in
from zipline.data import bundles
File "/Users/avant/opt/anaconda3/envs/env_zipline/lib/python3.6/site-packages/zipline/data/bundles/init.py", line 2, in
from . import quandl # noqa
File "/Users/avant/opt/anaconda3/envs/env_zipline/lib/python3.6/site-packages/zipline/data/bundles/quandl.py", line 16, in
from . import core as bundles
File "/Users/avant/opt/anaconda3/envs/env_zipline/lib/python3.6/site-packages/zipline/data/bundles/core.py", line 20, in
from zipline.assets.asset_db_migrations import downgrade
File "/Users/avant/opt/anaconda3/envs/env_zipline/lib/python3.6/site-packages/zipline/assets/asset_db_migrations.py", line 1, in
from alembic.migration import MigrationContext
File "/Users/avant/opt/anaconda3/envs/env_zipline/lib/python3.6/site-packages/alembic/init.py", line 3, in
from . import context
File "/Users/avant/opt/anaconda3/envs/env_zipline/lib/python3.6/site-packages/alembic/context.py", line 1, in
from .runtime.environment import EnvironmentContext
File "/Users/avant/opt/anaconda3/envs/env_zipline/lib/python3.6/site-packages/alembic/runtime/environment.py", line 1
from future import annotations
^
SyntaxError: future feature annotations is not defined
Description of Issue
What did you expect to happen?
What happened instead?
Here is how you can reproduce this issue on your machine:
Reproduction Steps
1.run any program or try to ingest
2.
3.
...
What steps have you taken to resolve this already?
many hours of trying different versions of python/pandas and the rest of the libs.
many GitHub/stackoverflow articles.
...
Anything else?
...
Sincerely,
`$ whoami
I also attached a screenshot
`
The text was updated successfully, but these errors were encountered:
Dear Zipline Maintainers,
Before I tell you about my issue, let me describe my environment:
Environment
$ python --3.6.9
conda
)packages in environment at /Users/avant/opt/anaconda3/envs/env_zipline:
Name Version Build Channel
alembic 1.8.1 pyhd8ed1ab_0 conda-forge
appnope 0.1.3 pypi_0 pypi
backcall 0.2.0 pypi_0 pypi
bcolz 1.2.1 py36h4f17bb1_1001 conda-forge
beautifulsoup4 4.11.1 pypi_0 pypi
blosc 1.21.1 hd0a9f43_0 conda-forge
bokeh 2.3.3 py36h79c6626_0 conda-forge
bottleneck 1.3.2 py36h5f094cf_4 conda-forge
brotlipy 0.7.0 py36hfa26744_1001 conda-forge
bzip2 1.0.8 h0d85af4_4 conda-forge
ca-certificates 2022.10.11 hecd8cb5_0
certifi 2021.5.30 py36hecd8cb5_0
cffi 1.14.0 py36hb5b8e2f_0
charset-normalizer 2.1.1 pyhd8ed1ab_0 conda-forge
click 7.1.2 pyh9f0ad1d_0 conda-forge
cloudpickle 2.2.0 pyhd8ed1ab_0 conda-forge
contextvars 2.4 py_0 conda-forge
cryptography 35.0.0 py36ha6a00b0_0 conda-forge
cycler 0.11.0 pypi_0 pypi
cytoolz 0.11.0 py36hfa26744_3 conda-forge
dask 2.10.1 py_0 conda-forge
dask-core 2.10.1 py_0 conda-forge
dataclasses 0.8 pypi_0 pypi
decorator 5.1.1 pyhd8ed1ab_0 conda-forge
distributed 2.30.1 py36h79c6626_0 conda-forge
empyrical 0.5.5 pyh9f0ad1d_0 conda-forge
freetype 2.10.4 h4cff582_1 conda-forge
fsspec 2022.11.0 pyhd8ed1ab_0 conda-forge
greenlet 1.1.2 py36hefe7e0e_0 conda-forge
h5py 2.10.0 nompi_py36h106b333_102 conda-forge
hdf5 1.10.5 nompi_h500d6d3_1114 conda-forge
heapdict 1.0.1 py_0 conda-forge
idna 3.4 pyhd8ed1ab_0 conda-forge
immutables 0.16 py36hfa26744_0 conda-forge
importlib-metadata 4.8.1 py36h79c6626_0 conda-forge
importlib_resources 5.10.0 pyhd8ed1ab_0 conda-forge
intervaltree 3.0.2 py_0 conda-forge
ipython 7.16.3 pypi_0 pypi
ipython-genutils 0.2.0 pypi_0 pypi
iso3166 2.1.1 pyhd8ed1ab_0 conda-forge
iso4217 1.9.20220401 pyhd8ed1ab_0 conda-forge
jedi 0.17.2 pypi_0 pypi
jinja2 3.0.3 pyhd8ed1ab_0 conda-forge
joblib 1.1.1 pypi_0 pypi
jpeg 9e hac89ed1_2 conda-forge
kiwisolver 1.3.1 pypi_0 pypi
lcms2 2.12 h577c468_0 conda-forge
libblas 3.9.0 16_osx64_openblas conda-forge
libcblas 3.9.0 16_osx64_openblas conda-forge
libcxx 14.0.6 h9765a3e_0
libedit 3.1.20210910 hca72f7f_0
libffi 3.2.1 h0a44026_1007
libgfortran 5.0.0 9_5_0_h97931a8_26 conda-forge
libgfortran5 11.3.0 h082f757_26 conda-forge
liblapack 3.9.0 16_osx64_openblas conda-forge
libopenblas 0.3.21 openmp_h429af6e_3 conda-forge
libpng 1.6.37 h7cec526_2 conda-forge
libtiff 4.2.0 h1167814_3 conda-forge
libwebp-base 1.2.4 h775f41a_0 conda-forge
llvm-openmp 15.0.4 h61d9ccf_0 conda-forge
locket 1.0.0 pyhd8ed1ab_0 conda-forge
logbook 1.5.3 py36h20b66c6_4 conda-forge
lru-dict 1.1.7 py36hfa26744_0 conda-forge
lxml 4.9.1 pypi_0 pypi
lz4-c 1.9.3 he49afe7_1 conda-forge
mako 1.2.3 pyhd8ed1ab_0 conda-forge
markupsafe 2.0.1 py36hfa26744_0 conda-forge
matplotlib 3.3.4 pypi_0 pypi
mock 4.0.3 py36h79c6626_1 conda-forge
msgpack-python 1.0.2 py36hc61eee1_1 conda-forge
multipledispatch 0.6.0 py_0 conda-forge
ncurses 6.3 hca72f7f_3
networkx 1.11 py36_0 conda-forge
numexpr 2.7.3 py36he43235d_0 conda-forge
numpy 1.19.5 py36h08b5fde_2 conda-forge
olefile 0.46 pyh9f0ad1d_1 conda-forge
openjpeg 2.4.0 h6e7aa92_1 conda-forge
openssl 1.1.1s hca72f7f_0
packaging 21.3 pyhd8ed1ab_0 conda-forge
pandas 0.22.0 pypi_0 pypi
pandas-datareader 0.6.0 py36_0 conda-forge
parso 0.7.1 pypi_0 pypi
partd 1.2.0 pyhd8ed1ab_0 conda-forge
patsy 0.5.3 pyhd8ed1ab_0 conda-forge
pexpect 4.8.0 pypi_0 pypi
pickleshare 0.7.5 pypi_0 pypi
pillow 8.2.0 py36h154fef6_1 conda-forge
pip 21.2.2 py36hecd8cb5_0
prompt-toolkit 3.0.32 pypi_0 pypi
psutil 5.8.0 py36hfa26744_1 conda-forge
ptyprocess 0.7.0 pypi_0 pypi
pycparser 2.21 pyhd8ed1ab_0 conda-forge
pyfolio 0.9.2 pypi_0 pypi
pygments 2.13.0 pypi_0 pypi
pyopenssl 22.0.0 pyhd8ed1ab_1 conda-forge
pyparsing 3.0.9 pyhd8ed1ab_0 conda-forge
pysocks 1.7.1 py36h79c6626_3 conda-forge
pytables 3.6.1 py36h6f8395a_1 conda-forge
python 3.6.9 h359304d_0
python-dateutil 2.8.2 pyhd8ed1ab_0 conda-forge
python-interface 1.6.0 py_0 conda-forge
python_abi 3.6 2_cp36m conda-forge
pytz 2022.6 pyhd8ed1ab_0 conda-forge
pyyaml 5.4.1 py36hfa26744_1 conda-forge
readline 7.0 h1de35cc_5
requests 2.28.1 pyhd8ed1ab_0 conda-forge
requests-file 1.5.1 pyh9f0ad1d_0 conda-forge
requests-ftp 0.3.1 py_1 conda-forge
scikit-learn 0.24.2 pypi_0 pypi
scipy 1.5.3 py36h4f136de_1 conda-forge
seaborn 0.10.1 pypi_0 pypi
setuptools 58.0.4 py36hecd8cb5_0
six 1.16.0 pyh6c4a22f_0 conda-forge
snappy 1.1.9 h225ccf5_2 conda-forge
sortedcontainers 2.4.0 pyhd8ed1ab_0 conda-forge
soupsieve 2.3.2.post1 pypi_0 pypi
sqlalchemy 1.4.25 py36hfa26744_0 conda-forge
sqlite 3.33.0 hffcf06c_0
statsmodels 0.11.1 py36h37b9a7d_2 conda-forge
tblib 1.7.0 pyhd8ed1ab_0 conda-forge
threadpoolctl 3.1.0 pypi_0 pypi
tk 8.6.12 h5d9f67b_0
toolz 0.12.0 pyhd8ed1ab_0 conda-forge
torch 1.10.2 pypi_0 pypi
tornado 6.1 py36hfa26744_1 conda-forge
trading-calendars 2.1.1 pyhd3deb0d_0 conda-forge
traitlets 4.3.3 pypi_0 pypi
typing-extensions 4.1.1 hd8ed1ab_0 conda-forge
typing_extensions 4.1.1 pyha770c72_0 conda-forge
urllib3 1.26.11 pyhd8ed1ab_0 conda-forge
wcwidth 0.2.5 pypi_0 pypi
wheel 0.37.1 pyhd3eb1b0_0
wrapt 1.14.1 pypi_0 pypi
xz 5.2.6 hca72f7f_0
yahoofinancials 1.6 pypi_0 pypi
yaml 0.2.5 h0d85af4_2 conda-forge
zict 2.0.0 py_0 conda-forge
zipline 1.4.1 py36haf1e3a3_0 conda-forge
zipp 3.6.0 pyhd8ed1ab_0 conda-forge
zlib 1.2.13 h4dc903c_0
zstd 1.5.0 h582d3a0_0 conda-forge
Now that you know a little about me, let me tell you about the issue I am
having:
I am trying to set up the zipline enviornment, its been incredibly time confusing and stressful, as I am a new prog. now when I try to ingest or run a program I get the following syntax error:
(env_zipline) avant@avants-Air VSC % /Users/avant/opt/anaconda3/envs/env_zipline/bin/python /Users/avant/Desktop/VSC/agcap/ma.py
Traceback (most recent call last):
File "/Users/avant/Desktop/VSC/agcap/ma.py", line 1, in
from zipline.api import order_target, record, symbol
File "/Users/avant/opt/anaconda3/envs/env_zipline/lib/python3.6/site-packages/zipline/init.py", line 29, in
from .utils.run_algo import run_algorithm
File "/Users/avant/opt/anaconda3/envs/env_zipline/lib/python3.6/site-packages/zipline/utils/run_algo.py", line 20, in
from zipline.data import bundles
File "/Users/avant/opt/anaconda3/envs/env_zipline/lib/python3.6/site-packages/zipline/data/bundles/init.py", line 2, in
from . import quandl # noqa
File "/Users/avant/opt/anaconda3/envs/env_zipline/lib/python3.6/site-packages/zipline/data/bundles/quandl.py", line 16, in
from . import core as bundles
File "/Users/avant/opt/anaconda3/envs/env_zipline/lib/python3.6/site-packages/zipline/data/bundles/core.py", line 20, in
from zipline.assets.asset_db_migrations import downgrade
File "/Users/avant/opt/anaconda3/envs/env_zipline/lib/python3.6/site-packages/zipline/assets/asset_db_migrations.py", line 1, in
from alembic.migration import MigrationContext
File "/Users/avant/opt/anaconda3/envs/env_zipline/lib/python3.6/site-packages/alembic/init.py", line 3, in
from . import context
File "/Users/avant/opt/anaconda3/envs/env_zipline/lib/python3.6/site-packages/alembic/context.py", line 1, in
from .runtime.environment import EnvironmentContext
File "/Users/avant/opt/anaconda3/envs/env_zipline/lib/python3.6/site-packages/alembic/runtime/environment.py", line 1
from future import annotations
^
SyntaxError: future feature annotations is not defined
Description of Issue
Here is how you can reproduce this issue on your machine:
Reproduction Steps
1.run any program or try to ingest
2.
3.
...
What steps have you taken to resolve this already?
many hours of trying different versions of python/pandas and the rest of the libs.
many GitHub/stackoverflow articles.
...
Anything else?
...
Sincerely,
`$ whoami
I also attached a screenshot
`
The text was updated successfully, but these errors were encountered: