python3.7 posix broken on pipenv 2022.4.21
See original GitHub issueGetting this error. Looks like it is using python2 libs for Crypto. Reverted to 2022.4.8 and that works.
botstream Traceback (most recent call last):
botstream File "run.py", line 41, in <module>
botstream main()
botstream File "run.py", line 34, in main
botstream accounts = Accounts()
botstream File "/botstream-server/botstream/users/information.py", line 154, in __init__
botstream from simplecrypt import decrypt
botstream File "/usr/local/lib/python3.7/site-packages/simplecrypt/__init__.py", line 5, in <module>
botstream from Crypto.Random.random import getrandbits
botstream File "/usr/local/lib/python3.7/site-packages/Crypto/Random/__init__.py", line 28, in <module>
botstream from Crypto.Random import OSRNG
botstream File "/usr/local/lib/python3.7/site-packages/Crypto/Random/OSRNG/__init__.py", line 32, in <module>
botstream from Crypto.Random.OSRNG.posix import new
botstream File "/usr/local/lib/python3.7/site-packages/Crypto/Random/OSRNG/posix.py", line 66
botstream except IOError, e:
botstream ^
botstream SyntaxError: invalid syntax
❯ diff posix.py /Users/rwong/tmp/2022-04-22/bad/site-packages/Crypto/Random/OSRNG/posix.py [11:24:09]
32c32
< from .rng_base import BaseRNG
---
> from rng_base import BaseRNG
66c66
< except IOError as e:
---
> except IOError, e:
Issue Analytics
- State:
- Created a year ago
- Reactions:1
- Comments:23
Top Results From Across the Web
Release and Version History — pipenv 2022.12.20.dev0 ...
Fix an issue when using pipenv install --system on systems that having the python executable pointing to Python 2 and a Python 3...
Read more >pipenv Documentation - Read the Docs
Pipenv is a tool that aims to bring the best of all packaging worlds (bundler, composer, npm, cargo, yarn, etc.) to the. Python...
Read more >Frequently Encountered Pipenv Problems - Read the Docs
This is usually a result of mixing Pipenv with system packages. We strongly recommend installing Pipenv in an isolated environment. Uninstall all existing ......
Read more >python-pipenv broken after last update - Arch Linux Forums
Okay, there it is: archlinux-keyring 20220224-1 20220424-1 audit 3.0.7-1 3.0.8 ...
Read more >pipenv - Bountysource
pipenv. Sacred Marriage of Pipfile, Pip, & Virtualenv. ... Issue with NumPy, macOS 11 Big Sur, Python 3.9.1 Does pipenv not use the...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@mohsyed04 , pinned pipenv like so
pip install pipenv==2022.4.8
@whyboris or @wwwroth did you test with the newer pipenv and
--system
flag?@whyboris , @wwwroth , @heathwwoodson ^^^