#Algorand setup issue
1 messages Β· Page 1 of 1 (latest)
Hey @orchid heath !
Good to see algokit doctor run successfully. In the second picture when you algokit project run build your smart contract you encounter "no module named dotenv" to install that module use this command: pip install python-dotenv
Learn more about the above here:
https://pypi.org/project/python-dotenv/
Edit: Ive took a closer look at the picture and notice you have installed it. The issue might stem from how the .env file is being used or how the code is structured. If you'd like, share the smart contract code and any relevant .env configurations - it'll make it easier to pinpoint the problem! π
Hey, make sure the terminal is in the SUBPROJECT directory and not on the ROOT directory. In your case it would be one of the folders in the projects folder.
Also, once you are in the correct folder I'd do an algokit project bootstrap all for good measure.
The Algokit project bootstrap is not running perfectly; I am facing an issue with Poetry installation
I am facing this issue.@urban horizon @thorn summit
π€ can you give us the versions of python, etc. you are using? algokit doctor might help you there
@brittle trail@urban horizon @thorn summit
Hey @orchid heath I recommend reinstalling Python. Download the latest version and make sure to check the box that says 'Add Python to PATH' during installation. This should resolve the problem! π
If you're comfortable with system settings, you can manually add Python 3 to your PATH. But let me know what you prefer and if your on mac, windows or linux π
@thorn summit Hello Sara, there is no issue with Python 3; the issue is with Algokit. The algokit init command is not running properly.
It says your project is initialized!
Go to your folders in vscode and open the 'blockchain' directory then enter the workspace. Your project should be there. Then when your in your workspace and blockchain directory try to run: algokit project bootstrap all
Then try to build your algokit generated template smart contract with algokit project run build. Lets get to this point π
I just did an algokit init there, on the left hand side you can see the 'HelloWorld' project has been initilised, then you go to the workspace file and enter it.
After that run algokit project bootstrap all and then algokit project run build π
I recommend you check out this video about using LORA with your algokit project:
https://youtu.be/66quHZqcnJw?si=_T_xDMmwdV7mbXOE
it makes the developer journey more friendly especially with a good UI like LORA @orchid heath , let me know how you get on!
Lets just get the Hello World generated smart contract to work first π«‘ πͺ
@orchid heath any updates friend?
sorry about the lack of response, the issue has resolved but the smart contract couldn't be run because of the internet issue we are facing currently due to the political situation in the country. will keep you updated as soon as the internet is back on properly
Ah okay!! Really sorry to hear this - please never hesitate to raise a ticket in #1271207863766880317 or if you need to reach out to me on TG / LinkedIn π stay in contact! π
Thank you, Sara, for your help. My Algokit project successfully ran the build command.@thorn summit
Gave +1 Rep to @thorn summit (current: #9 - 11)
Algorand setup issue