-
Notifications
You must be signed in to change notification settings - Fork 125
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
installation issues with Parsons 3.10 on M1 Mac #744
Comments
I'm interested in working on this. |
I'm hitting an additional error on install. I'm on an M1 in a fresh conda environment with Stack Trace
This seems to be related to eerohele/sublime-lxml#11; I'll try the |
|
I haven't been able to reproduce this error on my M1 mac. The steps I've take are:
All tests ran without a hitch. In addition, to try to trigger the issues with
These worked fine for me, given the above steps. |
Thanks Alex! I haven't been able to reproduce either. I'm meeting again with the person who discovered this issue to see if we can reproduce on her machine, but for now it's best to hold off. Luckily we have 90+ other issues to work on. 😂 LMK if you'd like to work on something else but need help finding something. Thanks for info on the other error, I will update our installation guide! |
Thanks Shauna! I will look around for other issues. |
Okay, update. The specific version that's causing errors is 3.10.6. Here's a stacktrace of the error - parsons installs fine but when you try to import it in the interpreter, you get this:
Installing the most recent version of botocore fixes it, but then there's an error in gspread, etc. |
I'm not able to reproduce on my machine. I've used two different ways to create a Python 3.10.6 environment (one via conda / conda-forge, another via homebrew + venv), and each time the library works as expected. Do you have steps to reproduce? What is the environment like in which this error occurs? |
Here are the commands I've run for the above two methods: conda
homebrew + venv
|
I'm going to close this as not reproducible, and open it again if anyone else runs into it. The issue is on someone else's machine and I don't want to keep bothering them to do debugging sessions when we've already figured out a workaround for her machine. |
Parsons doesn't work with Python 3.10 (on M1 Mac and probably elsewhere). Specifically seems to be an issue with new directory structures in the Collections standard library in 3.10 conflicting with older dependencies. See this StackOverflow page. The packages we ran into trouble with were urllib3, botocore, and gspread.
To Reproduce
Using a Mac (or possibly other OS) and Python 3.10, try installing Parsons. It should install, but when trying to use it and importing anything from Parsons you'll get an issue like
ImportError: cannot import name 'Mapping' from 'collections'
.Sorry I don't have a full stacktrace, but these are errors from dependencies, not a fix that can be made in Parsons itself. Found issues with urllib3, botocore and gspread before giving up and switching to Python 3.9.
Your Environment
Wasn't mine, but: Mac with M1 chip, using Python 3.10, Parsons 0.21.0.
Priority
High priority (or lower the priority but remove statements saying we support 3.10)
The text was updated successfully, but these errors were encountered: