[Eric] Cannot start Eric installed with PIP

Orestes Mas orestes at tsc.upc.edu
Sun May 5 12:33:29 BST 2019


Hello,

Following your announcement (that Eric is available through PIP) I 
wanted to try it so I did the usual steps. I'm on a linux system (debian 
testing).

1) Create a virtual python environment

     python3 -m venv EricIDE

2) Activate it

     source EricIDE/bin/activate

3) Install eric on it

     pip install eric-ide

4) Start Eric

     eric6

At this point an exception is thrown stating that Eric cannot find the 
eric6config module:

(EricIDE) orestes at tintin:~/Devel/EntornsPython$ eric6
Error in sys.excepthook:
Traceback (most recent call last):
   File "<frozen importlib._bootstrap>", line 983, in _find_and_load
   File "<frozen importlib._bootstrap>", line 967, in 
_find_and_load_unlocked
   File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
   File "<frozen importlib._bootstrap_external>", line 728, in exec_module
   File "<frozen importlib._bootstrap>", line 219, in 
_call_with_frames_removed
   File 
"/home/orestes/Devel/EntornsPython/EricIDE/lib/python3.7/site-packages/eric6/Utilities/__init__.py", 
line 80, in <module>
     from eric6config import getConfig
ModuleNotFoundError: No module named 'eric6config'

Original exception was:
Traceback (most recent call last):
   File "/home/orestes/Devel/EntornsPython/EricIDE/bin/eric6", line 10, 
in <module>
     sys.exit(main())
   File 
"/home/orestes/Devel/EntornsPython/EricIDE/lib/python3.7/site-packages/eric6/eric6.py", 
line 303, in main
     from Toolbox import Startup
   File 
"/home/orestes/Devel/EntornsPython/EricIDE/lib/python3.7/site-packages/eric6/Toolbox/Startup.py", 
line 25, in <module>
     from eric6config import getConfig
ModuleNotFoundError: No module named 'eric6config'

I've searched the sources and the only modules with "config" in its name 
are "eric6_configure.py" and 
ThirdParty/EditorConfig/editorconfig/__init__.py

Is perhaps something missing?

Thanks,

Orestes.




More information about the Eric mailing list