Skip to content

python cannot find installed module #297

Open
@dberardo-com

Description

@dberardo-com

i have installed numpy using pip.
running python locally i can import it without problems, but when pyshell runs, then the python script cannot find the numpy module. the user running the nodejs process is the same as the user which has installed the packages.

packages are located under:

python -m site
sys.path = [
...
'/usr/local/lib/python3.11/site-packages',
]

how come ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions