I have a problem where I couldn't find superset installation folder after I installed superset from this link https://superset.incubator.apache.org/installation.html
Where is the folder?
I installed Superset in the Anaconda base environment (on Ubuntu). The install files are in:
~/anaconda3/lib/python3.7/site-packages/superset
This of course depends on the location of your Anaconda installation. So it would be:
~/anaconda_installation_location/lib/python3.7/site-packages/superset
I installed the Apache Superset using python and the virtualenv. For me, I found the superset files in :
/usr/local/lib/python3.4/dist-packages/superset/
Also, the frontend assets were found in :
/usr/local/lib/python3.4/dist-packages/superset/static/assets/src/
I hope this helps.
In addition to the other answers, here's the path on Windows you can find superset at -
C:\Users\<username>\AppData\Local\Programs\Python\Python39\Lib\site-packages\superset
Related
I have install correctly the Apache Superset on my machine. My problem is that I can;t find the folder superset-ui or superset front-end to customize my charts. I see only .py files.
Has anyone an idea about this? I'm new in superset and generally in programming.
I have found that I need to install superset-ui through npm. Should I need to put this github file into superset file into my machine?
Have you tried the installation using docker? All UI related views can be found in superset-frontend directory
See the screenshot below of my installed superset directory structure.
Let me know if this helps.
I have been struggling to find the source code of superset package when I install it in virtual environment. I followed superset installation guide and then proceeded via virtual env.
Here are my virtual environment files:
I thought it will be in site-packages and so I navigated there also but found this (for both lib and lib64 folder):
Similarly for lib64:
Unlike the github file, there's no superset-frontend for customization as well. Does anyone know where can we locate these superset files?
You probably have the compiled version, a binary file, as follows: venv/bin/superset. So when you use superset, it runs an optimized executable. The source files are at venv/lib/python3.6/site-packages/superset/. The pip install apache-superset route is a quick out-of-the-box version of the install, it's not meant for customizing, so you'll change stuff but you won't see it reflected.
If you want to customize superset you have to clone the github repo and follow these instructions for installation, which involve installing superset in editable mode! They explain how to install and run the frontend for dev work too. Don't skip the OS Dependencies part, I did the first time I installed it and you'll waste time at the long run!
If you are sure it was installed in a virtual environment it should be under envs/env/lib/python3.6/site-packages/superset. If it doesn't exist there then it was installed in another location, please check and confirm
On CentOS7 without GUI, when trying to install an install4J app, it uses the install folder "/usr/local" and I see in logs that sys.installationDir equals "/usr/local"
On other distro (debian), it seems equals to "/opt"
However if I use a CentOS with a GUI, it chooses the "/opt" folder
Do you know why?
Thanks in advance
Cheers
Edit: I'm using install4j 7.0.10
If it exists, the installer prefers /opt to /user/local for the standard installation directory.
I installed "StarCluster" using the terminal on my MacOs by following instructions from the link provided below. Now, I need to edit the configuration file to add my AWS credentials. However, I am not sure which folder "StarCluster" is installed on my hard drive. Does anyone know how to locate the folder ? I would appreciate your help.
http://star.mit.edu/cluster/docs/latest/installation.html
According to the easy-install docs:
By default, packages are installed to the running Python installation's site-packages directory, unless you provide the -d or --install-dir option to specify an alternative directory, or specify an alternate location using distutils configuration files.
Here's a guide to finding your site-packages directory.
I am trying to find the file Django admin but I can't find it. What command can I use to find where this is located? Thanks.
P.S I am using windows 10
Did you install django according to the documentation? In that case, modules installed via pip (that includes django, which in turn includes the admin) will reside in %USERPROFILE%\Envs, with %USERPROFILE% being %SystemDrive%\Documents and Settings\{your username}
From your terminal, type:
python -c "import django; print(django.__path__)"