BookmarkSubscribeRSS Feed
filbert2021
Calcite | Level 5

Hi,

 

I use this thread as referrence on how to setting up python in Enterprise Miner.

https://communities.sas.com/t5/SAS-Communities-Library/Tip-How-to-execute-a-Python-script-in-SAS-Ent...

 

I have few questions on the setting up:

 

For compiling the provided java classes, does that mean I put the SASJavaExec.java file inside the bin folder?

filbert2021_0-1663164488369.png

 

Another enquiry is on setting the java classpath.

What software do i use to edit the sasv9.cfg file and set the classpath?

filbert2021_1-1663164669243.png

I tried edit it by opening it with notepad but it gives me error mentioning i don't have the permission to edit it.

 

I installed the SAS Enterprise Miner on my personal laptop.

 

Regards,

Filbert

3 REPLIES 3
RadhikhaMyneni
SAS Employee

Hi Filbert, 

 

The java file(s) (SASJavaExec.java) should be in src/dev directory and when you compile using "javac src/dev/* -d bin" command, the executable will go into bin directory.

 

For your second question, since it is a personal desktop you probably can open the sasv9.cfg file as a administrator - on Windows you typically do this by right-clicking on the file and selecting Run as Administrator.

 

Hope this helps,

Radhikha

filbert2021
Calcite | Level 5

Hi Radhikha,

 

"javac src/dev/* -d bin" command -> where do i run this command?

 

As for run as administrator, when I open it. It's opened by notepad sothere is no option for me to run it as administrator.

Hence, I am checking if what kind of software to open the sasv9.cfg file.

 

Regards,

Filbert

RadhikhaMyneni
SAS Employee

Hi Filbert,

 

You run the javac command from the directory that contains the src directory. So in the example it is C:\SGF2015\OpenSrcIntegration.

 

To run as administrator, don't double-click and open the file with default editor but see if you can right-click on the file (from file explorer) and select Run as Administrator. If that does not work, try right-clicking on windows command prompt and Run as Administrator and then go to the directory where the file is and then open using notepad. The sasv9.cfg is a text file so once you have access, you should be able to edit it with notepad.

 

Radhikha

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

Register now!

How to choose a machine learning algorithm

Use this tutorial as a handy guide to weigh the pros and cons of these commonly used machine learning algorithms.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 3 replies
  • 470 views
  • 0 likes
  • 2 in conversation