Giter Club home page Giter Club logo

Comments (6)

primalkriek avatar primalkriek commented on June 3, 2024 1

hi,
pretty strange, because the output is 'Requirement already satisfied: executing==2.0.0 in anaconda3/lib/python3.11/site-packages (2.0.0)'
I remember reading it somewhere before, so I had already done it before, but by doing the implicit pip install -U executing

but now icecream works. so thank you for the

from icecream.

vindevoy avatar vindevoy commented on June 3, 2024

I confirm this error. I just created a new conda environment with Python 3.11 and I get this error. Works with 3.10.

I am running "current file" from PyCharm. But I have the same issue when running it through a "configuration" from PyCharm and from CLI (Dos terminal in my case)

from icecream.

primalkriek avatar primalkriek commented on June 3, 2024

hey, same here.
freshly installed conda, python version 3.11.5
did a pip install icecream and running a basic .py file where I use ic() I get this error.
same in Jupyter notebook (version 7)

I see that in a previous thread around 3.11 the same error is posted, there they ask for the version of executing, if I am not mistaken, the version is 0.8.3. that seems to be the latest

from icecream.

QinHuoBin avatar QinHuoBin commented on June 3, 2024

The simplest way to solve this problem is to execute
pip install -U executing
(fixed in python 3.11.4)

from icecream.

primalkriek avatar primalkriek commented on June 3, 2024

no that did not solve it, as stated previously, executing is installed, and as far as I can see, this is still 0.8.3.

from icecream.

QinHuoBin avatar QinHuoBin commented on June 3, 2024

no that did not solve it, as stated previously, executing is installed, and as far as I can see, this is still 0.8.3.

You can try pip install executing==2.0.0
According to my debugging results, it is precisely because the name of the python bytecode instruction has changed and executing has not adapted to this change that the icecream cannot obtain the source code.

from icecream.

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.