MontrealTradingGroup / freqtrade

Simple High Frequency Trading Bot for crypto currencies
GNU General Public License v3.0
70 stars 61 forks source link

ImportError: cannot import name 'OperationalException' #16

Open ranMail opened 1 year ago

ranMail commented 1 year ago

Step 1: Have you search for this issue before posting it?

If you have discovered a bug in the bot, please search our issue tracker. If it hasn't been reported, please create a new issue.

Step 2: Describe your environment

Step 3: Describe the problem:

When I try to run "python3 ./freqtrade/main.py -c config.json" inside the virtual environment I get the following error.

Traceback (most recent call last): File "./freqtrade/main.py", line 11, in from freqtrade import OperationalException ImportError: cannot import name 'OperationalException'

Explain the problem you have encountered

Steps to reproduce:

  1. _____open terminal
  2. _____cd freqtrade
  3. _____source .env/bin/activate
    1. _____ python3 ./freqtrade/main.py -c config.json

Observed Results:

Relevant code exceptions or logs:

I will need help on this as I am very new to Linux as well as Python.

  // paste your log here

As will need help with this.

I have tried to view the config.json file for any compatibility issues as well as the main.py however I am unable to see any issues there.

Distributor ID: Ubuntu Description: Ubuntu 18.04.6 LTS Release: 18.04 Codename: bionic

Using an older version of Ubuntu due to not been able to get freqtrade to run on the new version of Ubuntu.