Problem in python installation



  • This post is deleted!


  • @robotsandi said in Problem in python installation:

    Hello Sir,
    I am working on IO Rodeo Colorimeter Python version but due to some problem, it gives some error.
    (colorenv) robotsandi@robotsandi-K54C:~$ colorimeter-main
    Traceback (most recent call last):
    File "/home/robotsandi/colorenv/bin/colorimeter-main", line 4, in <module>
    import('pkg_resources').run_script('Colorimeter==0.1.0', 'colorimeter-main')
    File "/home/robotsandi/colorenv/lib/python3.5/site-packages/pkg_resources/init.py", line 661, in run_script
    self.require(requires)[0].run_script(script_name, ns)
    File "/home/robotsandi/colorenv/lib/python3.5/site-packages/pkg_resources/init.py", line 1448, in run_script
    exec(script_code, namespace, namespace)
    File "/home/robotsandi/colorenv/lib/python3.5/site-packages/Colorimeter-0.1.0-py3.5.egg/EGG-INFO/scripts/colorimeter-main", line 2, in <module>
    # EASY-INSTALL-SCRIPT: 'Colorimeter==0.1.0','colorimeter-main'
    File "/home/robotsandi/colorenv/lib/python3.5/site-packages/Colorimeter-0.1.0-py3.5.egg/colorimeter/init.py", line 1, in <module>
    ImportError: No module named 'colorimeter_serial'



  • @robotsandi

    It looks like you are using Python 3.5. This issue you are seeing is due to the differences between the Python 2 and Python 3. The colorimeter software is not yet compatible with Python 3. So in order to run it you will need to install Python 2.7 and then reinstall the colorimeter software and its dependencies.



  • sometimes a litlle thing makes the difference, thanks


Log in to reply