Giter VIP home page Giter VIP logo

probml-utils's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

probml-utils's Issues

importing probml_utils

Hello;

I can't clone probml_utils from githup due to deprecation issues with setup.py it seems. What is another way to use files in Jupyter notebook? I'm new to Jupyter notebook so I can't seem to resolve. I tried just running code for the Plot of various activation functions in Neural network but section of code that imports from githup will just not work.

Installation fails in colab

Hi,

Thanks a lot for developing probml-util. The package installation fails currently in colab with the following error.

pip install -qq git+https://github.com/probml/probml-utils.git

Error --

ERROR: Could not build wheels for numba, llvmlite, which is required to install pyproject.toml-based projects

Installation error on Mac M1

      error: Command "clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /Users/yangjing/miniconda3/envs/probml/include -arch arm64 -fPIC -O2 -isystem /Users/yangjing/miniconda3/envs/probml/include -arch arm64 -I/Users/yangjing/miniconda3/envs/probml/lib/python3.10/site-packages/numpy/core/include -I/Users/yangjing/miniconda3/envs/probml/include/python3.10 -c numba/_dispatcher.c -o build/temp.macosx-11.1-arm64-cpython-310/numba/_dispatcher.o" failed with exit status 1
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for numba
  Running setup.py clean for numba
  Building wheel for llvmlite (setup.py) ... error
  error: subprocess-exited-with-error

  × python setup.py bdist_wheel did not run successfully.
  │ exit code: 1
  ╰─> [15 lines of output]
      running bdist_wheel
      /Users/yangjing/miniconda3/envs/probml/bin/python /private/var/folders/_9/xdt1l8b142z4_h7d1snnr5440000gn/T/pip-install-_w1xztsd/llvmlite_ee72896449ee4f26972d49632460a140/ffi/build.py
      LLVM version... 14.0.6

      Traceback (most recent call last):
        File "/private/var/folders/_9/xdt1l8b142z4_h7d1snnr5440000gn/T/pip-install-_w1xztsd/llvmlite_ee72896449ee4f26972d49632460a140/ffi/build.py", line 191, in <module>
          main()
        File "/private/var/folders/_9/xdt1l8b142z4_h7d1snnr5440000gn/T/pip-install-_w1xztsd/llvmlite_ee72896449ee4f26972d49632460a140/ffi/build.py", line 185, in main
          main_posix('osx', '.dylib')
        File "/private/var/folders/_9/xdt1l8b142z4_h7d1snnr5440000gn/T/pip-install-_w1xztsd/llvmlite_ee72896449ee4f26972d49632460a140/ffi/build.py", line 143, in main_posix
          raise RuntimeError(msg)
      RuntimeError: Building llvmlite requires LLVM 10.0.x or 9.0.x, got '14.0.6'. Be sure to set LLVM_CONFIG to the right executable path.
      Read the documentation at http://llvmlite.pydata.org/ for more information about building llvmlite.

      error: command '/Users/yangjing/miniconda3/envs/probml/bin/python' failed with exit code 1
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for llvmlite
  Running setup.py clean for llvmlite
Successfully built probml-utils
Failed to build numba llvmlite
ERROR: Could not build wheels for numba, llvmlite, which is required to install pyproject.toml-based projects

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.