Comments (7)
I have tested on two computer with python=3.10.8. Both of them have this issue。 The specific manifestation is: everything works normally the first time it is run, but after closing and running it a second time, the aforementioned "ImportError: DLL load failed while importing rpds" error appears.
I later tried different Python versions on the same computer with python=3.11.7 there is no problem, but with python=3.10.8 the error always occurs.
However, for some reason, I wish for it to run normally under Python 3.10.8. Is there a way to resolve this issue?
For reproduction,just appear when you run "import gradio as gr" , the issue will appear at"from .rpds import *“
from rpds.
Are you sure you have the right repository?
I have no idea what gradio is.
If you do have the right repo, please provide a way to reproduce whatever behavior you're reporting without any dependencies.
from rpds.
What Gradio is doesn't matter; it's just that when I was using it, it utilized rpds, and there was an error with rpds. The line of code that needs attention is: 'from .rpds import *'. In a Python 3.10.8 environment, I encountered the error 'ImportError: DLL load failed while importing rpds: Access is denied'. But id didn't occur in python=3.11.7
from rpds.
Well, again then, provide a minimal example with no dependencies that produces the behavior you're reporting.
from rpds.
just run import rpds on python=3.10.8
from rpds.
CI, which obviously runs that line, passes fine, so you'll have to be more specific.
Your screenshot also shows a traceback with lines that do not exist in this package.
Closing, please provide an actual reproducer and then I'm happy to look.
from rpds.
Thanks a lot! Here is the step:
- I use Anaconda to create a new env, with python=3.10.8
- runnning pip install rpds-py
- open vscode, run import rpds, the fist time I run this code it will be fine
- close vscode, open vscode and run import rpds again, the error occur
from rpds.
Related Issues (20)
- Wheels for Python 3.12 HOT 1
- Add pre-built manylinux package for pypy 3.10 HOT 1
- rpds objects cannot be copied with deepcopy HOT 2
- Built distribution (wheel) for armv6 HOT 2
- release 0.10.1 Cargo.toml references the previous version HOT 2
- Upload wheels for 3.12 on Windows HOT 5
- Add support for termux118 HOT 1
- Mis-named method in `rpds.pyi` causes type checking to fail HOT 2
- Latest release tagged as v0.31.2 HOT 1
- [v0.13.2] Incorrect GIT tag: https://github.com/crate-py/rpds/releases/tag/v0.31.2 HOT 1
- Couldn't find a setup script HOT 2
- HashTrieMap should return a KeysView not a list HOT 1
- Implement __hash__ HOT 3
- PyO3 modules do not yet support subinterpreters HOT 2
- install fails on AIX HOT 2
- platform=linux_x86_64 not working HOT 1
- bump pyo3 to minimum 0.20.3? HOT 4
- Build broken on python 3.13-dev HOT 3
- pep517 build fails, because the build isn't able to find cargo? HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rpds.