d2jsp
Log InRegister
d2jsp Forums > Off-Topic > Computers & IT > Programming & Development > Python
Add Reply New Topic New Poll
Member
Posts: 7,470
Joined: Jul 24 2009
Gold: 0.00
Aug 19 2022 05:31am
Small problem

When I use pip install package from terminal the package gets installed. > When I import package, the package cannot be found.

But using Interpreter settings and manually installing packages from pip allows the package to be imported in my code :wacko:

This post was edited by ShaunfX on Aug 19 2022 05:33am
Member
Posts: 22,237
Joined: Dec 6 2008
Gold: 2,971.74
Trader: Mediator
Aug 19 2022 09:16am
sounds like you're using two different interpreters, probably one in a venv and one in your pc python directory
Member
Posts: 7,470
Joined: Jul 24 2009
Gold: 0.00
Aug 19 2022 10:22am
Quote (Candyzcanes @ Aug 20 2022 01:16am)
sounds like you're using two different interpreters, probably one in a venv and one in your pc python directory



that fixed it

thanks :rofl:
Go Back To Programming & Development Topic List
Add Reply New Topic New Poll