-
Notifications
You must be signed in to change notification settings - Fork 64
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
suds-jurko and setuptools 58 conflict with pip install #212
Comments
Any updates on this conflict? I am running into the same problem. |
From @KehanGit , from another exchange:
@KehanGit could you specify how you installed ulmo, what version of ulmo was installed, and what suds library (I assume it was suds-jurko) and version was installed? For reference, #189 is somewhat related to this issue. |
I installed ulmo just now, like this:
Then I was able to import ulmo without problems. FYI, I'm on Ubuntu Linux; I pinned Python to 3.8 b/c that's what I see in your error report; I added |
Hi Emilio,
Thanks a lot for your reply.
To install ulmo, I used 'pip install ulmo' on a python virtual environment
on Ubuntu Linux. I have installed ipykernel on this environment.
Do you have any idea what may cause the errors I had? Thanks!
Best regards,
Kehan
…On Sun, May 15, 2022 at 2:58 PM Emilio Mayorga ***@***.***> wrote:
I installed ulmo just now, like this:
mamba create -n ulmo_test -c conda-forge python==3.8 ulmo ipykernel
Then I was able to import ulmo without problems.
FYI, I'm on Ubuntu Linux; I pinned Python to 3.8 b/c that's what I see in
your error report; I added ipykernel just to be able to test in IPython;
and I used mamba rather than conda to get to a successful conda
environment more quickly.
—
Reply to this email directly, view it on GitHub
<#212 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AHVXHDLQINYCF6W2X6G7AILVKFXQHANCNFSM5EZZOGOA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Thanks for the information. I've created a conda environment where I then installed ulmo via What version of ulmo was installed? I don't remember how to find the version in an environment that's not conda, if import ulmo fails! Can someone in your group help you get at that? What I found with my test with pip install is that it ended up falling back to a really, really old version of ulmo, 0.5.0! The initial errors start during pip install while installing Do you use conda? From what I can tell, that would solve the problem and let you use ulmo w/o problems. That doesn't address the real problem with installation via pip install; I'd like to look into it later. For future reference, here's the first error reported during
The installer keeps trying with older versions of |
I went back and tried the recommendation at the start of this issue: pinning setuptools to <58 when installing ulmo via pip install. That worked! import ulmo no longer leads to an error. |
I've got a simple workaround for the setuptools + suds-jurko issue that folks may find helpful. What I've done is pre-build a wheel (using the older version of setuptools) and made that available on GitHub: https://github.com/drivendataorg/suds-jurko-wheel You can then either install the wheel distributed on that repository first or side-by-side with ulmo and it will install with no problems. For example: pip install ulmo "suds-jurko @ https://github.com/drivendataorg/suds-jurko-wheel/releases/download/v0.6/suds_jurko-0.6-py3-none-any.whl" or in a
The wheel is redistributing suds-jurko without modification. The build process happens in GitHub CI transparently, and the build script is here. This way you don't need to fuss with setuptools or don't need to be forced to use conda. |
From snowex-hackweek/docker-image#29 (comment):
The text was updated successfully, but these errors were encountered: