Skip to content

Instantly share code, notes, and snippets.

View mikepsn's full-sized avatar

MP mikepsn

View GitHub Profile
@mikepsn
mikepsn / python_packaging.md
Last active March 5, 2020 03:36
Setting up Python environments with anaconda

Python Packaging with Anaconda

  • Assume Anaconda 3 is installed under Windows 10 with Python 3.7.0.
  • Tensorflow doesn't work with Python 3.7, so we will need to install a new Python 3.6 environment.
  • Secondly, we will install a new 3.7 test environment to test the local pip install of a local python package.

Conda Environment Basics

In the Anaconda Prompt to get a list of environments:

conda info --envs

"""
MIT License
Copyright (c) 2017 Cyrille Rossant
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is