From e697076c843451ab7312b5d16bc5cc57b3683b58 Mon Sep 17 00:00:00 2001 From: Julien Delplanque Date: Tue, 19 Mar 2019 21:12:25 +0100 Subject: [PATCH] Added a trick that helped me to get my installation working. --- README.md | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index dc697a0..d9ba521 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ To install Python3.6 follow the instructions on the Python webpage https://www.p To install Pipenv just use the following Pip instruction `pip install pipenv`, though depending on your python installation you may need to call it with `sudo`. If the command `pip` is not found, use `pip3` instead. To verify if you have pipenv just run in a terminal `pipenv --version`, it should print something like `pipenv, version 2018.11.26`. We strongly suggest you to upgrade your pipenv version if it is older that 2018.11.26, because it has important bugfixes and performance improvements. To upgrade it just run `sudo pip install pipenv --upgrade`. -# Instalation +# Installation To install PythonBridge on Pharo just run the following script in a Pharo Playground: ```Smalltalk @@ -26,6 +26,18 @@ The second part of the script is responsible of creating a pipenv environment fo Depending on the internet connection, the script could take a couple of minutes to run. +## Troubleshooting + +### Pipenv command is not found +It might occurs because Pharo can not find you `pipenv` binary. +To solve this problem, it is possible to set manually pipenv path. +Just run `which pipenv` in a terminal and copy the output of this command. +Paste the previously copied of the command in the string of the script below: + +``` +PBPipenvPyStrategy pipEnvPath: '/PATH/TO/PIPENV/BINARY' +``` + # Simple test Evaluating the following code in a playground should return `3`: