I have installed prefect 1.0.0 and was previously ...
# prefect-server
I have installed prefect 1.0.0 and was previously running 0.15.2. For both versions I am getting the following error when trying to run my workflow via the following:
python3 workflow.py
My workflow only has one import:
import prefect
Any thoughts on why this might be? Any assistance would be appreciated
Hey @Austin Vecchio, could you move the traceback to the thread when you get the chance? this looks like a version mismatch between Prefect and Bitbucket. Do you need bitbucket?
Nah I guess prefect just installs it. What is your bitbucket version?
pip show atlassian-python-api
I take it back it is not required since it’s imported as a try except here. If you don’t need it I would just uninstall that library and if you do, we need to align versions
Traceback (most recent call last): File "workflow.py", line 4, in <module> from prefect import task, Flow File "/home/tophat/anaconda3/lib/python3.8/site-packages/prefect/__init__.py", line 9, in <module> import prefect.triggers File "/home/tophat/anaconda3/lib/python3.8/site-packages/prefect/triggers.py", line 48, in <module> from prefect.engine import signals File "/home/tophat/anaconda3/lib/python3.8/site-packages/prefect/engine/__init__.py", line 7, in <module> from prefect.engine.flow_runner import FlowRunner File "/home/tophat/anaconda3/lib/python3.8/site-packages/prefect/engine/flow_runner.py", line 15, in <module> from prefect.core import Edge, Flow, Task File "/home/tophat/anaconda3/lib/python3.8/site-packages/prefect/core/__init__.py", line 4, in <module> from prefect.core.flow import Flow File "/home/tophat/anaconda3/lib/python3.8/site-packages/prefect/core/flow.py", line 43, in <module> from prefect.storage import Storage, get_default_storage_class File "/home/tophat/anaconda3/lib/python3.8/site-packages/prefect/storage/__init__.py", line 13, in <module> from prefect.storage.bitbucket import Bitbucket File "/home/tophat/anaconda3/lib/python3.8/site-packages/prefect/storage/bitbucket.py", line 17, in <module> BITBUCKET_CLOUD_RETRY = Retry( TypeError: __init__() got an unexpected keyword argument 'allowed_methods'
Moved as requested. Odd. WARNING: Package(s) not found: atlassian-python-api It appears as though it wasn't installed. I wonder if I just need to move to a new conda environment and restart.
There is something weird going on in my base environment. Some confliction of packages. This does not occur when I created a new environment. Apologies for the troubles. And thanks for the information
No worries!