@glassnotes
My Github is at https://github.com/hpssjellis/my-examples-for-quantum-computing
I am doing much better with the installation. I only have 4 not working demos
x-pytorch_noise.py
x-tutorial_ensemble_multi_qpu.py
x-tutorial_quantum_transfer_learning.py
x-tutorial_vqe_parallel.py
My .gitpod.yml file (what gets auto installed)
image:
  file: .gitpod.Dockerfile
  
ports:
  - port: 6080
    onOpen: ignore 
  
tasks:
  - init:    pip3 install --upgrade pip                                             &&
             pip3 install tensorflow                                                &&
             pip3 install tensorflowjs                                              &&
             pip3 install netron                                                    &&
             pip3 install tensorflow-quantum                                        &&
             pip3 install matplotlib                                                &&
             git clone https://github.com/tensorflow/quantum.git                    &&
             pip3 install pennylane --upgrade                                       &&
             pip3 install pennylane-cirq autograd "tensorflow>=1.13.2"              &&
             pip3 install pytest-mock flaky  nlopt   dask[delayed]                  &&
             pip3 install  toml  scipy qulacs pillow  numpy                         &&
             pip3 install pennylane-sf pennylane-qiskit pennylane-cirq pytest-cov   &&
             pip3 install pennylane-forest pennylane-qsharp pytest pennylane-qchem  &&
             pip3 install torch==1.7.0+cpu torchvision==0.8.1+cpu torchaudio==0.7.0 -f https://download.pytorch.org/whl/torch_stable.html  &&
             pip3 install six==1.13.0 qsimcirq sympy==1.5.1 pyquil==2.21 antlr4-python3-runtime==4.8
             
             
And my short errors are
*********************
*********************
Running Python file: x-pytorch_noise
*********************
2020-11-21 02:41:09.978901: W tensorflow/stream_executor/platform/default/dso_loader.cc:59] Could not load dynamic library 'libcudart.so.10.1'; dlerror: libcudart.so.10.1: cannot open shared object file: No such file or directory
2020-11-21 02:41:09.978989: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine.
Traceback (most recent call last):
  File "x-pytorch_noise.py", line 60, in <module>
    dev = qml.device("forest.qvm", device="2q", noisy=True)
  File "/workspace/.pip-modules/lib/python3.7/site-packages/pennylane/__init__.py", line 187, in device
    plugin_device_class = plugin_devices[name].load()
  File "/workspace/.pip-modules/lib/python3.7/site-packages/pkg_resources/__init__.py", line 2446, in load
    self.require(*args, **kwargs)
  File "/workspace/.pip-modules/lib/python3.7/site-packages/pkg_resources/__init__.py", line 2469, in require
    items = working_set.resolve(reqs, env, installer, extras=self.extras)
  File "/workspace/.pip-modules/lib/python3.7/site-packages/pkg_resources/__init__.py", line 775, in resolve
    raise VersionConflict(dist, req).with_context(dependent_req)
pkg_resources.ContextualVersionConflict: (antlr4-python3-runtime 4.8 (/workspace/.pip-modules/lib/python3.7/site-packages), Requirement.parse('antlr4-python3-runtime<4.8,>=4.7.2'), {'pyquil'})
*********************
*********************
Running Python file: x-tutorial_ensemble_multi_qpu
*********************
2020-11-21 02:41:21.833860: W tensorflow/stream_executor/platform/default/dso_loader.cc:59] Could not load dynamic library 'libcudart.so.10.1'; dlerror: libcudart.so.10.1: cannot open shared object file: No such file or directory
2020-11-21 02:41:21.833951: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine.
Traceback (most recent call last):
  File "x-tutorial_ensemble_multi_qpu.py", line 166, in <module>
    dev0 = qml.device("forest.qvm", device="4q-qvm")
  File "/workspace/.pip-modules/lib/python3.7/site-packages/pennylane/__init__.py", line 187, in device
    plugin_device_class = plugin_devices[name].load()
  File "/workspace/.pip-modules/lib/python3.7/site-packages/pkg_resources/__init__.py", line 2446, in load
    self.require(*args, **kwargs)
  File "/workspace/.pip-modules/lib/python3.7/site-packages/pkg_resources/__init__.py", line 2469, in require
    items = working_set.resolve(reqs, env, installer, extras=self.extras)
  File "/workspace/.pip-modules/lib/python3.7/site-packages/pkg_resources/__init__.py", line 775, in resolve
    raise VersionConflict(dist, req).with_context(dependent_req)
