Giter Club home page Giter Club logo

Comments (9)

francescocassini avatar francescocassini commented on September 15, 2024

Same problem as you...
Have you find any solutions?

from pythonmonkey.

lelemka0 avatar lelemka0 commented on September 15, 2024

have the same issue

i found a temporary solution, which requires you to install node and npm.
goto <python install dir>/Lib/site-packages/pythonmonkey/node_modules and run npm install core-js

from pythonmonkey.

Smawexi avatar Smawexi commented on September 15, 2024

Can this error be resolved in the next version. I also have this error when using.

from pythonmonkey.

philippedistributive avatar philippedistributive commented on September 15, 2024

@Smawexi @lelemka0 @francescocassini can you provide a full reproducer? How is core-js configured into this?

from pythonmonkey.

lelemka0 avatar lelemka0 commented on September 15, 2024

@philippedistributive I made some attempts and found that the problem always occurs after upgrading.
The loss of core-js occurred when upgrading from 0.2.1 to 0.2.2, because pminit was not upgraded at the same time.
core-js is a new dependency in 0.2.2, so it is missing. If the js dependency does not change when the module is upgraded, there will be no exception.

I think the problem comes from here, it doesn't make a requirement on the version of pminit.

pminit = { version = "*", allow-prereleases = true }

As a temporary workaround, use pip install pythonmonkey --force-reinstall instead of pip install pythonmonkey --upgrade when upgrading modules.

from pythonmonkey.

ChrisDoufu avatar ChrisDoufu commented on September 15, 2024

I am also encountering with the same issue with latest version 0.4.0 :(

from pythonmonkey.

lelemka0 avatar lelemka0 commented on September 15, 2024

I am also encountering with the same issue with latest version 0.4.0 :(

Try pip install pythonmonkey --force-reinstall

from pythonmonkey.

ChrisDoufu avatar ChrisDoufu commented on September 15, 2024

I am also encountering with the same issue with latest version 0.4.0 :(

Try pip install pythonmonkey --force-reinstall

Tried, but it still didn't work

from pythonmonkey.

caleb-distributive avatar caleb-distributive commented on September 15, 2024

@Smawexi @lelemka0 @francescocassini @longavailable @ChrisDoufu are you still having this issue after installing the latest release (v0.6.0) by doing the following:
pip install --upgrade --force-reinstall pythonmonkey

from pythonmonkey.

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.