Skip to content
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

dependency problems #84

Open
JessedeDoes opened this issue Jul 24, 2023 · 5 comments
Open

dependency problems #84

JessedeDoes opened this issue Jul 24, 2023 · 5 comments

Comments

@JessedeDoes
Copy link

Hi,

I am trying to install PIE (python version 3.10) but I run into dependency problems:

Is there a workaround?

(venv) jesse@svprre10:~/workspace/pie$ pip install nlp-pie==0.3.8
Collecting nlp-pie==0.3.8
Using cached nlp_pie-0.3.8-py2.py3-none-any.whl (84 kB)
Collecting click<8.0,>=7.0
Using cached click-7.1.2-py2.py3-none-any.whl (82 kB)
ERROR: Could not find a version that satisfies the requirement torch<=1.7.1,>=1.3.1 (from nlp-pie) (from versions: 1.11.0, 1.12.0, 1.12.1, 1.13.0, 1.13.1, 2.0.0, 2.0.1)
ERROR: No matching distribution found for torch<=1.7.1,>=1.3.1

@PonteIneptique
Copy link
Contributor

Hey :)
I don't know if @emanjavacas still maintains Pie.
In case he does not, I have tried to keep my own version in check with various dependencies ( https://github.com/lascivaroma/PaPie ). Note that it might have some dropped functionalities (as I was not using them and their maintenance was a hassle).

@emanjavacas
Copy link
Owner

Hey both,

Indeed, I don't have the capacities to keep pie updated to the last pytorch versions. However, I just pip installed it (pip install nlp-pie) and ran the tests and it seems to run fine (using pytorch 2.0). As far as I understand, the update to 2.0 didn't have backwards incompatibilities, so the package should run just fine.

If you don't get to work around this issues " ERROR: No matching distribution found for torch<=1.7.1,>=1.3.1", you could git clone the repo and install it locally.

Let me know if this helps.

Thanks @PonteIneptique for jumping in.

@JessedeDoes
Copy link
Author

Thanks both!!

I can install @PonteIneptique's version. I run into cuda issues later on, but that is most likely a problem of my local machine.

@PonteIneptique
Copy link
Contributor

Hey :) If you do not have cuda, run pip install papie --extra-index-url https://download.pytorch.org/whl/cpu, should fix things ;)

@JessedeDoes
Copy link
Author

Thanks again! (My machine does have cuda, but it magically gets mixed up on system updates from time to time)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants