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

Something weird with the setup script #209

Closed
havietisov opened this issue Aug 5, 2023 · 9 comments
Closed

Something weird with the setup script #209

havietisov opened this issue Aug 5, 2023 · 9 comments

Comments

@havietisov
Copy link

Tried installing from source, got this :
Installing collected packages: UNKNOWN Running setup.py develop for UNKNOWN Successfully installed UNKNOWN-0.1.dev188+gde8c2e5
This probably should be fixed somehow

@rlouf
Copy link
Member

rlouf commented Aug 5, 2023

What command did you run?

@havietisov
Copy link
Author

tried pip install -e .[test] and just pip install .
same result

@rlouf
Copy link
Member

rlouf commented Aug 12, 2023

I cannot reproduce it locally. Did you try with a fresh virtual environment?

@havietisov
Copy link
Author

Tried to do it with just vanilla python virtual environment

@rlouf
Copy link
Member

rlouf commented Aug 16, 2023

Can you retry with the attempted fix in #242?

@havietisov
Copy link
Author

havietisov commented Aug 19, 2023

doesn't work. here's my log :

/mnt/j/outlines$ pip install .
Defaulting to user installation because normal site-packages is not writeable
Processing /mnt/j/outlines
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Installing backend dependencies ... done
  Preparing metadata (pyproject.toml) ... done
Building wheels for collected packages: UNKNOWN
  Building wheel for UNKNOWN (pyproject.toml) ... done
  Created wheel for UNKNOWN: filename=UNKNOWN-0.1.dev199+g91f95d8-py3-none-any.whl size=5279 sha256=6af174ca690c71f7e2b8d2f2d7f4ec4b32017c7ab34253a41c0577a08b936c9e
  Stored in directory: /tmp/pip-ephem-wheel-cache-5yvxrire/wheels/e4/74/f6/9029229c3790401793af028cdcb4de8015ab9d87070e119f54
Successfully built UNKNOWN
Installing collected packages: UNKNOWN
Successfully installed UNKNOWN-0.1.dev199+g91f95d8

@rlouf
Copy link
Member

rlouf commented Aug 19, 2023

Can you give me the pip and Python versions you used if it doesn't work after running

pip install -U pip 

and

pip install setuptools --upgrade

@havietisov
Copy link
Author

Well, this time I just tried to install it using PIP.
tried to upgrade setuptools to 68.1.2, same error
python version is 3.10.6-1~22.04

I noticed that there's no setupscript in the repository.
When I made a setupscript on my own, package is finally installing like it should.
Maybe, this can be remedied by just adding a setupscript?

@havietisov
Copy link
Author

Ok, anyway, would it be OK if I just add a setupscript?

@rlouf rlouf closed this as not planned Won't fix, can't repro, duplicate, stale Nov 15, 2023
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

2 participants