0

I aim to use the 'drama' python package [link].

I installed 'drama' using PIP (when tried to instal using PIP3 I get an error that pip3 is not defined). I am running Python 3.7 in Spyder.

The package confirms it is installed but a kernel restart may be required. I restarted the kernel.

When I run the example showed in link:

from drama import oscar 
results = oscar.run(sma=[6500, 6550],parallel=False)

I get the following error:

RuntimeError: Can't find DRAMA installation configuration file. A reinstallation of DRAMA 3.0.4 should fix it.

I double checked and drama is listed when I check pip list.

Any ideas on what I could try to solve this issue?

Thanks,

Alex
  • 13
  • 2
  • If your PIP command is associated with python2, and you're running python3, it won't find it. Try installing with pip3 again - just installed on my linux machine and it's worked fine. – Luke Jul 21 '21 at 19:42
  • Thank you @Luke. I am struggling to instal pip3. Strangely I have python 3.7 but pip3 seems to be unavailable. Once I use pip3 I will report if it solved the issue. (first time installing an outside package) Thanks – Alex Jul 21 '21 at 20:22
  • What operating system are you using? – Luke Jul 22 '21 at 21:29
  • I am on macOS 11.4. – Alex Jul 23 '21 at 22:47

0 Answers0