AlphaTracker icon indicating copy to clipboard operation
AlphaTracker copied to clipboard

Unable to install

Open SweetStripes74 opened this issue 3 years ago • 7 comments

Hello! I'm fairly new to the coding world and am having trouble installing the tools for the alpha tracker unfortunately and would like some help.

After dowloading the repository and changing the directory, I input the code "conda new env -f environment.yaml" I got this as a result:

Collecting package metadata (repodata.json): done Solving environment: failed

ResolvePackageNotFound:

  • glib==2.56.2=hd408876_0
  • freetype==2.9.1=h8a8886c_1
  • libstdcxx-ng==8.2.0=hdf63c60_1
  • libxslt==1.1.33=h7d1a2b0_0
  • libpng==1.6.37=hbc83047_0
  • expat==2.2.6=he6710b0_0
  • openssl==1.0.2t=h7b6447c_1
  • fontconfig==2.13.0=h9420a91_0
  • sip==4.19.8=py36hf484d3e_0
  • libuuid==1.0.3=h1bed415_2
  • pyqt==5.9.2=py36h05f1152_2
  • dbus==1.13.6=h746ee38_0
  • lxml==4.4.1=py36hefd8a0e_0
  • sqlite==3.23.1=he433501_0
  • pywavelets==1.0.3=py36hdd07704_1
  • jpeg==9b=h024ee3a_2
  • zeromq==4.3.1=he6710b0_3
  • tk==8.6.8=hbc83047_0
  • pyrsistent==0.14.11=py36h7b6447c_0
  • gst-plugins-base==1.14.0=hbbd80ab_1
  • gmp==6.1.2=h6c8ec71_1
  • qt==5.9.6=h52aff34_0
  • libxml2==2.9.9=he19cac6_0
  • tornado==6.0.2=py36h7b6447c_0
  • python==3.6.2=hca45abc_19
  • ncurses==6.0=h9df7e31_2
  • libedit==3.1=heed3624_0
  • readline==7.0=ha6073c6_4
  • intel-openmp==2019.4=243
  • ptyprocess==0.6.0=py36_0
  • libgcc-ng==8.2.0=hdf63c60_1
  • xz==5.2.4=h14c3975_4
  • libsodium==1.0.16=h1bed415_0
  • libtiff==4.0.10=h2733197_2
  • pyzmq==18.0.0=py36he6710b0_0
  • gstreamer==1.14.0=hb453b48_1
  • libxcb==1.13=h1bed415_1
  • zstd==1.3.7=h0b5b093_0
  • libgfortran-ng==7.3.0=hdf63c60_0
  • statsmodels==0.10.1=py36hdd07704_0
  • traitlets==4.3.2=py36h674d592_0
  • pcre==8.43=he6710b0_0
  • cytoolz==0.10.1=py36h7b6447c_0
  • scikit-image==0.15.0=py36he6710b0_0
  • libffi==3.2.1=hd88cf55_4
  • zlib==1.2.11=h7b6447c_3
  • markupsafe==1.1.1=py36h7b6447c_0
  • mistune==0.8.4=py36h7b6447c_0
  • scikit-learn==0.20.1=py36h4989274_0
  • icu==58.2=h9c2bf20_1

When doing the follow up command of "conda activate alphatracker" what I get is: Could not find conda environment: alphatracker You can list all discoverable environments with conda info --envs.

not certain what to do here. I did conda update conda and was able to download pytorch successfully so I'm a bit at a loss. Any help would be great!

SweetStripes74 avatar Mar 13 '21 17:03 SweetStripes74

Hi, thank you for trying AlphaTracker. When you are in the main AlphaTracker directory: AlphaTracker/Tracking/AlphaTracker, instead try running the following command: conda env create -f environment.yml

aneeshbal avatar Mar 13 '21 17:03 aneeshbal

Thank you for the quick reply! Currently that code outputs:

(base) C:\Users\ninsellab2\Desktop\AlphaTracker\Tracking\AlphaTracker>conda env create -f environment.yml Collecting package metadata (repodata.json): failed

UnavailableInvalidChannel: The channel is not accessible or is invalid. channel name: cyclus channel url: https://conda.binstar.org/cyclus error code: 404

You will need to adjust your conda configuration to proceed. Use conda config --show channels to view your configuration's current state, and use conda config --show-sources to view config file locations.

SweetStripes74 avatar Mar 13 '21 18:03 SweetStripes74

Hi, actually regarding my earlier comment, you should be in the main AlphaTracker directory where the environment.yml file is located.

In regards to the new error you received, could you share the environment.yml file that is currently in your AlphaTracker folder? Also, what OS is your computer using?

Thanks!

aneeshbal avatar Mar 13 '21 18:03 aneeshbal

In my first comment I was under the correct directory of the main alphatracker file and with either code it gave the same error.

I am currently running Windows 10

SweetStripes74 avatar Mar 13 '21 18:03 SweetStripes74

Hello SweetStripes74,

The current version of the AlphaTracker package is optimized for Linux OS system. We are currently working on a version that will run smoothly in Windows environments but it is not yet available.

Does your computer use the Windows for Linux Subsystem (wsl2)? If so and, if you also have a GPU with CUDA libraries, theoretically it should run on your system. However, it has not been fully tested on this platform.

If you would like to explore AlphaTracker in the meantime, we recommend running it in Google Colab. Please view the instructions here: https://github.com/ZexinChen/AlphaTracker/blob/main/Manual/Colab.md

Thanks!

On Sat, Mar 13, 2021, 10:17 AM SweetStripes74 @.***> wrote:

In my first comment I was under the correct directory of the main alphatracker file and with either code it gave the same error.

I am currently running Windows 10

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ZexinChen/AlphaTracker/issues/6#issuecomment-798733109, or unsubscribe https://github.com/notifications/unsubscribe-auth/AE6EMHJCTPXIFLCQQUICAA3TDOM3VANCNFSM4ZEBOJEA .

laurelrr avatar Mar 13 '21 18:03 laurelrr

Ah gotcha. My apologies; I was under the impression if I used Python script in a conda environment it should work under windows as well. We will try the Google Colab then! Thank you for your help :)

SweetStripes74 avatar Mar 13 '21 18:03 SweetStripes74

I think your impression is generally correct with non-GPU python packages. However, the current implementation of AlphaTracker has one module that is written in C (not python). Also, if you do not have wsl set up on a Windows machine, then even if you installed everything and it looked good, the software would not be able to communicate with the GPU and would not function properly.

Thank you for your questions!

On Sat, Mar 13, 2021 at 10:41 AM SweetStripes74 @.***> wrote:

Ah gotcha. My apologies; I was under the impression if I used Python script in a conda environment it should work under windows as well. We will try the Google Colab then! Thank you for your help :)

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/ZexinChen/AlphaTracker/issues/6#issuecomment-798764565, or unsubscribe https://github.com/notifications/unsubscribe-auth/AE6EMHM5ZIY4O3EKUUJZ2DDTDOPV7ANCNFSM4ZEBOJEA .

--

Follow Your Bliss

"Energy and persistence conquer all things." - Benjamin Franklin

laurelrr avatar Mar 13 '21 18:03 laurelrr