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

README instructions correct? #10

Closed
egonw opened this issue Jul 10, 2022 · 4 comments
Closed

README instructions correct? #10

egonw opened this issue Jul 10, 2022 · 4 comments

Comments

@egonw
Copy link
Collaborator

egonw commented Jul 10, 2022

Following the README which writes:

Download and install from source in development mode:

```shell
$ git clone https://github.com/cthoyt/pybacting
$ cd pybacting
$ pip install --editable .

... I get this error:

pybacting$ pip install --editable .
ERROR: File "setup.py" not found. Directory cannot be installed in editable mode: /home/egonw/var/Projects/hub/pybacting
(A "pyproject.toml" file was found, but editable mode currently requires a setup.py based build.)
@cthoyt
Copy link
Owner

cthoyt commented Jul 10, 2022

If you're using a modern version of python or pip, this should work. Try getting on py37+ and running pip install --upgrade pip and see if this persists

@egonw
Copy link
Collaborator Author

egonw commented Jul 10, 2022

$ dpkg -l python3 python3-pip
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name           Version          Architecture Description
+++-==============-================-============-=========================================================================
ii  python3        3.9.2-3          amd64        interactive high-level object-oriented language (default python3 version)
ii  python3-pip    20.3.4-4+deb11u1 all          Python package installer

@cthoyt
Copy link
Owner

cthoyt commented Jul 10, 2022

pip has year-based versioning, so indeed you have a 2+ year old version of pip (i.e., the 20 in 20.3.4 corresponds to 2020). I'm pretty content continuing to not support this, considering that even older versions of python can also upgrade to the most recent versions of pip.

@egonw
Copy link
Collaborator Author

egonw commented Jul 10, 2022

Got it!

@egonw egonw closed this as completed Jul 10, 2022
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