pkg_resources.ContextualVersionConflict: (antlr4-python3-runtime 4.8 (/workspace/.pip-modules/lib/python3.7/site-packages), Requirement.parse('antlr4-python3-runtime<4.8,>=4.7.2'), {'pyquil'})
*********************
*********************
Running Python file: x-tutorial_quantum_transfer_learning
*********************
2020-11-21 02:41:34.765270: W tensorflow/stream_executor/platform/default/dso_loader.cc:59] Could not load dynamic library 'libcudart.so.10.1'; dlerror: libcudart.so.10.1: cannot open shared object file: No such file or directory
2020-11-21 02:41:34.765375: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine.
Traceback (most recent call last):
  File "x-tutorial_quantum_transfer_learning.py", line 215, in <module>
    for x in ["train", "val"]
  File "x-tutorial_quantum_transfer_learning.py", line 215, in <dictcomp>
    for x in ["train", "val"]
  File "/workspace/.pip-modules/lib/python3.7/site-packages/torchvision/datasets/folder.py", line 229, in __init__
    is_valid_file=is_valid_file)
  File "/workspace/.pip-modules/lib/python3.7/site-packages/torchvision/datasets/folder.py", line 108, in __init__
    classes, class_to_idx = self._find_classes(self.root)
  File "/workspace/.pip-modules/lib/python3.7/site-packages/torchvision/datasets/folder.py", line 137, in _find_classes
    classes = [d.name for d in os.scandir(dir) if d.is_dir()]
FileNotFoundError: [Errno 2] No such file or directory: '../_data/hymenoptera_data/train'
*********************
*********************
Running Python file: z-tutorial_vqe_parallel
*********************
2020-11-21 02:41:47.537153: W tensorflow/stream_executor/platform/default/dso_loader.cc:59] Could not load dynamic library 'libcudart.so.10.1'; dlerror: libcudart.so.10.1: cannot open shared object file: No such file or directory
2020-11-21 02:41:47.537252: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine.
Traceback (most recent call last):
  File "z-tutorial_vqe_parallel.py", line 123, in <module>
    dev1 = [qml.device("forest.qvm", device="4q-qvm") for _ in range(8)]
  File "z-tutorial_vqe_parallel.py", line 123, in <listcomp>
    dev1 = [qml.device("forest.qvm", device="4q-qvm") for _ in range(8)]
  File "/workspace/.pip-modules/lib/python3.7/site-packages/pennylane/__init__.py", line 187, in device
    plugin_device_class = plugin_devices[name].load()
  File "/workspace/.pip-modules/lib/python3.7/site-packages/pkg_resources/__init__.py", line 2446, in load
    self.require(*args, **kwargs)
  File "/workspace/.pip-modules/lib/python3.7/site-packages/pkg_resources/__init__.py", line 2469, in require
    items = working_set.resolve(reqs, env, installer, extras=self.extras)
  File "/workspace/.pip-modules/lib/python3.7/site-packages/pkg_resources/__init__.py", line 775, in resolve
    raise VersionConflict(dist, req).with_context(dependent_req)
pkg_resources.ContextualVersionConflict: (antlr4-python3-runtime 4.8 (/workspace/.pip-modules/lib/python3.7/site-packages), Requirement.parse('antlr4-python3-runtime<4.8,>=4.7.2'), {'pyquil'})
Note: some other demo needed antlr4-python3-runtime==4.8 and switching it to 4.7.2 does not solve all the issues.
I will probably figure it out, but if anyone can see anything obvious to them, that would be helpful.