Skip to content

Magenaut

  • Home
  • Topics
    • Notes
    • Tutorial
    • Bug fixing
    • Extension
    • Server
  • Q&A
  • Privacy Policy
  • About

virtualenv

Using Python 3 in virtualenv

August 19, 2022 by Magenaut

Using virtualenv, I run my projects with the default version of Python (2.7). On one project, I need to use Python 3.4.

Categories Python, Q&A Tags python, python-3.x, virtualenv Leave a comment

How to install psycopg2 with “pip” on Python?

August 19, 2022 by Magenaut

I’m using virtualenv and I need to install “psycopg2”.

Categories Python, Q&A Tags pip, psycopg2, python, virtualenv Leave a comment

“Cannot open include file: ‘config-win.h’: No such file or directory” while installing mysql-python

August 19, 2022 by Magenaut

I’m trying to install mysql-python in a virtualenv using pip on windows. At first, I was getting the same error reported here, but the answer there worked for me too. Now I’m getting this following error:

Categories Python, Q&A Tags mysql-python, pip, python, virtualenv, windows Leave a comment

How to run Spyder in virtual environment?

August 19, 2022 by Magenaut

I have been using Spyder installed with with Anaconda distribution which uses Python 2.7 as default. Currently I need to set up a development virtual environment with Python 3.4.

Categories Python, Q&A Tags anaconda, python, python-3.x, spyder, virtualenv Leave a comment

Can I install Python windows packages into virtualenvs?

August 19, 2022 by Magenaut

Virtualenv is great: it lets me keep a number of distinct Python installations so that different projects’ dependencies aren’t all thrown together into a common pile.

Categories Python, Q&A Tags python, virtualenv, windows Leave a comment

How do I activate a virtualenv inside PyCharm’s terminal?

August 19, 2022 by Magenaut

I’ve set up PyCharm, created my virtualenv (either through the virtual env command, or directly in PyCharm) and activated that environment as my Interpreter. Everything is working just fine.

Categories Python, Q&A Tags django, pycharm, python, shell, virtualenv Leave a comment

Renaming a virtualenv folder without breaking it

August 18, 2022 by Magenaut

I’ve created folder and initialized a virtualenv instance in it.

Categories Python, Q&A Tags pip, python, ubuntu, virtualenv Leave a comment

Is it possible to install another version of Python to Virtualenv?

August 18, 2022 by Magenaut

I have a shared account in a web-hosting that has Python 2.4 installed, but my code is not compatible with 2.4. Is it possible to install Python 2.6 directly to Virtualenv?

Categories Python, Q&A Tags python, virtualenv Leave a comment

pip installing in global site-packages instead of virtualenv

August 18, 2022 by Magenaut

Using pip3 to install a package in a virtualenv causes the package to be installed in the global site-packages folder instead of the one in the virtualenv folder. Here’s how I set up Python3 and virtualenv on OS X Mavericks (10.9.1):

Categories Python, Q&A Tags macos, pip, python, virtualenv Leave a comment

How can I set up a virtual environment for Python in Visual Studio Code?

August 18, 2022 by Magenaut

In my project folder I created a venv folder:

Categories Python, Q&A Tags python, virtualenv, visual-studio-code Leave a comment
Older posts
Newer posts
← Previous Page1 Page2 Page3 … Page6 Next →
  1. michealSmith07 on Is there a way to dynamically refresh the less command?August 21, 2022

    That is a very nice post. I like this post.

  2. anonymous on Fix libwacom9 dependency issue when upgrade DebianJune 27, 2022

    saved my day!! Thanks for the help…

  3. sreedhar on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    Thanks its working

  4. saintnick on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    remove libwacom2 worked for me as well

  5. ranafoul on Fix libwacom9 dependency issue when upgrade DebianApril 22, 2022

    apt remove libwacom2 helped on kali 2022.01. gr8

.net ajax asp.net asp.net-core asp.net-mvc asp.net-mvc-3 asp.net-mvc-4 asp.net-web-api bash c# command-line css custom-post-types custom-taxonomy dataframe dictionary django entity-framework functions gridview html iis javascript jquery json linux list matplotlib numpy pandas php plugin-development plugins posts python python-2.7 python-3.x security shell shell-script sql string vb.net webforms wp-query

© 2026 Magenaut • Built with GeneratePress