Giter Site home page Giter Site logo

Comments (4)

fgmacedo avatar fgmacedo commented on May 23, 2024

Hi @xiao-fred, thanks for reporting this. Can you please provide a notebook and your requirements with exact versions, so I can try for myself?

I'm not familiar with autoreload but can try to find a fix.

from python-statemachine.

brunolnetto avatar brunolnetto commented on May 23, 2024

May I join the issue? I installed the library with !pip install statemachine and shift-entered from statemachine import StateMachine, State. However, the following log appeared:

NameError: name 'StateMachine' is not defined

Weird.

from python-statemachine.

brunolnetto avatar brunolnetto commented on May 23, 2024

@xiao-fred I run the following steps (OS Linux distribution Ubuntu 20.04):

  1. Create and Activate virtual environment: virtualenv .venv && source .venv/bin/activate;
  2. Install ipykernel to allow jupyter notebook usage of above virtual environment: pip install ipykernel;
  3. Make virtual kernel available: python -m ipykernel install --user --name .venv --display-name
  4. Checkout available kernelspec routes: jupyter kernelspec list;
  5. Open jupyter notebook session: jupyter notebook;
  6. Click on file sm_notebook.ipynb;
  7. Activate .venv kernel by:
    a. Click option Kernel on header-menu;
    b. Select option Change kernel > .venv.
  8. Perform the described workflow on this issue first post.

from python-statemachine.

fgmacedo avatar fgmacedo commented on May 23, 2024

Closing as stale. If you still need help please open a new issue.

from python-statemachine.

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.