10

Trying to install python3.7 for one fucking dynamic library for the past 3 hours. Built from multiple 3.7.x sources, tried altinstall, enable-shared, install, with/without optimizations, tried virtualenv which is absolutely fucking irrelevant but I tried.
Now I'm just asking someone who has it to send me the worthless soup of voltage fluctuations

oh and fuck python. or people that use it irresponsibly. im not in the right mind to distinguish

Our profs: you are CSE students, you must be familiar with Linux
Their Linux: Ubuntu 20.04 LTS
Their tools: working for them

Comments
  • 2
    I've found pyenv fairly usable (I fully agree with the "ok how the fuck do I get the right thing", pyenv seemed to have solved it). The setup needs a bit of stuff added to a bashrc file (assuming you're on Linux), and there's a plugin that just finds the "latest".

    Link: https://github.com/pyenv/pyenv
  • 0
    And this is the plugin for "latest"

    https://github.com/momo-lab/...
  • 1
    @atheist I actually do use pyenv... for a different academic project. For this one, the toolchain we're using needs this one super special rainbow colored piece of shit called libpython3.7m.so.1.0

    Tried pyenv also, didn't work, neither with the enable shared option
  • 1
    @amorphousjax Ah shit, fair enough. My use case is "I'm writing python for work and don't give a fuck what version as long as its recent", so... Bit easier for me.
  • 3
    Update: I found it.

    Guess where it is sitting.

    /usr/local/lib

    When was this directory created?

    Right now. Like half an hour ago.

    What does it have?

    Nothing but python3.7 dynamic libraries and bin.

    I am now on my way to get the binary version of this library color printed, laminated and a nice huge sparkly frame to stick it on my door. Maybe I'll build a shrine around it, and then never leave my house and survive forever and forever be blessed in the glory of libpython3.7m.so.1.0

    sorry
  • 1
    Use anaconda. Thank me later.
  • 1
    @champion01 Always seemed intimidating to me (it's not a snake thing tho). Will definitely try once I get a new SSD
  • 1
    @amorphousjax I agree it’s a bit intimidating, but it’s much easier and less intimidating than managaing multiple versions of python imo.

    I dislike python btw
  • 2
    @champion01 I think anaconda works, but it's kinda bloated and a little confusing (still no idea why the - c conda-forge is needed. I get what it *does*, don't get why it's needed). And particularly if you're writing something to share, requiring that bloat is undesirable.
  • 1
    Brew, conda or docker can help you with the problem.
  • 2
    @atheist you are 100% right in all statements
Add Comment