Building lkpy on OS X? #353
-
I cannot get lkpy to build. Any ideas appreciated. This is not high priority, I'm just trying it for fun. I've used python a lot, but never conda. Below, I'll describe what I did, and the errors I saw. I'm on OS X 12.7.1 (Monterey) on an Intel macbook pro. I cloned lkpy. I looked at https://github.com/lenskit/lkpy/wiki/DevWorkflow. It requires conda, so I installed miniconda (see https://docs.conda.io/projects/miniconda/en/latest/), because I don't have tons of disk space and I don't know what anaconda would install. I ran
That seemed to do something reasonable, I don't have the log. I have python 3.9:
so I ran:
It couldn't find
Tried
I thought maybe my conda setup was thin, so I went and read https://github.com/conda-forge/binpickle-feedstock/blob/main/README.md
That did nothing, so I tried python 3.10:
I do have python 3.10 in there:
but it's not my default:
I don't think I should drop /opt/local/bin from my path? It doesn't look like it's using it anyway. Here's my
Searching for
Thoughts? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
First, to use a Conda environment, use
That adds the Conda environment programs to your path. Second, though: the
to get a full LensKit dev environment with Python 3.11. |
Beta Was this translation helpful? Give feedback.
First, to use a Conda environment, use
conda activate
(if Conda was correctly installed to be available in your shell, which is the default):That adds the Conda environment programs to your path.
Second, though: the
DevWorkflow
page is out of date for the currentmain
branch — I have simplified how the dev workflow works, but haven't updated the documentation yet. Thelkbuild
command and entire build-tools project is going away — you can now just do:to get a full LensKit dev environment with Python 3.11.