I can't activate my virtual environment in pycharm [closed] - python

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

Related

How do i run a pipenv python script using pm2?

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 hours ago.
Improve this question
I have been trying to run it but kept failing the normal run command is
pipenv run python ./src/main.py
how do i make it work with pm2? pm2 was working fine with nodejs

How do I install Python properly? [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 4 days ago.
Improve this question
i was getting the python not found error, so i went ahead and uninstalled everything and reinstalled python. i am no longer getting the same error, but this instead. please help.
was trying to set up python on my new computer but got the python not found error. after that, i tried editing the path in system variables, still had the same issue and then i deleted everything and reinstalled it, but unfortunately this is the result.

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

How can I work on a django project in my external harddrive [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 an external drive from my old PC and I would like to continue working on some projects there, I have set up python but on my VSCode I keep getting "workspace contains pipfile but pipenv was not found". What's the solution to this?
You should first install pipenv to your machine eg:
pip install pipenv
Create a virtual env in the folder you'll be working in. Install Django together with other dependencies you'll be using. Wallah you're ready to start working.

Set environment variables in FLASK [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
The environment variables are cleared when you exit the terminal and it is required that we need to set them again when we launch the terminal.
In vs code using bash in Ubuntu, if that is the case, look for setting the env variables in the .bash_profile so that it remembers the variables even after the terminal program is closed.
I suggest you use .env file in order to handle environment configuration in Flask.
It's a file that stores all the necessary environment data and should be changed between development, production, etc.
There is an excellent tutorial about flask by Miguel Grinberg, the part about the environment is
here.

Categories

Resources