I want to follow this gravityspy documentation page to classify a trigger, so I am trying to install gravityspy following the installation instructions in the documentation but I am getting an error ERROR: Could not find a version that satisfies the requirement mysqlclient>=1.4.0 (from gravityspy). I tried installing mysqlclient in my conda environment separately but I still get this error.
I also tried using the existing environment that has the gravityspy package installed which is found here on ldas machines - /home/gravityspy/.conda/envs/gravityspy-gpu-py37/ - but the example code in the documentation didn't run successfully and produce the following error,
(gravityspy-gpu-py37) [rutuja.gurav@ldas-pcdev6 ~]$ python test_gravityspy.py
Using TensorFlow backend.
Traceback (most recent call last):
File "test_gravityspy.py", line 6, in <module>
path_to_cnn=model_filepath)
File "/home/gravityspy/.conda/envs/gravityspy-gpu-py37/lib/python3.7/site-packages/gravityspy/classify/classify.py", line 91, in classify
**kwargs)
File "/home/gravityspy/.conda/envs/gravityspy-gpu-py37/lib/python3.7/site-packages/gravityspy/utils/utils.py", line 230, in label_q_scans
numpy.array(f['/labels/labels']).astype(str).T[0])
File "h5py/_objects.pyx", line 54, in h5py._objects.with_phil.wrapper
File "h5py/_objects.pyx", line 55, in h5py._objects.with_phil.wrapper
File "/home/gravityspy/.conda/envs/gravityspy-gpu-py37/lib/python3.7/site-packages/h5py/_hl/group.py", line 264, in __getitem__
oid = h5o.open(self.id, self._e(name), lapl=self._lapl)
File "h5py/_objects.pyx", line 54, in h5py._objects.with_phil.wrapper
File "h5py/_objects.pyx", line 55, in h5py._objects.with_phil.wrapper
File "h5py/h5o.pyx", line 190, in h5py.h5o.open
KeyError: 'Unable to open object (component not found)'
What should have happened?
The example code from the documentation should have run successfully
Steps to reproduce
In a terminal on ldas-pdev6.ligo-la.caltech.edu, run command conda activate /home/gravityspy/.conda/envs/gravityspy-gpu-py37/
Summary
I want to follow this
gravityspy
documentation page to classify a trigger, so I am trying to installgravityspy
following the installation instructions in the documentation but I am getting an error ERROR: Could not find a version that satisfies the requirement mysqlclient>=1.4.0 (from gravityspy). I tried installingmysqlclient
in my conda environment separately but I still get this error.I also tried using the existing environment that has the
gravityspy
package installed which is found here on ldas machines -/home/gravityspy/.conda/envs/gravityspy-gpu-py37/
- but the example code in the documentation didn't run successfully and produce the following error,What should have happened?
The example code from the documentation should have run successfully
Steps to reproduce
In a terminal on ldas-pdev6.ligo-la.caltech.edu, run command
conda activate /home/gravityspy/.conda/envs/gravityspy-gpu-py37/
Then run the following lines of python code,