Search code examples
python-3.xpipoctaveoct2py

Error when trying to install oct2py package


I am trying to install to oct2py package to import in my python script. However whenever I run the command pip install oct2py I get the following error:

Fatal error in launcher: Unable to create process using '"c:\python37\python.exe"  "C:\Program Files\Python37\Scripts\pip.exe" ': file cannot be found.

How can I install oct2py?


Solution

  • Found the answer

    Deinstalled python and reinstalled it. I checked the environment variable and changed it from this one : 'C:\Program Files\Python39' to this one 'C:\Users\lsee\AppData\Local\Programs\Python\Python39'.