Issue importing ER

I’m attempting to locally train a Yolov8 model using a roboflow hosted model.

Windows 10 Pro

(starseg-lab) C:\Users\wlwee\Downloads>pip list
Package Version


certifi 2022.12.7
chardet 4.0.0
charset-normalizer 3.1.0
colorama 0.4.6
contourpy 1.0.7
cycler 0.10.0
filelock 3.10.7
fonttools 4.39.3
idna 2.10
Jinja2 3.1.2
kiwisolver 1.4.4
MarkupSafe 2.1.2
matplotlib 3.7.1
mpmath 1.3.0
networkx 3.0
numpy 1.24.2
opencv-python 4.7.0.72
packaging 23.0
pandas 1.5.3
Pillow 9.5.0
pip 23.0.1
psutil 5.9.4
pyparsing 2.4.7
python-dateutil 2.8.2
python-dotenv 1.0.0
pytz 2023.3
PyYAML 6.0
requests 2.28.2
requests-toolbelt 0.10.1
roboflow 1.0.2
scipy 1.10.1
seaborn 0.12.2
sentry-sdk 1.18.0
setuptools 65.5.0
six 1.16.0
sympy 1.11.1
thop 0.1.1.post2209072238
torch 2.0.0
torchvision 0.15.1
tqdm 4.65.0
typing_extensions 4.5.0
ultralytics 8.0.59
urllib3 1.26.15
wget 3.2

When I attempt to import roboflow I get the below error.

(starseg-lab) C:\Users\wlwee\Downloads>python
Python 3.11.2 (tags/v3.11.2:878ead1, Feb 7 2023, 16:38:35) [MSC v.1934 64 bit (AMD64)] on win32
Type “help”, “copyright”, “credits” or “license” for more information.

import roboflow
Traceback (most recent call last):
File “”, line 1, in
File “C:\Users\wlwee\starseg-lab\Lib\site-packages\roboflow_init_.py”, line 10, in
from roboflow.config import API_URL, APP_URL, DEMO_KEYS, load_roboflow_api_key
File “C:\Users\wlwee\starseg-lab\Lib\site-packages\roboflow\config.py”, line 44, in
API_URL = get_conditional_configuration_variable(“API_URL”, “https://api.roboflow.com”)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “C:\Users\wlwee\starseg-lab\Lib\site-packages\roboflow\config.py”, line 20, in get_conditional_configuration_variable
default=os.getenv(“HOME”) + “/.config/roboflow/config.json”,

        ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

TypeError: unsupported operand type(s) for +: ‘NoneType’ and ‘str’

I got the same error