Posts

Showing posts with the label conda

zipline RLock issue

zipline RLock issue I have successfully downloaded zipline using conda but I keep getting this error when I try to import it into a program in jupyter notebook. I am relatively new to zipline so pardon me if the the solution is obvious. Please advise as I cannot find a solution anywhere and quantopian said this is an anaconda, not zipline issue. zipline conda zipline zipline Error: ~Anaconda3libsite-packageslogbookconcurrency.py in <module>() 29 30 if has_gevent: ---> 31 from gevent._threading import (Lock as ThreadLock, 32 RLock as ThreadRLock, 33 get_ident as thread_get_ident, ImportError: cannot import name 'RLock Successful install ==> Solving environment: | Warning: 4 possible package resolutions (only showing differing packages): - anaconda::ca-certificates-2018.03.07-0, anaconda::openssl-1.0.2o-h8ea7d77_0 - anaconda::ca-certificates-2018.03.07-0, defaults::op...

Using conda along with tmux

Using conda along with tmux I have added a conda environment to my bash_profile so that it loads on startup. However I find that if I use tmux to start a new session, the terminal behaves like the conda environment was never activated. How do i fix it? I am ok with solution on adding tmux to the bash_profile bash_profile 1 Answer 1 You can either add it to bash_profile like you noted or run tmux setenv X $X from the tmux session you need to have your variable. bash_profile tmux setenv X $X tmux By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Anaconda installing error

Image
Anaconda installing error When I install Anaconda in Linux , it shows an error after selecting location. After installing: python-3.6.5-hc3d631a_2 ... it shows: python-3.6.5-hc3d631a_2 ... ./Anaconda3-5.2.0-Linux-x86.sh: line 362: 28004 Illegal instruction "$PREFIX/pkgs/python-3.6.5-hc3d631a_2/bin/python" -E -s "$PREFIX"/pkgs/.install.py $INST_OPT --root-prefix="$PREFIX" --link-dist="$1" Please do not post terminal output in images. See here for why: unix.meta.stackexchange.com/q/4086/40481 – darthbith Jun 29 at 15:32 By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.