what's the best path to install my binaries on osx? [closed] - python

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 7 years ago.
Improve this question
I'm writing an installer and want to install the files to a standard location. The files run a number of scripts and use a launchctl job to kick them off. The question is where should I install the files? /Library or /System or somewhere else?
Thanks

Related

How to install Request Module in Python [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 9 days ago.
Improve this question
Please help, I have tried to install the requests module in my terminal and can't get it to work. Attached is a picture of my code I'm working with and the terminal
I tried pip install requests

Does this mean i have two installations of python? Should i delete the global one? I only use conda enviroment [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 6 months ago.
Improve this question
This is very confusing for a newbie
Everything here looks normal. That global one appears to be the macOS system installation - leave it alone, don't use it or try to delete. For each project or project-type create a Conda environment.

Creating an executable from a python script [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 6 years ago.
Improve this question
I am using Python 3.4 and I wish to convert my .PY file into a single .EXE file. I have heard of Py2exe, cx_freeze and Pyinstaller. Are any of these better than the others?
Also, my Python source code calls upon external resources, such as Firefox. How do you ensure that the functionality of Firefox is included, given that the person I am handing the app to might not even have it installed on their PC?

Python on Windows: How to mark a directory as a system folder [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
Is there a way in Python 2.7 on Windows to mark a directory as a system folder?
(PS: I found the solution, see the answer below)
Here is what worked:
import win32api, wind32con
mydir ="Directory path goes here"
win32api.SetFileAttributes(mydir,win32con.FILE_ATTRIBUTE_SYSTEM)

How to install python 2.7 in linux in local directory without admin rights? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 7 years ago.
Improve this question
I want to install python 2.7 in local directory in linux but I don't have admin rights. I need help regarding to this.
Try: ./configure prefix=/x/y and then make install.
Then add the path /x/y/bin in .bashrc as:
PYTHONPATH=/home/something/python/bin
export PATH=$PYTHONPATH:$PATH

Categories