Consider adding this directory to PATH [duplicate] - python

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
I need to add ~/bin directory in your path.
But I am not sure what the actual command for this is, I know it goes in my .bash_profile
Does anyone know this, or a tutorial on how to set up a new .bash_profile for a terminal on a new mac (UNIX)

Add this to .bash_profile:
export PATH="$PATH":~/bin
If you don't have a .bash_profile, just create it.

Related

Can I install Python 3.10.6 on D drive? [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
Is there any problem if I install Python 3.10.6 on my D drive? Because I am not OK to install on C drive.
Yes you can, but make sure you add the path variable properly. I believe the python installer asks you if you want to add it to PATH, if not then add the install location of python to your path variables. Add to PATH

I can't activate my virtual environment in pycharm [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 2 years ago.
Improve this question
I just made a virtual environment but trying to open it with
mypython\Scripts\activate
Can anybody tell me why this is not working?
In the picture you are actually trying with 'mypthon' and not 'mypython'. But as i understand it, the virtual environment you're trying to activate in your picture is actually in a folder called 'venv' and not 'mypython'. Therefore i think it could be that you instead should write
venv\Scripts\activate

Python package only working for root user not for others | Using linux suse [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 2 years ago.
Improve this question
I have installed Python package 'forcast' using root and it runs fine but all other Linux users wont be able to see this package or import it in code .
Please help me, i have checked /usr/lib/ all package are present.
Is it possible that users do not have permission to access the files? check the access modes to the files in the package - you need +rx for directories and +r for files.
Another option is that this path is not searched by default, and you need to add it to PYTHONPATH for the users.

How do I keep shell or IDLE shell from opening when running wxPython [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 8 years ago.
Improve this question
I have tried using pythonw and this only works if I drop and drag the file onto it. I remember reading somewhere there is a way to keep this from happening in the code but I can't find it. Thanks in advance.
To run it with pythonw.exe just give your file a .pyw extension.

use quickly to make a config folder in home [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I need to make a ~/folder/configFile to use with my aplication. when the deb package is created by "quickly" should create this folder with this file. Someone can teach me to do it?
By the way, can also tell me where should I put my axillary files ".py" in the project folders (like classes and stuff)?
See homepath in the docs. You can put your axillary files in the same folder as your application's or in a subdirectory and make them part of packages.

Categories

Resources