GithubHelp home page GithubHelp logo

Comments (7)

radarsu avatar radarsu commented on June 6, 2024 2

I had the same error until I installed:

serde = { version = "1.0.192", features = ["derive"] }
serde_json = "1.0.108"

So it's likely something with those libraries not being installed/detected by compiler.

from async-openai.

2haloes avatar 2haloes commented on June 6, 2024 1

I've just tested this on a fresh install of rust and windows and it's working as expected.

I did update my version from 0.14 to 0.16 on my laptop and a clean did not help.

from async-openai.

64bit avatar 64bit commented on June 6, 2024

Hello thank you for detail description of the issue, unfortunately I'm not able to reproduce this even after rustc update to latest rust version and matching depedency version from your cargo file.

Perhaps a clean build may help? cargo clean (to be double sure just remove "target" directory as well) and then cargo build?

from async-openai.

stevenhuyn avatar stevenhuyn commented on June 6, 2024

Also get the same issue here: https://github.com/stevenhuyn/plakait-backend when I change my async-openai version from 0.12 to 0.16.

Cargo clean/deleting target folder did not seem to help.

Am on Windows 11.

rustc 1.72.0 (5680fa18f 2023-08-23)

from async-openai.

64bit avatar 64bit commented on June 6, 2024

Is this still an issue or we can close this?

from async-openai.

stevenhuyn avatar stevenhuyn commented on June 6, 2024

I had the same error until I installed:

serde = { version = "1.0.192", features = ["derive"] }
serde_json = "1.0.108"

So it's likely something with those libraries not being installed/detected by compiler.

Explicitly doing 1.0.192 and 1.0.108 or whatver worked for me, instead of using just 1.0 ! so it's good with me!

from async-openai.

64bit avatar 64bit commented on June 6, 2024

Interesting, it does sound like issue specific to Windows.

Thanks to posting workaround - atleast its no longer a blocker - hence closing this.

from async-openai.

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.