Quexington / chialisp_dev_utility

A utility to standarsize the workflow of those attempting to build smart contracts on the Chia blockchain
Apache License 2.0
17 stars 3 forks source link

Installation instructions do not work #3

Closed ghost closed 3 years ago

ghost commented 3 years ago

Following installation instructions in README.md, I have no .\venv\Scripts\activate

Quexington commented 3 years ago

Alright, I tested this on Windows, I was hoping it was just the same, but maybe not. What platform are you on, maybe I can find out where the activate is.

ghost commented 3 years ago

Where should that venv directory come from? After a fresh clone there is only the content of your repository and there is no venv. Is there a step missing in the instructions? Create venv? I'm running Ubuntu 20.04 LTS.

Quexington commented 3 years ago

Oof, that's embarassing. You do need to create then venv. It should be fixed now https://github.com/Quexington/chialisp_dev_utility/commit/2b01bf515177a1e34051c2829b6604c820a209f1. Test it out, let me know if it works.

ghost commented 3 years ago

Thanks! Now I get:

Command 'py' not found, but can be installed with:

sudo apt install pythonpy

Ubuntu 20.04 LTS.

It works when I use the preinstalled python (3.8.5 fyi)

git clone https://github.com/Quexington/chialisp_dev_utility.git
cd chialisp_dev_utility
python3 -m venv venv
source ./venv/bin/activate
pip install -e .
Quexington commented 3 years ago

Okay, it's py on Windows, so I'll update the install instructions to include both. It should be fixed now.