How to rectify ' volare: command not found'?
b
How to rectify ' volare: command not found'?
m
See https://pypi.org/project/volare/ for installation instructions.
b
I have tried the installtion. Still the error persists.
m
Did
volare
install correctly? Does
which volare
show where
volare
was installed?
b
I have tried the command python3 -m pip install -- upgrade --no-cache-dir volare. But it turns out that when I type volare on the terminal, it shows no command found.
'which volare' doesn't give any result
Any help?
m
Can you post the screen output of
python3 -m pip install --upgrade --no-cache-dir volare
(no space before
upgrade
)?
b
Thanks. It's installed. 'which volare' gives the path where it is installed.
๐Ÿ‘ 1
s
@Binoy B / @Mitch Bailey Could I ask how was this resolved ie. how to install volare in the right path ? I've installed it as shown below and also updated the paths but can't get a result from which volare?
m
try
locate volare | grep bin/volare
to find the installation directory.
s
Thanks, That gives an error but I think volare is installed in the python site packages as shown in the second image.
m
How about
~/.local/bin/volare
? If itโ€™s there, you want to add
~/.local/bin
to your
PATH
.
๐Ÿ‘ 1
s
Thanks, Yes it is located in that dir. I've now added it to my PATH. Still
which volare
doesn't return anything.
b
Trying to reinstall volare using same command but adding sudo might solve.
๐Ÿ‘ 1
s
Thanks for the information. I have now managed to install volare. Following on , related to volare directory, I am seeing another error while making the setup.
FileNotFoundError: [Errno 2] No such file or directory: '/home/sud_ana/Git_cloned_local_mul32/user_proj_mul32/dependencies/pdks/volare/sky130'
The volare requirement is satisfied but still can't make a volare directory in the PDK. Am I 1. missing some steps in terms of setting up the PDK directory or 2. any pre-requisite prior to make or 3. do I need to manually populate the volare directory ? The relevant error section is attached, could you please advise ?
@Mitch Bailey could you kindly advise how to address ^^ issue ? I can't change the permissions in pdks and error seems to be stemming from the absence of the volare directory in the dependency.
m
A couple things that you may have already figured out. 1. You need to add the directory where volare is located to your PATH, not the actual file.
$HOME/.local/bin
not
$HOME/.local/bin/volare
2. Using
sudo
to install volare sets up your pdk with root ownership, so naturally you canโ€™t change permissions. I suggest
sudo rm -rf ~/Git_cloned_local_mul32/user_proj_mul32/dependencies/pdks
(you may have to remove the
dependencies
directory also. Get rid of anything with root ownership in
user_proj_mul32
) 3. Without using sudo, verify that you can execute volare, and reinstall your pdk.
s
Thanks, yes it is resolved now.
๐Ÿ‘ 1
109 Views