ivopetiz / algotrading

Algorithmic trading framework for cryptocurrencies.
MIT License
1.09k stars 177 forks source link

hello #15

Closed HAGAI123 closed 3 years ago

HAGAI123 commented 3 years ago

### hello i have couple problem , this is the first

, line 17, in import cryptoalgotrading.var as var ModuleNotFoundError: No module named 'cryptoalgotrading.var'; 'cryptoalgotrading' is not a package

and the other one is , is when i run pip install -r requirements.txt ERROR: Could not find a version that satisfies the requirement matplotlib==2.2.2 ERROR: No matching distribution found for matplotlib==2.2.2

### if i change in the requirements the matplotlib from 2.2.2 to 3.4.1 so is make me now

ERROR: Command errored out with exit status 1: command: /usr/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-zth40e8e/tables_2311501a8cfc4ba59fb36049f3ffb3bd/setup.py'"'"'; file='"'"'/tmp/pip-install-zth40e8e/tables_2311501a8cfc4ba59fb36049f3ffb3bd/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 /tmp/pip-pip-egg-info-xho4ah8s cwd: /tmp/pip-install-zth40e8e/tables_2311501a8cfc4ba59fb36049f3ffb3bd/ Complete output (13 lines): /tmp/H5closezd786i5e.c: In function ‘main’: /tmp/H5closezd786i5e.c:2:5: warning: implicit declaration of function ‘H5close’ [-Wimplicit-function-declaration] 2 | H5close(); | ^~~ /usr/bin/ld: cannot find -lhdf5 collect2: error: ld returned 1 exit status

and then if i change the tables from 3.5.2 to 3.6.1 so is make me this

ERROR: Cannot install matplotlib==3.4.1 and pyparsing==2.2.0 because these package versions have conflicting dependencies.

The conflict is caused by: The user requested pyparsing==2.2.0 matplotlib 3.4.1 depends on pyparsing>=2.2.1

To fix this you could try to:

  1. loosen the range of package versions you've specified
  2. remove package versions to allow pip attempt to solve the dependency conflict

ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/user_guide/#fixing-conflicting-dependencies

ivopetiz commented 3 years ago

Hi @HAGAI123, thanks for opening this issue. Tables and Matplotlib were updated on requirements.txt, so I hope you can install all the dependencies now.