Some of these pictures and descriptions may give away plot details that you might not want to know before watching the film.
This is a movie based on a book published in 1985 by William S. Burroughs. It's a sequel to his book Junkie, published in 1953 under the name William Lee. The movie follows William Lee (Daniel Craig) an alienated and disillusioned American queer drug addict who lives in Mexico City in the 1950s. He's a fictionalized stand-in for Burroughs. Lee develops a serious relationship with Eugene Allerton (Drew Starkey) an American GI. They travel to the Amazon jungle to look for a drug they want to try called yagé, also called ayahuasca, because they think it will help them develop telepathy.
The first snake scene takes place after the men hike through the jungle and arrive at the hut of a botanist named Dr. Cotter (Lesley Manville). Lee knocks on her door, not knowing that there is a snake above it. When the snake lunges at the men with its mouth wide open, they fall onto the ground, screaming. The snake then flies off the building at them and they scramble backwards, continuing to scream. The snake crawls towards them, but before it can reach them, Dr. Cotter comes out of the door and makes the snake crawl away. Then we see the two men in the hut at a dinner table and Dr. Cotter apologizes for the snake, saying that it's there for security.
The viper is CGI. It's a typical animated movie monster with an elnarged head and giant fangs, that's hissing and gaping all the time. Sillier than that cliché is the idea of training a venomous snake to use as a security guard. It's cartoonish and absurd, but after we learn that Dr. Cotter considers herself to be a witch, it's apparent that she must have bewitched the snake to work as her security guard. I always laugh at such preposterous snake scenes, but I suspect it was meant to be a mix of horror and comedy for everyone, too.
After Lee and Allerton split up, we see Lee back in Mexico City, in a dream or hallucination in which he walks into a room and sees a snake on the floor, eating its own tail and crying a large tear.
The second snake is also CGI. It's made to look like a San Francisco Gartersnake, which is found on the San Francisco peninsula. Why? San Francisco has a long connection to drug and gay cultures, but almost no viewers would know that, so they probably just like the way it looked. It has been called one of the most beautiful snakes. In the real world, snakes don't cry tears, but it's completely allowed when we're seeing a character's hallucinogenic inner reality, as we are here.
A snake eating its own tail is an ancient symbol that is known as the Ouroboros, which is said to represent infinity and the eternal cycle of life, death, and rebirth. It symbolizes the unity of opposites and the idea that creation and destruction are the same continuous process.