Skip to content Skip to sidebar Skip to footer

Virtualenv In Different Operating Systems

I'm currently working on a school project in data analytics. We use OS X, Ubuntu and Windows, so we would like to know how to use the same code in all platforms. We created an virt

Solution 1:

You haven't really given much information here. But it sounds like you are including your virtualenv and its installed libraries in the code you share between systems. You shouldn't do that.

Only share the project code; each user should install their own copies of the dependencies directly. You should include a requirements.txt in the project which lists all these, and each developer can run pip install -r requirements.txt inside their own virtualenv.

Post a Comment for "Virtualenv In Different Operating Systems"