Forum Archive

Missing dependencies

Cyferfontein

I keep on getting a missing dependency error. From what I can the dependencies are not missing. E.g. I am getting an error indicating that numpy is missing.

How do I fix this?

mikael

@Cyferfontein, I have not encountered a similar issue. Which package are you trying to install or use?

Always a good idea to include a full stack trace – that long list of cryptic info is often more revealing than you think.

Cyferfontein

@mikael, the trace:
Traceback (most recent call last):
File "/private/var/mobile/Containers/Shared/AppGroup/5BFAF8BC-3F1C-41C6-A555-E45537B9DC2E/Pythonista3/Documents/Test/Practice.py", line 2, in
import pandas
File "/private/var/mobile/Containers/Shared/AppGroup/5BFAF8BC-3F1C-41C6-A555-E45537B9DC2E/Pythonista3/Documents/site-packages-3/pandas/init.py", line 19, in
"Missing required dependencies {0}".format(missing_dependencies))
ImportError: Missing required dependencies ['numpy']

JonB

This is a very well known problem:

pandas does not work in pythonista. You cannot install it.

You may have also tried to install numpy, which is already installed and cannot be reinstalled. Go to your site-packages-3 and site-packages folder and delete any numpy folders you see.

Cyferfontein

@JonB, thank you. I don’t get the numpy error anymore.
Any idea when or if one might be able to use pandas in Pythonista?

ccc

https://github.com/omz/Pythonista-Issues/issues/1