uv icon indicating copy to clipboard operation
uv copied to clipboard

This confuses me

Open allendred opened this issue 6 months ago • 2 comments

Question

Python 3.12.8 (main, Dec 19 2024, 14:22:58) [Clang 18.1.8 ] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import pandas
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'pandas'
>>> ^D
➜  Desktop uv pip install --system pandas --break-system-packages
Using Python 3.13.3 environment at: /opt/homebrew/opt/[email protected]/Frameworks/Python.framework/Versions/3.13
Audited 1 package in 3ms
➜  Desktop```

### Platform

mac 15.5 arm

### Version

uv 0.7.3

allendred avatar May 14 '25 03:05 allendred

Please describe your problem, step-by-step what you expect and what you see instead, I can't follow along what confuses you.

konstin avatar May 14 '25 07:05 konstin

It seems that you're using two different versions of Python, the initial one is 3.12.8 while uv is installing Pandas to 3.13.3. Creating separate directories for projects and using uv init and different pyproject.toml files would be beneficial.

ethanc-ec avatar May 15 '25 12:05 ethanc-ec