"Python packaging tools not found" when using pyenv

I created a venv outside of PyCharm:

pyenv virtualenv 3.10.6 extract-section-detection-3.10.6
echo "extract-section-detection-3.10.6" > .python-version

Then I install my dependencies with `pip install -r requirements.txt`, and pip freeze shows it:

$ pip freeze
cachetools==5.3.0
certifi==2022.12.7
charset-normalizer==3.0.1
google-api-core==2.11.0
google-auth==2.16.1
google-cloud-core==2.3.2
google-cloud-storage==2.5.0
google-cloud-vision==3.1.4
google-crc32c==1.5.0
google-resumable-media==2.4.1
googleapis-common-protos==1.58.0
grpcio==1.51.3
grpcio-status==1.51.3
idna==3.4
proto-plus==1.22.2
protobuf==4.22.0
pyasn1==0.4.8
pyasn1-modules==0.2.8
requests==2.28.2
rsa==4.9
six==1.16.0
urllib3==1.26.14

But PyCharm can't see them:

 

Note the "Python packaging tools not found". My only guess is that PyCharm isn't using the pip shim:

$ which pip
/home/opyate/.pyenv/shims/pip

How do I fix this?

1
1 comment

Hello, 

Unfortunately, pyenv support is not yet delivered. Please vote for the corresponding issue on YouTrack.

0

Please sign in to leave a comment.