Comments (5)
I've encountered this issue before. This issue is triggered when Python and lib2to3 tries to expand a pickle in the system directory.
I'm surprised the install of irc is triggering this error because irc doesn't use 2to3.
I worked around this in my environments by first importing lib2to3.grammar (I think) before running any installs. Please try that and let me know if that helps.
Later, I'll have my main workstation and can confirm and investigate further.
Original comment by: Jason R. Coombs
from irc.
Ran the following, I assume this is what you meant?
Apologies if not, still new to Python :)
C:\Users\Tom>pip install lib2to3.grammar
Downloading/unpacking lib2to3.grammar
Could not find any downloads that satisfy the requirement lib2to3.grammar
Cleaning up...
No distributions at all found for lib2to3.grammar
Original comment by: Nuvelle
from irc.
I apologize. I didn't give very good advice, as I was working from memory.
What I meant was to run
python -c "import lib2to3.pygram"
That will trigger the Python environment to generate the lib2to3 grammar, which it stores as a pickle. If that code gets triggered first as part of installing a package, it will cause that sandbox violation (because writing outside of the sandboxed directory is disallowed).
My guess is if you run the command above, the install will work. It's possible you don't even need to run the command above and that it'll work. I'm not sure why installing httpie works but installing irc doesn't. It could be because irc uses 'setup_requires' requirements.
In any case, it's not a bug with irc. Please let me know if the above command doesn't get things going.
Original comment by: Jason R. Coombs
from irc.
I filed setuptools 121 to track the underlying error.
Original comment by: Jason R. Coombs
from irc.
Worked perfectly after running the command!
Thank you!!
Original comment by: Nuvelle
from irc.
Related Issues (20)
- Implement default handler if nothing matches HOT 1
- [AIO] No client side ping-pong
- [AIO] Excess flood prevention HOT 3
- [AIO] Registering a connection needs to be split out of connect() HOT 1
- [AIO] Connection real_nickname must not be set before registration HOT 1
- [AIO] Implement SASL PLAIN with expect() flow
- High CPU usage in irc.server. HOT 1
- Add support for ignoring ssl validation in the examples HOT 2
- Add support for SASL HOT 4
- In tests DeprecationWarning no event loop
- ValueError when trying to download using DCC HOT 2
- Basic irc bot HOT 1
- DCC Transfers getting stuck HOT 1
- Test regressions: irc/dict.py::irc.dict.IRCDict, irc/strings.py::irc.strings.IRCFoldedCase
- Example for creating multiple connections to a server? HOT 1
- After joining a channel, how do I get a list of usernames? HOT 1
- 'AioReactor' object has no attribute 'scheduler' HOT 3
- set_keepalive resulting into "irc.client.ServerNotConnectedError: Not connected."
- Empty quit message raises IndexError
- encoding outgoing messages seems to remove "\x1d" HOT 1
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 irc.