Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What Python is Pythonia Running #77

Open
bsaid97 opened this issue Mar 30, 2023 · 2 comments
Open

What Python is Pythonia Running #77

bsaid97 opened this issue Mar 30, 2023 · 2 comments

Comments

@bsaid97
Copy link

bsaid97 commented Mar 30, 2023

I keep getting ModuleNotFoundError: No module named 'geopandas'] even though it is installed on my current version of Python. How do I check what pythonia is using so I can change where it points to?

I tried to make a .env file and change the PYTHON_BIN to where I want it, but still nothing.

If I do:

const os = await python('os')
await os.system('which python')

I get the exact same result as I do in cmd, so I think they are pointing at the same place, however it cannot find that module geopandas.

Then I thought, let me uninstall numpy and see if it will give the same error after the uninstall. However after uninstalling, pythonia still found numpy even though it should have been deleted- so my conclusion is that it is running another version of Python installed somewhere else.

@extremeheat
Copy link
Owner

It's running python3, so you may need to check that you don't have a conflict there. Try running pip3 show numpy and check your python3 folder to see if it's polling from there

@ikb42
Copy link

ikb42 commented Feb 21, 2024

Not sure if you are having the same issue as I am see this #123

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants