Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 13 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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`:
Expand Down