#๐Ÿ”’ Github repo install with pip error

63 messages ยท Page 1 of 1 (latest)

azure geyser
hollow mirageBOT
#

@azure geyser

Python help channel opened

Remember to:

  • Ask your Python question, not if you can ask or if there's an expert who can help.
  • Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
  • Explain what you expect to happen and what actually happens.

:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.

sharp niche
azure geyser
#

And how i can fix it?

sharp niche
#

Also try running with pip --use-pep517

azure geyser
sharp niche
#

Yeah does that work?

azure geyser
#

Nope

sharp niche
#

What happened?

azure geyser
#

The same message

sharp niche
#

Show the full output?

azure geyser
#

I have installed Numpy and can find it in the packages but how can it not be found during installation

sharp niche
#

Well there's supposed to be an isolated environment that's created to install the build deps in

#

But it's finding pybind11 etc

#

Try adding a pyproject.toml file to a fork with:

[build-system]
requires = ["wheel", "setuptools", "oldest-supported-numpy"]

in

azure geyser
azure geyser
sharp niche
sharp niche
azure geyser
#

And then try to install it again?

#

Because it doesnt work

sharp niche
#

Yes

#

What happened?

#

I'll need to see the output

azure geyser
#

I dont know whether the pyproject file i created is used

sharp niche
#

It looks like you didn't install from your fork

azure geyser
#

Thats correct?

sharp niche
azure geyser
#

Im not the owner of the repo i just want to use it

sharp niche
#

Yeah the project is broken

azure geyser
#

And i dont have contact to the owner thats the problem

sharp niche
#

You don't need it

#

You can make a fork that works

#

Then you can make a PR and the original author may even merge it

azure geyser
#

Yes i know i know the author thats not the problem i could tell him directly but at the moment he isnt here

#

And i try to run it but if u say its broke i can go ahead with it

sharp niche
#

Yeah

azure geyser
#

But we can't manage to get it to work somehow?

sharp niche
#

Yeah you'll need to make a fork though

azure geyser
#

So he can sees it and fix?

sharp niche
#

Well so you can test the fix and then he can merge it in

#

It's how GitHub works

azure geyser
#

Yes i want to try all locally first before i fork it

#

How can i force that while installation my pyproject.toml is used?

sharp niche
azure geyser
#

Does this command "pip install git+https://github.com/danielriege/tinycar_lib.git" use your fork?

sharp niche
#

No

azure geyser
#

I tried your fork it doesnt change anything

sharp niche
#

You'll want pip install https://github.com/graingert/tinycar_lib/archive/refs/heads/patch-1.zip

#

What was the output?

azure geyser
#

The same again

#

I don't want to take up too much of your time

#

Ill try to contact him thanks a lot

sharp niche
#

What was the output it can't be exactly the same

azure geyser
#

nvm it worked lol

#

I am so grateful to you

#

Ill tell him to change it so it can work

hollow mirageBOT
#
Python help channel closed

This help channel has been closed and it's no longer possible to send messages here. If your question wasn't answered, feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.