Replies: 2 comments 4 replies
-
I tried pip install pytest in my shell, but it told me the request is already satisfied. |
Beta Was this translation helpful? Give feedback.
0 replies
-
The problem could be if you installed brownie using pipx instead of just pip, try to removing brownie and install it just with pip: |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I follow the steps in the video to write the test.py file, and the error information is below.
INFO: Could not find files for the given pattern(s).
Brownie v1.19.3 - Python development framework for Ethereum
File "E:\Python\lib\site-packages\brownie_cli_main_.py", line 64, in main
importlib.import_module(f"brownie.cli.{cmd}").main()
File "E:\Python\lib\site-packages\brownie_cli\test.py", line 61, in main
return_code = pytest.main(pytest_args, ["pytest-brownie"])
File "E:\Python\lib\site-packages_pytest\config_init.py", line 143, in main
config = prepareconfig(args, plugins)
File "E:\Python\lib\site-packages_pytest\config_init.py", line 315, in prepareconfig
pluginmanager.consider_pluginarg(plugin)
File "E:\Python\lib\site-packages_pytest\config_init.py", line 660, in consider_pluginarg
self.import_plugin(arg, consider_entry_points=True)
File "E:\Python\lib\site-packages_pytest\config_init_.py", line 705, in import_plugin
raise ImportError(
File "E:\Python\lib\site-packages_pytest\config_init_.py", line 703, in import_plugin
import(importspec)
ImportError: Error importing plugin "pytest-brownie": No module named 'pytest-brownie'
Beta Was this translation helpful? Give feedback.
All reactions