Score:1

how do i create a copy or install a non-virtualenv copy of python on ubuntu?

zw flag

I know how to create virtual environments, but I'm dealing with software that is able to detect that it is being given a virtual environment, and it refuses to run. It also won't accept the system python because that uses PEP 668 now so the software complains of being unable to install what it wants.

So I need to create a full separate copy of python on my system that is indistinguishable from the real deal, and pass its path to the software as a python interpreter.

Raffa avatar
jp flag
"software that is able to detect that it is being given a virtual environment, and it refuses to run." ... Can you please elaborate on that (how you run it, how does it detect a virtual environment(*if you can tell*) and what messages/errors you get" ... Please see if this helps https://askubuntu.com/a/1459030 ... Also if you are using Ubuntu 23.04 or other, please add the version to your question.
moe fear avatar
zw flag
solved. I just downloaded the source from the python website, ran ./configure, make, and make install
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.