fastmachinelearning / hls4ml-tutorial

Tutorial notebooks for hls4ml
http://fastmachinelearning.org/hls4ml-tutorial/
285 stars 123 forks source link

conda error #7

Closed wohlbier closed 3 years ago

wohlbier commented 3 years ago

I can't tell if this is a me problem. My connectivity to GitHub is fine.

conda env create -f environment.yml 
Collecting package metadata (repodata.json): done
Solving environment: done
Preparing transaction: done
Verifying transaction: done
Executing transaction: \ 
\ 
done
Installing pip dependencies: \ Ran pip subprocess with arguments:
['/home/jgwohlbier/devel/packages/anaconda3/envs/hls4ml-tutorial-0.4.0/bin/python', '-m', 'pip', 'install', '-U', '-r', '/home/jgwohlbier/devel/DSSoC/EPOCHS/hls4ml-tutorial/condaenv.l7k4mvnp.requirements.txt']
Pip subprocess output:
Collecting qkeras
  Cloning git://github.com/google/qkeras.git to /tmp/pip-install-kv0qrtrv/qkeras_c6c16b1e77134d2d8963d09e53618ebd
Collecting jupyter
  Using cached jupyter-1.0.0-py2.py3-none-any.whl (2.7 kB)
Collecting tensorflow==2.3.1
  Using cached tensorflow-2.3.1-cp37-cp37m-manylinux2010_x86_64.whl (320.4 MB)
Collecting hls4ml[profiling]==0.4.0
  Using cached hls4ml-0.4.0-py3-none-any.whl (215 kB)

Pip subprocess error:
  Running command git clone -q git://github.com/google/qkeras.git /tmp/pip-install-kv0qrtrv/qkeras_c6c16b1e77134d2d8963d09e53618ebd
  fatal: unable to connect to github.com:
  github.com[0: 140.82.113.3]: errno=Connection timed out

WARNING: Discarding git+git://github.com/google/qkeras.git#egg=qkeras. Command errored out with exit status 128: git clone -q git://github.com/google/qkeras.git /tmp/pip-install-kv0qrtrv/qkeras_c6c16b1e77134d2d8963d09e53618ebd Check the logs for full command output.
ERROR: Could not find a version that satisfies the requirement qkeras (unavailable)
ERROR: No matching distribution found for qkeras (unavailable)

failed

CondaEnvException: Pip failed
wohlbier commented 3 years ago

Note that replacing git+git://github.com/google/qkeras.git#egg=qkeras with git+https://github.com/google/qkeras.git#egg=qkeras fixed it.