3

I am trying to install CPLEX for python from the setup.py file existing in ILOG directory. I am working on windows 8 32bit and python 2.7. I am using this command for installing:

python setup.py install

But I get this error,

error: could not create 'build': access is denied. 

Is it due to the permission? How can I fix this? thanks

m.akbari
  • 572
  • 8
  • 22

1 Answers1

7

I have no idea about CPLEX but processes in windows8 usually don't get write access to certain directories.

You could try to make your call "python setup.py install" in a cmd started as adminstrator, for example: windows key, search "cmd", right click, "run as adminstrator" ...

Kuishi
  • 157
  • 4
  • I can confirm that this is the correct solution. When opening the command prompt or anaconda prompt on windows, right-click on 'Run as Administrator'. – John Curry May 23 '20 at 19:41