Conda Overriding Pip-Installed Elasticsearch Version

I'm currently working on a project that requires me to use Elasticsearch version 7.0.2; however, though the pip-installed version of Elasticsearch is 7.0.2, when I check the version in my Jupyter notebook, it still says 8.1.2 -- I think the Conda version of Python is overriding this. How can I fix this?

Output from pip show elasticsearch in terminal:

Name: elasticsearch
Version: 7.0.2
Summary: Python client for Elasticsearch
Home-page: https://github.com/elastic/elasticsearch-py
Author: Honza Král, Nick Lang
Author-email: honza.kral@gmail.com, nick@nicklang.com
License: Apache License, Version 2.0
Location: c:\users\14794\appdata\local\programs\python\python37\lib\site-packages
Requires: urllib3
Required-by: elasticsearch-dsl

Output from pip show elasticsearch in Jupyter notebook:

Name: elasticsearch
Version: 8.1.2
Summary: Python client for Elasticsearch
Home-page: https://github.com/elastic/elasticsearch-py
Author: Honza Král, Nick Lang
Author-email: honza.kral@gmail.com, nick@nicklang.com
License: Apache-2.0
Location: c:\users\14794\anaconda3\lib\site-packages
Requires: elastic-transport
Required-by: 
Note: you may need to restart the kernel to use updated packages.

Elasticsearch version 7.0 is EOL and no longer supported. Please upgrade ASAP.

(This is an automated response from your friendly Elastic bot. Please report this post if you have any suggestions or concerns :elasticheart: )

Solution: created a new conda environment altogether and installed the correct versions there.