Open gabeschoenbach opened 1 year ago
Once Jack mentioned that my pandas version (1.4
) was likely the issue, Emarie suggested fully deactivating my conda environment (i.e. running conda deactivate
twice) to go from conda environment X to (base) to nothing, and then running conda activate X
to get into my environment X, which has pandas version 1.5.3
installed. After being in environment X, I ran poetry run jupyter lab
to get to a Python environment and now this all works!
Just saw this after the other environment comments. Make sure you deactivate conda entirely and then poetry install
before using poetry
(or any other python package manager).
conda
doesn't play nice with the rest of the Python ecosystem, so standard tools like pip-tools
, poetry
, pdm
envs all work nicely together, but conda
frequently does it's own completely different thing. Typically only one version of an env. can be active at a time, but this issue (and likely all the other environment issues you're having) likely stem from conda
overriding locally installed versions like this.
Ah that makes a lot of sense about conda, thanks James! I'll do that going forward and hopefully much will be fixed.
After running poetry as instructed in the
README
I tried running the following code:and I get the following error: