nobeam / latticejson

A JSON based lattice file format
https://nobeam.github.io/latticejson
GNU General Public License v3.0
12 stars 2 forks source link

cli shows wrong version number #34

Closed PaulGoslawski closed 4 years ago

PaulGoslawski commented 4 years ago
$latticejson --version
latticejson, version 0.0.2

isntalled 0.0.4

felix-andreas commented 4 years ago

This happens because you forget the -U when installing.

pip install -Ue .

Pip seems to cache some meta data like the version number if you use -e option without the -U option. Therefore it shows the old version number even though the newer version is installed.

The cache can be deleted by removing theLatticeJSON.egg-info directory.

For the same reason you got the error message in your terminal!