GithubHelp home page GithubHelp logo

Comments (4)

jakobrunge avatar jakobrunge commented on August 21, 2024

This might have to do with the Python version, but it shouldn't happen. I fixed some docstring, please try again!

from tigramite.

ef93 avatar ef93 commented on August 21, 2024

I've tried python "3.9.6" and "3.8.13" and it's failed. After trying python3.10.11 I've faced with following:

    from tigramite.independence_tests.gpdc import GPDC
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1002, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 945, in _find_spec
  File "<frozen importlib._bootstrap_external>", line 1439, in find_spec
  File "<frozen importlib._bootstrap_external>", line 1411, in _get_spec
  File "<frozen zipimport>", line 170, in find_spec
  File "<frozen importlib._bootstrap>", line 431, in spec_from_loader
  File "<frozen importlib._bootstrap_external>", line 741, in spec_from_file_location
  File "<frozen zipimport>", line 229, in get_filename
  File "<frozen zipimport>", line 767, in _get_module_code
  File "<frozen zipimport>", line 696, in _compile_source
  File "/Users/esmaeilfarhang/venv/tgrm310/lib/python3.10/site-packages/tigramite-5.2.0.4-py3.10.egg/tigramite/independence_tests/gpdc.py", line 547
    """Return distance correlation coefficient.
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: invalid escape sequence '\*' 

and I just add >r< in the begining of the line 547 of "/tigramite/independence_tests/gpdc.py" file and that solved this issue.
OS: macOS 13.3.1

from tigramite.

jakobrunge avatar jakobrunge commented on August 21, 2024

I forgot that file, now all are adapted in the Master.

from tigramite.

ef93 avatar ef93 commented on August 21, 2024

Thank you very much.

from tigramite.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.