Opened 2 months ago

Closed 2 months ago

#69554 closed defect (invalid)

python inconsistency

Reported by: kendmil Owned by:
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: xv

Description (last modified by ryandesign (Ryan Carsten Schmidt))

when I run sudo port install xv I end up with the error message

Error: Requested variants "+python311" do not match those the build was started with: "+python39".
Error: Please use the same variants again, or run 'port clean xorg-xcb-proto' first to remove the existing partially completed build.

My default python (the python on my PATH) was python3.11. I changed it to python3.9 but I still got the same error message. I don't really know my way around python so I'm likely doing something dumb, in which case I could use advice on how to fix it. Thank you.

Attachments (1)

main.log (5.9 KB) - added by kendmil 2 months ago.

Download all attachments as: .zip

Change History (5)

Changed 2 months ago by kendmil

Attachment: main.log added

comment:1 Changed 2 months ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)

comment:2 Changed 2 months ago by ryandesign (Ryan Carsten Schmidt)

The default python on your PATH is for your convenience outside of MacPorts. It's irrelevant to MacPorts.

Solve the problem by running sudo port clean xorg-xcb-proto.

comment:3 Changed 2 months ago by kendmil

Thank you! (It worked.)

comment:4 Changed 2 months ago by ryandesign (Ryan Carsten Schmidt)

Resolution: invalid
Status: newclosed

Great! If you have other questions about how to use MacPorts, the macports-users mailing list is a good place to ask.

Note: See TracTickets for help on using tickets.