From: too many arguments

Login successful.

from datasets import load_dataset

from: too many arguments

This uses /usr/bin/from  
The other "from" installed (not an executable) is in   
/var/lib/dpkg/alternatives/  
Am I missing the package that the correct "from" is in?  

My system is:  
Ubuntu 24.04.2 LTS  
transformers-cli env  
- `transformers` version: 4.46.3  
- Platform: Linux-6.11.0-17-generic-x86_64-with-glibc2.10  
- Python version: 3.8.5  
- Huggingface_hub version: 0.29.1  
- Safetensors version: 0.5.2  
- Accelerate version: 1.0.1  
- Accelerate config: 	not found  
- PyTorch version (GPU?): 2.4.0+cu121 (True)  
- Tensorflow version (GPU?): not installed (NA)  
- Flax version (CPU?/GPU?/TPU?): not installed (NA)  
- Jax version: not installed  
- JaxLib version: not installed  
- Using distributed or parallel set-up in script?: <fill in>  
- Using GPU in script?: <fill in>  
- GPU type: NVIDIA GeForce GTX 1650
1 Like

Python can malfunction just from the folder name or file name. Is there a “from" folder or “from.py”?

They were just the two obtained using find

1 Like

I just ran find again and found another from in
/etc/alternatives/
but it also gave “too many arguments”

1 Like

Perhaps not Python, but Python notebook? (jupyter, pylint, etc.)

It’s not a notebook.
I tried putting datasets and .local/bin on the PATH but it still didn’t work.
I also tried
python3 -c from datasets import load_dataset
File “”, line 1
from
^
SyntaxError: invalid syntax