[Fixed]-Copy a django project in another PC (postgreSQL)

1👍

Python 3.5 is not currently supported by the python Postgres driver psycopg2:

The current psycopg2 implementation supports:

  • Python 2 versions from 2.5 to 2.7
  • Python 3 versions from 3.1 to 3.4
  • PostgreSQL versions from 7.4 to 9.4

An easy workaround is to create a Python 3.4 virtual environment and run your project there.

0👍

I think Python 3.5 require MS Visual C++ 2015 (look here) so I installed it. I’m not sure that is a good thing because it installed something like 17 (!) more MS .NET Framework 16 (!) MS SQL Server, 4 or 5 more MS Visual C++, Ms web deploy, and 2-3 other things in my Control Panel => Programs and Feature. It’s about 2GB of stuff and it took more than 2 hours to install/download all… It is normal?

Then I noticed that in my requirements.txt there was psycopg2==2.6.1 while psycopg2 2.6.2 (the actual version) supports python 3.5 and postgreSQL 9.5 so I upgrade that instead to downgrade the others…

It works, but maybe can I uninstall MS visual 2015?

👤fabio

Leave a comment